Minor bug fix

This commit is contained in:
Miroslav Stampar 2020-01-09 13:19:54 +01:00
parent eb3a3b4825
commit 14005f476d
2 changed files with 6 additions and 2 deletions

View File

@ -29,6 +29,7 @@ from lib.core.settings import VERSION_STRING
from lib.core.settings import WIKI_PAGE
from thirdparty.six.moves import queue as _queue
alive = None
line = ""
process = None
queue = None
@ -186,7 +187,7 @@ def runGui(parser):
center(top)
while alive:
while True:
line = ""
try:
# line = queue.get_nowait()
@ -196,6 +197,9 @@ def runGui(parser):
text.see(_tkinter.END)
text.update_idletasks()
if not alive:
break
menubar = _tkinter.Menu(window)
filemenu = _tkinter.Menu(menubar, tearoff=0)

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.4.1.20"
VERSION = "1.4.1.21"
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)