Sinisterly
SSH Brute Force script - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Python (https://sinister.ly/Forum-Python)
+--- Thread: SSH Brute Force script (/Thread-SSH-Brute-Force-script)

Pages: 1 2


RE: SSH Brute Force script - theRandy - 10-14-2013

No its not the third is, but in the book im going through the output it shows says:
[+] Password Found: password
[-] Testing: butterfly
[*] Exiting: Password Found

So it does look as if it is just not executing the two other print functions, but when i move the correct password down in the password file it still only shows 4 passwords being tested then stops.


RE: SSH Brute Force script - Slarek - 10-14-2013

I'm really not sure what is wrong with this. Are you sure that there is no weird stuff going on in the list?
I guess not since the other method worked.
Edit: Try if raising the MaxConnections would solve this problem.


RE: SSH Brute Force script - theRandy - 10-14-2013

Nop ive been through it countless times now, i've had it copied exactly from the book, which just prints that one last password and now ive got this issue of it only showing four and not finding the right password after i changed up the code a little bit to use the fileinput method you posted. No idea why it isnt working...


RE: SSH Brute Force script - Slarek - 10-14-2013

Lol, I'm running out of ideas:Grin:
I hope someone who knows Python well, will help you with this.


RE: SSH Brute Force script - theRandy - 10-14-2013

Ha, yeah same here