diff --git a/docs/TODO b/docs/TODO index 2392a86..6980bf6 100644 --- a/docs/TODO +++ b/docs/TODO @@ -17,7 +17,6 @@ ===> 1.3.2 [x] decrease default hosts threads num - [x] revert fd shit ===> 1.3.1 diff --git a/sshprank.py b/sshprank.py index 17a0f30..2ced49e 100755 --- a/sshprank.py +++ b/sshprank.py @@ -485,6 +485,7 @@ def run_threads(host, ports, val='single'): pf = open(opts['passlist'], 'r', encoding='latin-1') for p in pf: exe.submit(crack_login, host, port, u.rstrip(), p.rstrip()) + pf.close() if 'userlist' in opts and 'passlist' not in opts: for u in uf: