File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7171from lib .core .exception import sqlmapUnsupportedDBMSException
7272from lib .core .exception import sqlmapUserQuitException
7373from lib .core .optiondict import optDict
74+ from lib .core .settings import CODECS_LIST_PAGE
7475from lib .core .settings import DEFAULT_PAGE_ENCODING
7576from lib .core .settings import IS_WIN
7677from lib .core .settings import PLATFORM
@@ -1641,7 +1642,7 @@ def __basicOptionValidation():
16411642 codecs .lookup (conf .charset )
16421643 except LookupError :
16431644 errMsg = "unknown charset '%s'. please visit page " % conf .charset
1644- errMsg += "'http://docs.python.org/library/codecs.html#standard-encodings ' "
1645+ errMsg += "'%s ' " % CODECS_LIST_PAGE
16451646 errMsg += "to get the full list of supported charsets"
16461647 raise sqlmapSyntaxException , errMsg
16471648
Original file line number Diff line number Diff line change 330330
331331# Strftime format for results file used in multiple target mode
332332RESULTS_FILE_FORMAT = 'results-%I%M%p_%m%d%Y.csv'
333+
334+ # Official web page with the list of Python supported codecs
335+ CODECS_LIST_PAGE = 'http://docs.python.org/library/codecs.html#standard-encodings'
You can’t perform that action at this time.
0 commit comments