mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor bug fixes, code refactoring and enhanced --tamper functionality
This commit is contained in:
parent
5c3d21065a
commit
2dae934a2b
9 changed files with 68 additions and 62 deletions
|
|
@ -8,17 +8,18 @@ See the file 'doc/COPYING' for copying permission
|
|||
"""
|
||||
|
||||
import re
|
||||
import string
|
||||
|
||||
from lib.core.common import randomRange
|
||||
from lib.core.convert import urldecode
|
||||
from lib.core.convert import urlencode
|
||||
from lib.core.data import kb
|
||||
|
||||
"""
|
||||
value -> chars from value with random case (e.g., INSERT->InsERt)
|
||||
"""
|
||||
def tamper(place, value):
|
||||
"""
|
||||
Replaces each character with random case value
|
||||
Example: 'INSERT' might become 'InsERt'
|
||||
"""
|
||||
|
||||
retVal = value
|
||||
|
||||
if value:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue