File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .revision import getRevisionNumber
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.0.9.13 "
22+ VERSION = "1.0.9.14 "
2323REVISION = getRevisionNumber ()
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python
2+
3+ """
4+ Copyright (c) 2006-2016 sqlmap developers (http://sqlmap.org/)
5+ See the file 'doc/COPYING' for copying permission
6+ """
7+
8+ import re
9+
10+ from lib .core .enums import PRIORITY
11+
12+ __priority__ = PRIORITY .LOW
13+
14+ def dependencies ():
15+ pass
16+
17+ def tamper (payload , ** kwargs ):
18+ """
19+ HTML encode (using code points) all non-alphanumeric characters
20+
21+ >>> tamper("1' AND SLEEP(5)#")
22+ '1' AND SLEEP(5)#'
23+ """
24+
25+ return re .sub (r"[^\w]" , lambda match : "&#%d;" % ord (match .group (0 )), payload ) if payload else payload
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
45455ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
464699a2b496b9d5b546b335653ca801153f lib/core/revision.py
47477c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48- 7bf39beeda908ad06081385433db8567 lib/core/settings.py
48+ 32b9841850e40a039b5ae467197ce9e1 lib/core/settings.py
49497af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
505023657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
51510bc2fae1dec18cdd11954b22358293f2 lib/core/target.py
@@ -235,6 +235,7 @@ e2aca0ea57afc24dd154472034dc9c8c tamper/commalessmid.py
23523511bb0652668bb6624494567fd92933b3 tamper/escapequotes.py
236236731c25dd33fca28514930d4409daaaa3 tamper/greatest.py
2372371becabc90d81c70fd24b54cae03a3702 tamper/halfversionedmorekeywords.py
238+ 61add9dce3c0c9035901db87fa969c89 tamper/htmlencode.py
23823917313c5a68aa44325616e0e38869b98e tamper/ifnull2ifisnull.py
239240dd71bbc7f76ef55a2c9c16645347ead8 tamper/informationschemacomment.py
240241cc9c82cfffd8ee9b25ba3af6284f057e tamper/__init__.py
You can’t perform that action at this time.
0 commit comments