Guest User

Untitled

a guest
Jan 24th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. for password in passwordlist:
  2. ssh = paramiko.client.SSHClient()
  3. ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  4. ssh.connect(host, port=int(float(port)), username=user, password=password)
  5. #rest of code when password is incorrect. when password is corret: break
Add Comment
Please, Sign In to add comment