Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def help():
- print("""[+] Set LHOST
- [+] Set LPORT
- [+] Options
- [+] Start""")
- while(True):
- cmd = input('SniffSploit > ')
- if 'set lhost' in cmd:
- lhost = cmd.split()[-1]
- print (" ");
- print("[+] LHOST: "+ lhost)
- print (" ")
- elif 'set lport' in cmd:
- lport = cmd.split()[-1]
- print (" ");
- print("[+] LPORT: "+ lport)
- print (" ")
- elif 'options' in cmd:
- print (" ");
- print("|-LHOST: "+ lhost);
- print("| ")
- print("|-LPORT: "+ lport)
- print (" ")
- elif 'help' in cmd:
- print (" ");
- help()
- print (" ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement