diff --git a/Driver/Install_Driver.bat b/Driver/Install_Driver.bat deleted file mode 100644 index 7613830..0000000 --- a/Driver/Install_Driver.bat +++ /dev/null @@ -1,34 +0,0 @@ -@echo off -setlocal - -:: Check for permissions ->nul 2>&1 "%SYSTEMROOT%\system32\icacls.exe" "%SYSTEMROOT%\system32\config\system" - -if %errorlevel% NEQ 0 goto NoAdmin -goto gotAdmin - -:NoAdmin - echo You do not have administrator rights, please run this script as administrator. - pause - exit /B - -:gotAdmin - if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" - -set "script_dir=%~dp0" -set "script_dir=%script_dir:~0,-1%" - -bcdedit -debug on -bcdedit /set testsigning on -bcdedit /deletevalue {current} safeboot - -powershell.exe -ExecutionPolicy Bypass -Command ^ -"$endDate = (Get-Date).AddYears(100); ^ - $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;" -"%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 -endlocal \ No newline at end of file diff --git a/Driver/PYAS.pfx b/Driver/PYAS.pfx deleted file mode 100644 index e69de29..0000000 diff --git a/Driver/PYAS_Driver.sys b/Driver/PYAS_Driver.sys deleted file mode 100644 index 0241891..0000000 Binary files a/Driver/PYAS_Driver.sys and /dev/null differ diff --git a/Driver/Uninstall_Driver.bat b/Driver/Uninstall_Driver.bat deleted file mode 100644 index b8e9ffb..0000000 --- a/Driver/Uninstall_Driver.bat +++ /dev/null @@ -1,25 +0,0 @@ -@echo off -setlocal - -:: Check for permissions ->nul 2>&1 "%SYSTEMROOT%\system32\icacls.exe" "%SYSTEMROOT%\system32\config\system" - -if %errorlevel% NEQ 0 goto NoAdmin -goto gotAdmin - -:NoAdmin - echo You do not have administrator rights, please run this script as administrator. - pause - exit /B - -:gotAdmin - if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" - -sc stop PYAS_Driver -sc delete PYAS_Driver - -bcdedit /set testsigning off -bcdedit -debug off - -shutdown -r -t 0 -endlocal \ No newline at end of file diff --git a/Driver/signtool.exe b/Driver/signtool.exe deleted file mode 100644 index 1ecf3b3..0000000 Binary files a/Driver/signtool.exe and /dev/null differ