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

Skip to content

Commit d5fcc9d

Browse files
committed
few updates/fixes here and there
1 parent 5fc480a commit d5fcc9d

5 files changed

Lines changed: 5 additions & 4 deletions

File tree

tamper/randomcomments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
def tamper(value):
1616
"""
17-
Add random comments to value
17+
Add random comments to SQL keywords in value
1818
Example: 'INSERT' becomes 'IN/**/S/**/ERT'
1919
"""
2020

tamper/space2comment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
def tamper(value):
1111
"""
1212
Replaces ' ' with '/**/'
13-
Example: 'SELECT id FROM users' becomes 'SELECT/**/id/**/FROM users'
13+
Example: 'SELECT id FROM users' becomes 'SELECT/**/id/**/FROM/**/users'
1414
"""
1515

1616
retVal = value

tamper/space2plus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
def tamper(value):
1111
"""
12-
Replaces ' ' with '/**/'
12+
Replaces ' ' with '+'
1313
Example: 'SELECT id FROM users' becomes 'SELECT+id+FROM+users'
1414
"""
1515

tamper/urlencode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
def tamper(value):
1414
"""
1515
Replaces value with urlencode(value)
16-
Example: 'SELECT%20FIELD%20FROM%20TABLE' becomes 'SELECT%25%20FIELD%25%20FROM%25%20TABLE'
16+
Example: 'SELECT FIELD FROM TABLE' becomes 'SELECT%20FIELD%20FROM%20TABLE'
1717
"""
1818

1919
if value:

xml/queries.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@
416416
<!-- http://dev.mysql.com/doc/refman/5.0/es/maxdb-reserved-words.html -->
417417
<!-- http://maxdb.sap.com/doc/7_6/default.htm -->
418418
<!-- http://www.sapdb.org/7.4/htmhelp/35/f8823cb7e5d42be10000000a114027/content.htm -->
419+
<!-- http://www.ximido.de/research/PenTestingMaxDB.pdf -->
419420

420421
<!-- SAP MaxDB -->
421422
<dbms value="SAP MaxDB">

0 commit comments

Comments
 (0)