Minor update

This commit is contained in:
Miroslav Stampar 2019-11-20 17:28:25 +01:00
parent e808496ed3
commit 99565f2cb3
3 changed files with 9 additions and 5 deletions

View File

@ -86,8 +86,13 @@ def runGui(parser):
tk.Label(frame).grid(column=0, row=0, sticky=tk.W) tk.Label(frame).grid(column=0, row=0, sticky=tk.W)
row = 1 row = 1
if group.get_description():
tk.Label(frame, text="%s:" % group.get_description()).grid(column=0, row=1, columnspan=3, sticky=tk.W)
tk.Label(frame).grid(column=0, row=2, sticky=tk.W)
row += 2
for option in group.option_list: for option in group.option_list:
tk.Label(frame, text=parser.formatter._format_option_strings(option)).grid(column=0, row=row, sticky=tk.W) tk.Label(frame, text="%s " % parser.formatter._format_option_strings(option)).grid(column=0, row=row, sticky=tk.W)
if option.type == "string": if option.type == "string":
widget = tk.Entry(frame) widget = tk.Entry(frame)
@ -107,8 +112,7 @@ def runGui(parser):
if hasattr(widget, "insert"): if hasattr(widget, "insert"):
widget.insert(0, default) widget.insert(0, default)
tk.Label(frame, text=" ").grid(column=3, row=row, sticky=tk.W) tk.Label(frame, text=" %s" % option.help).grid(column=2, row=row, sticky=tk.W)
tk.Label(frame, text=option.help).grid(column=4, row=row, sticky=tk.W)
row += 1 row += 1

View File

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

View File

@ -411,7 +411,7 @@ def cmdLineParser(argv=None):
help="Perform an extensive DBMS version fingerprint") help="Perform an extensive DBMS version fingerprint")
# Enumeration options # Enumeration options
enumeration = parser.add_argument_group("Enumeration", "These options can be used to enumerate the back-end database management system information, structure and data contained in the tables. Moreover you can run your own SQL statements") enumeration = parser.add_argument_group("Enumeration", "These options can be used to enumerate the back-end database management system information, structure and data contained in the tables")
enumeration.add_argument("-a", "--all", dest="getAll", action="store_true", enumeration.add_argument("-a", "--all", dest="getAll", action="store_true",
help="Retrieve everything") help="Retrieve everything")