mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
Minor update
This commit is contained in:
parent
e808496ed3
commit
99565f2cb3
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user