mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-29 20:46:36 +00:00
refactoring
This commit is contained in:
parent
3060c369a5
commit
ddf23ba7cc
17 changed files with 87 additions and 42 deletions
|
|
@ -26,6 +26,7 @@ from lib.core.data import kb
|
|||
from lib.core.data import logger
|
||||
from lib.core.settings import META_CHARSET_REGEX
|
||||
from lib.core.settings import DEFAULT_PAGE_ENCODING
|
||||
from lib.core.settings import UNICODE_ENCODING
|
||||
from lib.parse.headers import headersParser
|
||||
from lib.parse.html import htmlParser
|
||||
|
||||
|
|
@ -113,7 +114,7 @@ def checkCharEncoding(encoding):
|
|||
warnMsg = "unknown charset '%s'. " % encoding
|
||||
warnMsg += "Please report by e-mail to sqlmap-users@lists.sourceforge.net."
|
||||
logger.warn(warnMsg)
|
||||
encoding = conf.dataEncoding
|
||||
encoding = UNICODE_ENCODING
|
||||
|
||||
return encoding
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue