Skip to content

Instantly share code, notes, and snippets.

View tsumarios's full-sized avatar
💭
Technology trust is a good thing, but control is a better one.

Mario Raciti tsumarios

💭
Technology trust is a good thing, but control is a better one.
View GitHub Profile
@tsumarios
tsumarios / passwordBruteforceSSH.py
Created February 12, 2019 15:40
SSH Password Dictionary Attack
#!/usr/bin/env python
from pexpect import pxssh
import optparse
import time
from threading import *
maxConnections = 5
connection_lock = BoundedSemaphore(value=maxConnections)
Found = False
PasswordFound = ''
Fails = 0