mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
minor fix for a invalid charset reported by Kirill
This commit is contained in:
@@ -95,7 +95,7 @@ def checkCharEncoding(encoding):
|
|||||||
return encoding
|
return encoding
|
||||||
|
|
||||||
# http://www.destructor.de/charsets/index.htm
|
# http://www.destructor.de/charsets/index.htm
|
||||||
translate = { 'windows-874': 'iso-8859-11', 'en_us': 'utf8' }
|
translate = { 'windows-874': 'iso-8859-11', 'en_us': 'utf8', 'macintosh': 'iso-8859-1' }
|
||||||
|
|
||||||
for delimiter in (';', ','):
|
for delimiter in (';', ','):
|
||||||
if delimiter in encoding:
|
if delimiter in encoding:
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ def tableExists(tableFile, regex=None):
|
|||||||
print
|
print
|
||||||
logger.debug("waiting for threads to finish")
|
logger.debug("waiting for threads to finish")
|
||||||
|
|
||||||
warnMsg = "Ctrl+C detected during common table existance check. "
|
warnMsg = "Ctrl+C detected during common table existence check. "
|
||||||
warnMsg += "sqlmap will display some tables only"
|
warnMsg += "sqlmap will display some tables only"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
@@ -245,7 +245,7 @@ def columnExists(columnFile, regex=None):
|
|||||||
print
|
print
|
||||||
logger.debug("waiting for threads to finish")
|
logger.debug("waiting for threads to finish")
|
||||||
|
|
||||||
warnMsg = "Ctrl+C detected during common column existance check. "
|
warnMsg = "Ctrl+C detected during common column existence check. "
|
||||||
warnMsg += "sqlmap will display some columns only"
|
warnMsg += "sqlmap will display some columns only"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user