Skip to content

Commit

Permalink
Update to V0.04 build 008
Browse files Browse the repository at this point in the history
Stop trying to connect with victim when victim machine returns a blocked signal
  • Loading branch information
Cleveridge committed Dec 4, 2014
1 parent 42bcc55 commit e2a3c27
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cl_ssh_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#############################################################
# #
version = "V0.04"
build = "007"
build = "008"
#############################################################

import pxssh
Expand Down Expand Up @@ -89,7 +89,13 @@ def func_scanhost(ip, logloc):
func_writelog('a', logloc, txt + '\n')
print txt
blocked = True
break
break
elif response[:17] == "End Of File (EOF)" :
txt = 'Stopped due to blocked by victim'
func_writelog('a', logloc, txt + '\n')
print txt
blocked = True
break

txt = "Tried " + str(tried) + " combinations"
func_writelog("a", logloc, txt + "\n")
Expand Down

0 comments on commit e2a3c27

Please sign in to comment.