minor fix for a invalid charset reported by Kirill

This commit is contained in:
Miroslav Stampar 2011-03-31 14:39:01 +00:00
parent fed57282fc
commit 557ed7d665
2 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ def checkCharEncoding(encoding):
return encoding
# 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 (';', ','):
if delimiter in encoding:

View File

@ -129,7 +129,7 @@ def tableExists(tableFile, regex=None):
print
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"
logger.warn(warnMsg)
@ -245,7 +245,7 @@ def columnExists(columnFile, regex=None):
print
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"
logger.warn(warnMsg)