Skip to content

Commit 2de3fa8

Browse files
author
mohamed larit
authored
hacking with python
1 parent 820060f commit 2de3fa8

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

ssh_crack.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,7 @@ def __init__(self):
3838
3939
4040
""")
41-
"""
42-
def connect(host, user, password):
43-
try:
44-
s = pxssh.pxssh()
45-
s.login(host, user, password)
46-
print cl.red+("\n[+] Password Found: [ {} ] ".format(password))+cl.end
47-
exit(0)
48-
except Exception:
49-
return None
50-
"""
41+
5142
def connect(host, user, password):
5243
try:
5344
s = pxssh.pxssh()

0 commit comments

Comments
 (0)