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

Skip to content

Commit cf73d9c

Browse files
committed
minor update
1 parent 058e1ae commit cf73d9c

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

tamper/randomblanks.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import re
2+
import string
3+
4+
from lib.core.common import randomRange
5+
from lib.core.exception import sqlmapUnsupportedFeatureException
6+
7+
"""
8+
value -> value with inserted random blanks (e.g., INSERT->IN/**/S/**/ERT)
9+
"""
10+
#TODO: all
11+
#TODO: only do it for deepness = 0 regarding '"
12+
def tamper(place, value):
13+
return value

tamper/randomcase.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"""
88
value -> chars from value with random case (e.g., INSERT->InsERt)
99
"""
10+
#TODO: only do it for deepness = 0 regarding '"
1011
def tamper(place, value):
1112
retVal = value
1213
if value:

tamper/space2comment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"""
77
' ' -> /**/ (e.g., SELECT id FROM users->SELECT/**/id/**/FROM users)
88
"""
9+
#TODO: only do it for deepness = 0 regarding '"
910
def tamper(place, value):
1011
if value:
1112
if place != "URI":

0 commit comments

Comments
 (0)