mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Cosmetics
This commit is contained in:
parent
e27afef6be
commit
c3b54cc222
|
@ -82,7 +82,7 @@ from lib.core.settings import DUMP_DEL_MARKER
|
||||||
from lib.core.settings import DUMP_TAB_MARKER
|
from lib.core.settings import DUMP_TAB_MARKER
|
||||||
from lib.core.settings import DUMP_START_MARKER
|
from lib.core.settings import DUMP_START_MARKER
|
||||||
from lib.core.settings import DUMP_STOP_MARKER
|
from lib.core.settings import DUMP_STOP_MARKER
|
||||||
from lib.core.settings import LIST_EMAIL
|
from lib.core.settings import ML
|
||||||
from lib.core.settings import MIN_TIME_RESPONSES
|
from lib.core.settings import MIN_TIME_RESPONSES
|
||||||
from lib.core.settings import PAYLOAD_DELIMITER
|
from lib.core.settings import PAYLOAD_DELIMITER
|
||||||
from lib.core.settings import REFLECTED_NON_ALPHA_NUM_REGEX
|
from lib.core.settings import REFLECTED_NON_ALPHA_NUM_REGEX
|
||||||
|
@ -2334,7 +2334,7 @@ def unhandledExceptionMessage():
|
||||||
errMsg = "unhandled exception in %s, retry your " % VERSION_STRING
|
errMsg = "unhandled exception in %s, retry your " % VERSION_STRING
|
||||||
errMsg += "run with the latest development version from the Subversion "
|
errMsg += "run with the latest development version from the Subversion "
|
||||||
errMsg += "repository. If the exception persists, please send by e-mail "
|
errMsg += "repository. If the exception persists, please send by e-mail "
|
||||||
errMsg += "to %s the following text " % LIST_EMAIL
|
errMsg += "to %s the following text " % ML
|
||||||
errMsg += "and any information required to reproduce the bug. The "
|
errMsg += "and any information required to reproduce the bug. The "
|
||||||
errMsg += "developers will try to reproduce the bug, fix it accordingly "
|
errMsg += "developers will try to reproduce the bug, fix it accordingly "
|
||||||
errMsg += "and get back to you.\n"
|
errMsg += "and get back to you.\n"
|
||||||
|
|
|
@ -104,7 +104,7 @@ optDict = {
|
||||||
"firstChar": "integer",
|
"firstChar": "integer",
|
||||||
"lastChar": "integer",
|
"lastChar": "integer",
|
||||||
"query": "string",
|
"query": "string",
|
||||||
"sqlShell": "boolean",
|
"sqlShell": "boolean"
|
||||||
},
|
},
|
||||||
|
|
||||||
"Brute": {
|
"Brute": {
|
||||||
|
|
|
@ -22,7 +22,7 @@ REVISION = getRevisionNumber()
|
||||||
VERSION_STRING = "sqlmap/%s" % VERSION
|
VERSION_STRING = "sqlmap/%s" % VERSION
|
||||||
DESCRIPTION = "automatic SQL injection and database takeover tool"
|
DESCRIPTION = "automatic SQL injection and database takeover tool"
|
||||||
SITE = "http://sqlmap.sourceforge.net"
|
SITE = "http://sqlmap.sourceforge.net"
|
||||||
LIST_EMAIL = "sqlmap-users@lists.sourceforge.net"
|
ML = "sqlmap-users@lists.sourceforge.net"
|
||||||
|
|
||||||
# minimum distance of ratio from kb.matchRatio to result in True
|
# minimum distance of ratio from kb.matchRatio to result in True
|
||||||
DIFF_TOLERANCE = 0.05
|
DIFF_TOLERANCE = 0.05
|
||||||
|
|
|
@ -24,7 +24,7 @@ from lib.core.common import sanitizeAsciiString
|
||||||
from lib.core.data import conf
|
from lib.core.data import conf
|
||||||
from lib.core.data import kb
|
from lib.core.data import kb
|
||||||
from lib.core.data import logger
|
from lib.core.data import logger
|
||||||
from lib.core.settings import LIST_EMAIL
|
from lib.core.settings import ML
|
||||||
from lib.core.settings import META_CHARSET_REGEX
|
from lib.core.settings import META_CHARSET_REGEX
|
||||||
from lib.core.settings import DEFAULT_PAGE_ENCODING
|
from lib.core.settings import DEFAULT_PAGE_ENCODING
|
||||||
from lib.core.settings import UNICODE_ENCODING
|
from lib.core.settings import UNICODE_ENCODING
|
||||||
|
@ -122,7 +122,7 @@ def checkCharEncoding(encoding):
|
||||||
codecs.lookup(encoding)
|
codecs.lookup(encoding)
|
||||||
except LookupError:
|
except LookupError:
|
||||||
warnMsg = "unknown charset '%s'. " % encoding
|
warnMsg = "unknown charset '%s'. " % encoding
|
||||||
warnMsg += "Please report by e-mail to %s." % LIST_EMAIL
|
warnMsg += "Please report by e-mail to %s." % ML
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
encoding = UNICODE_ENCODING
|
encoding = UNICODE_ENCODING
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ from lib.core.settings import DUMMY_USER_PREFIX
|
||||||
from lib.core.settings import GENERAL_IP_ADDRESS_REGEX
|
from lib.core.settings import GENERAL_IP_ADDRESS_REGEX
|
||||||
from lib.core.settings import HASH_MOD_ITEM_DISPLAY
|
from lib.core.settings import HASH_MOD_ITEM_DISPLAY
|
||||||
from lib.core.settings import IS_WIN
|
from lib.core.settings import IS_WIN
|
||||||
from lib.core.settings import LIST_EMAIL
|
from lib.core.settings import ML
|
||||||
from lib.core.settings import UNICODE_ENCODING
|
from lib.core.settings import UNICODE_ENCODING
|
||||||
|
|
||||||
def mysql_passwd(password, uppercase=True):
|
def mysql_passwd(password, uppercase=True):
|
||||||
|
@ -439,7 +439,7 @@ def dictionaryAttack(attack_dict):
|
||||||
|
|
||||||
except:
|
except:
|
||||||
warnMsg = "there was a problem while hashing entry: %s. " % repr(word)
|
warnMsg = "there was a problem while hashing entry: %s. " % repr(word)
|
||||||
warnMsg += "Please report by e-mail to %s." % LIST_EMAIL
|
warnMsg += "Please report by e-mail to %s." % ML
|
||||||
logger.critical(warnMsg)
|
logger.critical(warnMsg)
|
||||||
|
|
||||||
clearConsoleLine()
|
clearConsoleLine()
|
||||||
|
@ -492,14 +492,14 @@ def dictionaryAttack(attack_dict):
|
||||||
|
|
||||||
except:
|
except:
|
||||||
warnMsg = "there was a problem while hashing entry: %s. " % repr(word)
|
warnMsg = "there was a problem while hashing entry: %s. " % repr(word)
|
||||||
warnMsg += "Please report by e-mail to %s." % LIST_EMAIL
|
warnMsg += "Please report by e-mail to %s." % ML
|
||||||
logger.critical(warnMsg)
|
logger.critical(warnMsg)
|
||||||
|
|
||||||
clearConsoleLine()
|
clearConsoleLine()
|
||||||
|
|
||||||
if len(hash_regexes) == 0:
|
if len(hash_regexes) == 0:
|
||||||
warnMsg = "unknown hash Format. "
|
warnMsg = "unknown hash Format. "
|
||||||
warnMsg += "Please report by e-mail to %s." % LIST_EMAIL
|
warnMsg += "Please report by e-mail to %s." % ML
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
if len(results) == 0:
|
if len(results) == 0:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user