mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Minor beauty patch
This commit is contained in:
parent
0d1ea50785
commit
d9bf33ea1d
|
@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME
|
||||||
from lib.core.enums import OS
|
from lib.core.enums import OS
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.1.11.2"
|
VERSION = "1.1.11.3"
|
||||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||||
|
|
|
@ -64,14 +64,14 @@ def crawl(target):
|
||||||
if current:
|
if current:
|
||||||
content = Request.getPage(url=current, crawling=True, raise404=False)[0]
|
content = Request.getPage(url=current, crawling=True, raise404=False)[0]
|
||||||
except SqlmapConnectionException, ex:
|
except SqlmapConnectionException, ex:
|
||||||
errMsg = "connection exception detected (%s). skipping " % getSafeExString(ex)
|
errMsg = "connection exception detected ('%s'). skipping " % getSafeExString(ex)
|
||||||
errMsg += "URL '%s'" % current
|
errMsg += "URL '%s'" % current
|
||||||
logger.critical(errMsg)
|
logger.critical(errMsg)
|
||||||
except SqlmapSyntaxException:
|
except SqlmapSyntaxException:
|
||||||
errMsg = "invalid URL detected. skipping '%s'" % current
|
errMsg = "invalid URL detected. skipping '%s'" % current
|
||||||
logger.critical(errMsg)
|
logger.critical(errMsg)
|
||||||
except httplib.InvalidURL, ex:
|
except httplib.InvalidURL, ex:
|
||||||
errMsg = "invalid URL detected (%s). skipping " % getSafeExString(ex)
|
errMsg = "invalid URL detected ('%s'). skipping " % getSafeExString(ex)
|
||||||
errMsg += "URL '%s'" % current
|
errMsg += "URL '%s'" % current
|
||||||
logger.critical(errMsg)
|
logger.critical(errMsg)
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ ec6a778b0e74749b916caead78ba88b7 lib/core/option.py
|
||||||
760d9df2a27ded29109b390ab202e72d lib/core/replication.py
|
760d9df2a27ded29109b390ab202e72d lib/core/replication.py
|
||||||
a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py
|
a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py
|
||||||
02d4762140a72fd44668d3dab5eabda9 lib/core/session.py
|
02d4762140a72fd44668d3dab5eabda9 lib/core/session.py
|
||||||
d5835ec26ff3cde1f1bafedc593dbde6 lib/core/settings.py
|
8891f0465540e47f2f56adfa5f516e17 lib/core/settings.py
|
||||||
35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py
|
35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py
|
||||||
a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py
|
a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py
|
||||||
7c9f2af3c0a8dd89223cfe07b0a0b826 lib/core/target.py
|
7c9f2af3c0a8dd89223cfe07b0a0b826 lib/core/target.py
|
||||||
|
@ -100,7 +100,7 @@ fcc3a6ac3b5f7aad86686e5f9adc7a43 lib/techniques/union/test.py
|
||||||
505682f95cb23573dd60bf6d0063a632 lib/techniques/union/use.py
|
505682f95cb23573dd60bf6d0063a632 lib/techniques/union/use.py
|
||||||
452cb280aa51a4ddf38d94534a6e8d5f lib/utils/api.py
|
452cb280aa51a4ddf38d94534a6e8d5f lib/utils/api.py
|
||||||
d9d62fa5d7367e7fb23180240c8d03f4 lib/utils/brute.py
|
d9d62fa5d7367e7fb23180240c8d03f4 lib/utils/brute.py
|
||||||
95e4eab120640fd9330d569a29a25be4 lib/utils/crawler.py
|
7e0078da1dff59530d64f9b1e2f68607 lib/utils/crawler.py
|
||||||
a2d2087353fb64a8441c3247ae0ad719 lib/utils/deps.py
|
a2d2087353fb64a8441c3247ae0ad719 lib/utils/deps.py
|
||||||
b806de9710a02436e576ac9065816021 lib/utils/getch.py
|
b806de9710a02436e576ac9065816021 lib/utils/getch.py
|
||||||
fe3a38f820ae05a95f92ab53e22b46d0 lib/utils/har.py
|
fe3a38f820ae05a95f92ab53e22b46d0 lib/utils/har.py
|
||||||
|
|
Loading…
Reference in New Issue
Block a user