From 537d922285ee00a378f472a2b86ac5a29af8f08f Mon Sep 17 00:00:00 2001 From: CHA1NSK1 <96607632+Chainski@users.noreply.github.com> Date: Tue, 20 Dec 2022 21:16:50 -0500 Subject: [PATCH] Add files via upload --- ForceAdmin.bat | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ForceAdmin.bat diff --git a/ForceAdmin.bat b/ForceAdmin.bat new file mode 100644 index 0000000..c9f1c7c --- /dev/null +++ b/ForceAdmin.bat @@ -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{}}