Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab08273

Browse files
committed
Fixes #2501
1 parent fbb845a commit ab08273

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.1.4.47"
22+
VERSION = "1.1.4.48"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/utils/crawler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from lib.core.common import openFile
2121
from lib.core.common import readInput
2222
from lib.core.common import safeCSValue
23+
from lib.core.common import urldecode
2324
from lib.core.data import conf
2425
from lib.core.data import kb
2526
from lib.core.data import logger
@@ -187,7 +188,7 @@ def crawlThread():
187188
logger.warn(warnMsg)
188189
else:
189190
for url in threadData.shared.value:
190-
kb.targets.add((url, None, None, None, None))
191+
kb.targets.add((urldecode(url, kb.pageEncoding), None, None, None, None))
191192

192193
storeResultsToFile(kb.targets)
193194

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ebb778c2d26eba8b34d7d8658e4105a6 lib/core/optiondict.py
4646
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4848
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49-
bd71147e4717967efce365ea9399a978 lib/core/settings.py
49+
6701fe0edb634ee4b66e065dbf026d95 lib/core/settings.py
5050
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5151
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252
155e2d3fda87b2e3ffa4f7a770513946 lib/core/target.py
@@ -100,7 +100,7 @@ d3da4c7ceaf57c4687a052d58722f6bb lib/techniques/dns/use.py
100100
d17ca7177a29d7d07094fc7dd747d4c5 lib/techniques/union/use.py
101101
67f0ad96ec2207d7e59c788b858afd6d lib/utils/api.py
102102
7d10ba0851da8ee9cd3c140dcd18798e lib/utils/brute.py
103-
2b6c7f906e5da25bcd8865c1f86a1dfb lib/utils/crawler.py
103+
ed70f1ca9113664043ec9e6778e48078 lib/utils/crawler.py
104104
ba12c69a90061aa14d848b8396e79191 lib/utils/deps.py
105105
3b9fd519164e0bf275d5fd361c3f11ff lib/utils/getch.py
106106
ccfdad414ce2ec0c394c3deaa39a82bf lib/utils/hashdb.py

0 commit comments

Comments
 (0)