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

Skip to content

Commit 5ec44b8

Browse files
committed
Minor refactoring
1 parent d577c57 commit 5ec44b8

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2543,7 +2543,7 @@ def urlencode(value, safe="%&=-_", convall=False, limit=False, spaceplus=False):
25432543
# corner case when character % really needs to be
25442544
# encoded (when not representing URL encoded char)
25452545
# except in cases when tampering scripts are used
2546-
if all(map(lambda x: '%' in x, [safe, value])) and not kb.tamperFunctions:
2546+
if all('%' in _ for _ in (safe, value)) and not kb.tamperFunctions:
25472547
value = re.sub("%(?![0-9a-fA-F]{2})", "%25", value)
25482548

25492549
while True:

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.6.13"
22+
VERSION = "1.1.6.14"
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)

txt/checksum.md5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ a97df93b552ee4e4ba3692eae870de7c lib/controller/handler.py
2727
310efc965c862cfbd7b0da5150a5ad36 lib/controller/__init__.py
2828
d58e85ffeac2471ef3af729076b3b5f7 lib/core/agent.py
2929
6cc95a117fbd34ef31b9aa25520f0e31 lib/core/bigarray.py
30-
8390c2963730e65ad853f677793b8c1c lib/core/common.py
30+
20f5c7cb2e810a36e931addf8a289797 lib/core/common.py
3131
5065a4242a8cccf72f91e22e1007ae63 lib/core/convert.py
3232
a8143dab9d3a27490f7d49b6b29ea530 lib/core/data.py
3333
7936d78b1a7f1f008ff92bf2f88574ba lib/core/datatype.py
@@ -46,7 +46,7 @@ f1531be15ed98555a9010e2db3c9da75 lib/core/optiondict.py
4646
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4848
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49-
d01b255e9b1e3005ad02d9c7d4cf2fe5 lib/core/settings.py
49+
862f6871868a96595f78af4bcc3ad121 lib/core/settings.py
5050
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5151
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252
04cca8a05faef752c98d1a775d98a0e6 lib/core/target.py
@@ -264,7 +264,7 @@ b2331640743170f82be9a8c27f65b206 tamper/space2morecomment.py
264264
507a174c64345df8df003ddba93c8cd1 tamper/space2morehash.py
265265
0ce89b0d602abbd64344ab038be8acbc tamper/space2mssqlblank.py
266266
fa66af20648b5538289748abe7a08fe6 tamper/space2mssqlhash.py
267-
ca7597ba264ec731b8a73e9cad5334eb tamper/space2mysqlblank.py
267+
9dde72d94ce42bf71e3615108fe0214f tamper/space2mysqlblank.py
268268
038b8ea90f9a3a45b9bc67fcdff38511 tamper/space2mysqldash.py
269269
5665c217ef8998bfd18f9ef1d8c617bd tamper/space2plus.py
270270
a30fa43203d960c7a9d8709bf24ca401 tamper/space2randomblank.py

0 commit comments

Comments
 (0)