From 557ed7d665e6701eea347edff22bc9381e0d6b94 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 31 Mar 2011 14:39:01 +0000 Subject: [PATCH] minor fix for a invalid charset reported by Kirill --- lib/request/basic.py | 2 +- lib/techniques/brute/use.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/request/basic.py b/lib/request/basic.py index 2eac181c5..b66baa584 100644 --- a/lib/request/basic.py +++ b/lib/request/basic.py @@ -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: diff --git a/lib/techniques/brute/use.py b/lib/techniques/brute/use.py index be16524d9..63f0527b8 100644 --- a/lib/techniques/brute/use.py +++ b/lib/techniques/brute/use.py @@ -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)