mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
re-renaming of brute force switches. this way is better.
This commit is contained in:
parent
ca06db8f28
commit
24238ccd0b
|
@ -106,13 +106,13 @@ def action():
|
||||||
if conf.getTables:
|
if conf.getTables:
|
||||||
conf.dumper.dbTables(conf.dbmsHandler.getTables())
|
conf.dumper.dbTables(conf.dbmsHandler.getTables())
|
||||||
|
|
||||||
if conf.bruteTables:
|
if conf.commonTables:
|
||||||
conf.dumper.dbTables(tableExists(paths.COMMON_TABLES))
|
conf.dumper.dbTables(tableExists(paths.COMMON_TABLES))
|
||||||
|
|
||||||
if conf.getColumns:
|
if conf.getColumns:
|
||||||
conf.dumper.dbTableColumns(conf.dbmsHandler.getColumns())
|
conf.dumper.dbTableColumns(conf.dbmsHandler.getColumns())
|
||||||
|
|
||||||
if conf.bruteColumns:
|
if conf.commonTables:
|
||||||
conf.dumper.dbTableColumns(columnExists(paths.COMMON_COLUMNS))
|
conf.dumper.dbTableColumns(columnExists(paths.COMMON_COLUMNS))
|
||||||
|
|
||||||
if conf.dumpTable:
|
if conf.dumpTable:
|
||||||
|
|
|
@ -114,8 +114,8 @@ optDict = {
|
||||||
},
|
},
|
||||||
|
|
||||||
"Brute": {
|
"Brute": {
|
||||||
"bruteTables": "boolean",
|
"commonTables": "boolean",
|
||||||
"bruteColumns": "boolean",
|
"commonColumns": "boolean",
|
||||||
},
|
},
|
||||||
|
|
||||||
"User-defined function": {
|
"User-defined function": {
|
||||||
|
|
|
@ -346,10 +346,10 @@ def cmdLineParser():
|
||||||
"options can be used to run brute force "
|
"options can be used to run brute force "
|
||||||
"checks.")
|
"checks.")
|
||||||
|
|
||||||
brute.add_option("--brute-tables", dest="bruteTables", action="store_true",
|
brute.add_option("--common-tables", dest="commonTables", action="store_true",
|
||||||
default=False, help="Check existence of common tables")
|
default=False, help="Check existence of common tables")
|
||||||
|
|
||||||
brute.add_option("--brute-columns", dest="bruteColumns", action="store_true",
|
brute.add_option("--common-columns", dest="commonColumns", action="store_true",
|
||||||
default=False, help="Check existence of common columns")
|
default=False, help="Check existence of common columns")
|
||||||
|
|
||||||
# User-defined function options
|
# User-defined function options
|
||||||
|
|
|
@ -392,11 +392,11 @@ sqlShell = False
|
||||||
|
|
||||||
# Check existence of common tables.
|
# Check existence of common tables.
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
bruteTables = False
|
commonTables = False
|
||||||
|
|
||||||
# Check existence of common columns.
|
# Check existence of common columns.
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
bruteColumns = False
|
commonColumns = False
|
||||||
|
|
||||||
|
|
||||||
# These options can be used to create custom user-defined functions.
|
# These options can be used to create custom user-defined functions.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user