mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
slight improvement of live test engine and added misc test cases to xml
This commit is contained in:
parent
3061eec7d8
commit
357da43cea
2 changed files with 73 additions and 11 deletions
|
|
@ -191,6 +191,7 @@ def initCase(switches=None):
|
|||
|
||||
logger.debug("using output directory '%s' for this test case" % paths.SQLMAP_OUTPUT_PATH)
|
||||
|
||||
LOGGER_HANDLER.stream = sys.stdout = StringIO.StringIO()
|
||||
cmdLineOptions = cmdLineParser()
|
||||
cmdLineOptions.liveTest = cmdLineOptions.smokeTest = False
|
||||
|
||||
|
|
@ -209,11 +210,11 @@ def runCase(switches=None, parse=None):
|
|||
|
||||
initCase(switches)
|
||||
|
||||
LOGGER_HANDLER.stream = sys.stdout = StringIO.StringIO()
|
||||
retVal = True
|
||||
exception = None
|
||||
result = False
|
||||
console = ""
|
||||
LOGGER_HANDLER.stream = sys.stdout = StringIO.StringIO()
|
||||
|
||||
try:
|
||||
result = start()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue