mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-25 02:55:52 +00:00
Hide switch -x (XML output format) as it is incomplete and bugged and won't make it for 0.9 stable
This commit is contained in:
parent
60605b6e7c
commit
6e8ebd35f4
4 changed files with 11 additions and 14 deletions
|
|
@ -145,9 +145,9 @@ optDict = {
|
|||
},
|
||||
|
||||
"General": {
|
||||
"xmlFile": "string",
|
||||
"sessionFile": "string",
|
||||
#"xmlFile": "string",
|
||||
"trafficFile": "string",
|
||||
"sessionFile": "string",
|
||||
"flushSession": "boolean",
|
||||
"forms": "boolean",
|
||||
"eta": "boolean",
|
||||
|
|
|
|||
|
|
@ -238,7 +238,7 @@ def __createDumpDir():
|
|||
os.makedirs(conf.dumpPath, 0755)
|
||||
|
||||
def __configureDumper():
|
||||
if conf.xmlFile:
|
||||
if hasattr(conf, 'xmlFile') and conf.xmlFile:
|
||||
conf.dumper = xmldumper
|
||||
else:
|
||||
conf.dumper = dumper
|
||||
|
|
|
|||
|
|
@ -432,17 +432,17 @@ def cmdLineParser():
|
|||
general = OptionGroup(parser, "General", "These options can be used "
|
||||
"to set some general working parameters. " )
|
||||
|
||||
general.add_option("-x", dest="xmlFile",
|
||||
help="Dump the data into an XML file")
|
||||
|
||||
general.add_option("-s", dest="sessionFile",
|
||||
help="Save and resume all data retrieved "
|
||||
"on a session file")
|
||||
#general.add_option("-x", dest="xmlFile",
|
||||
# help="Dump the data into an XML file")
|
||||
|
||||
general.add_option("-t", dest="trafficFile",
|
||||
help="Log all HTTP traffic into a "
|
||||
"textual file")
|
||||
|
||||
general.add_option("-s", dest="sessionFile",
|
||||
help="Save and resume all data retrieved "
|
||||
"on a session file")
|
||||
|
||||
general.add_option("--flush-session", dest="flushSession",
|
||||
action="store_true", default=False,
|
||||
help="Flush session file for current target")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue