mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Adapted and merged in patch to support XML output (-x switch) - still in beta.
Minor bug fixes and adjustments.
This commit is contained in:
parent
a138dbe5f6
commit
06af405efd
14 changed files with 964 additions and 86 deletions
|
|
@ -26,7 +26,6 @@ from lib.core.common import readInput
|
|||
from lib.core.data import conf
|
||||
from lib.core.data import kb
|
||||
from lib.core.data import logger
|
||||
from lib.core.dump import dumper
|
||||
from lib.core.exception import sqlmapUnsupportedFeatureException
|
||||
from lib.core.shell import autoCompletion
|
||||
from lib.takeover.udf import UDF
|
||||
|
|
@ -90,7 +89,7 @@ class Abstraction(Web, UDF, xp_cmdshell):
|
|||
output = self.evalCmd(cmd)
|
||||
|
||||
if output:
|
||||
dumper.string("command standard output", output)
|
||||
conf.dumper.string("command standard output", output)
|
||||
else:
|
||||
print "No output"
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ from lib.core.data import conf
|
|||
from lib.core.data import kb
|
||||
from lib.core.data import logger
|
||||
from lib.core.data import queries
|
||||
from lib.core.dump import dumper
|
||||
from lib.core.exception import sqlmapFilePathException
|
||||
from lib.core.exception import sqlmapMissingMandatoryOptionException
|
||||
from lib.core.exception import sqlmapUnsupportedFeatureException
|
||||
|
|
@ -370,7 +369,7 @@ class UDF:
|
|||
output = self.udfEvalCmd(cmd, udfName=udfToCall)
|
||||
|
||||
if output:
|
||||
dumper.string("return value", output)
|
||||
conf.dumper.string("return value", output)
|
||||
else:
|
||||
print "No return value"
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue