Add files via upload
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -25,7 +25,7 @@ powershell.exe -ExecutionPolicy Bypass -Command ^
|
||||
$cert = New-SelfSignedCertificate -DnsName PYAS -CertStoreLocation cert:\LocalMachine\My -Type CodeSigning -NotAfter $endDate; ^
|
||||
$pwd = ConvertTo-SecureString -String 'PYAS' -Force -AsPlainText; ^
|
||||
Export-PfxCertificate -Cert $cert -FilePath '%script_dir%\PYAS.pfx' -Password $pwd;"
|
||||
start "" "%script_dir%\signtool.exe" sign /f "%script_dir%\PYAS.pfx" /p PYAS "%script_dir%\PYAS_Driver.sys"
|
||||
"%script_dir%\signtool.exe" sign /f "%script_dir%\PYAS.pfx" /p PYAS "%script_dir%\PYAS_Driver.sys"
|
||||
sc create PYAS_Driver type= kernel start= demand binPath= "%script_dir%\PYAS_Driver.sys"
|
||||
shutdown -r -t 0
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@ if '%errorlevel%' NEQ '0' (goto UACPrompt) else (goto gotAdmin)
|
||||
|
||||
sc stop PYAS_Driver
|
||||
sc delete PYAS_Driver
|
||||
bcdedit -debug off
|
||||
bcdedit /set testsigning off
|
||||
bcdedit -debug off
|
||||
shutdown -r -t 0
|
||||
|
||||
endlocal
|
||||
Reference in new issue
Block a user