Patching like a boss (Issue #3962)

This commit is contained in:
Miroslav Stampar 2019-10-10 16:23:26 +03:00
parent 8407344991
commit 1fa81fedf3
2 changed files with 46 additions and 43 deletions

View File

@ -76,6 +76,7 @@ def main(src, dst):
decoder = ImpactDecoder.IPDecoder()
while True:
try:
cmd = ''
# Wait for incoming replies
@ -130,6 +131,8 @@ def main(src, dst):
except socket.error as ex:
sys.stderr.write("'%s'\n" % ex)
sys.stderr.flush()
except:
break
if __name__ == '__main__':
if len(sys.argv) < 3:

View File

@ -18,7 +18,7 @@ from lib.core.enums import OS
from thirdparty.six import unichr as _unichr
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.3.10.12"
VERSION = "1.3.10.13"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)