mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 19:43:48 +03:00
was wrong about this one (just now tested on a real site)
This commit is contained in:
parent
ac0b5e6dbc
commit
d225c5c9aa
|
@ -425,7 +425,7 @@ def dataToStdout(data, forceOutput=False):
|
||||||
try:
|
try:
|
||||||
sys.stdout.write(data)
|
sys.stdout.write(data)
|
||||||
except UnicodeEncodeError:
|
except UnicodeEncodeError:
|
||||||
sys.stdout.write(data.encode(conf.dataEncoding))
|
sys.stdout.write(data.encode(kb.pageEncoding or conf.dataEncoding))
|
||||||
finally:
|
finally:
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user