Advertisement
Guest User

Untitled

a guest
Dec 12th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. def help():
  2. print("""[+] Set LHOST
  3. [+] Set LPORT
  4. [+] Options
  5. [+] Start""")
  6.  
  7. while(True):
  8. cmd = input('SniffSploit > ')
  9.  
  10. if 'set lhost' in cmd:
  11. lhost = cmd.split()[-1]
  12. print (" ");
  13. print("[+] LHOST: "+ lhost)
  14. print (" ")
  15. elif 'set lport' in cmd:
  16. lport = cmd.split()[-1]
  17. print (" ");
  18. print("[+] LPORT: "+ lport)
  19. print (" ")
  20. elif 'options' in cmd:
  21. print (" ");
  22. print("|-LHOST: "+ lhost);
  23. print("| ")
  24. print("|-LPORT: "+ lport)
  25. print (" ")
  26. elif 'help' in cmd:
  27. print (" ");
  28. help()
  29. print (" ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement