mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
Minor fix when two readInput/dataToStdout are called one at a time
This commit is contained in:
parent
97c06854a4
commit
799bd51c2e
|
@ -774,6 +774,10 @@ def dataToStdout(data, forceOutput=False, bold=False, content_type=None, status=
|
|||
else:
|
||||
message = data
|
||||
|
||||
if kb.prependFlag:
|
||||
message = "\n%s" % message
|
||||
kb.prependFlag = False
|
||||
|
||||
if hasattr(conf, "api"):
|
||||
sys.stdout.write(message, status, content_type)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user