mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +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:
|
||||
sys.stdout.write(data)
|
||||
except UnicodeEncodeError:
|
||||
sys.stdout.write(data.encode(conf.dataEncoding))
|
||||
sys.stdout.write(data.encode(kb.pageEncoding or conf.dataEncoding))
|
||||
finally:
|
||||
sys.stdout.flush()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user