Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. def telnet():
  2. tclient=input("Host: ")
  3. if tclient in netstat:
  4. time.sleep(1)
  5. print ("-"*20)
  6. time.sleep(0.5)
  7. print ("Connected to "+(str(tclient)))
  8. time.sleep(0.5)
  9. print ("-"*20)
  10. usern=input("USERNAME: ")
  11. time.sleep(0.5)
  12. passw=input("PASSWORD: ")
  13. if usern and passw in account:
  14. print ("connected to "+(str(tclient)))
  15. time.sleep(0.5)
  16. print("-"*20)
  17. time.sleep(1)
  18. #enter here the text file in the pycache of the selected host
  19. else:
  20. print ("Host not in netstat, please try again")
  21. telnet()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement