mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
reverting some changes
This commit is contained in:
parent
54e0ba935a
commit
394b6bc029
|
@ -427,7 +427,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()
|
||||
|
||||
|
|
|
@ -1183,10 +1183,7 @@ def __setKnowledgeBaseAttributes(flushAll=True):
|
|||
kb.osVersion = None
|
||||
kb.osSP = None
|
||||
|
||||
# Default page encoding for HTML documents
|
||||
# Reference: http://en.wikipedia.org/wiki/ISO/IEC_8859-1
|
||||
kb.pageEncoding = 'iso-8859-1'
|
||||
|
||||
kb.pageEncoding = None
|
||||
kb.pageStable = None
|
||||
kb.partRun = None
|
||||
kb.proxyAuthHeader = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user