mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-27 00:20:07 +03:00
Add new tamper script
This commit is contained in:
parent
194c911433
commit
bdc1069bc3
17
tamper/charurlencode.py
Normal file
17
tamper/charurlencode.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from urllib.parse import quote
|
||||
from lib.core.enums import PRIORITY
|
||||
__priority__ = PRIORITY.NORMAL
|
||||
|
||||
def dependencies():
|
||||
pass
|
||||
|
||||
def tamper(payload, **kwargs):
|
||||
"""
|
||||
Standard url encoder using quote
|
||||
>>> tamper('select user from users;--+')
|
||||
'select%20user%20from%20users%3B--%2B'
|
||||
"""
|
||||
|
||||
return quote(payload)
|
Loading…
Reference in New Issue
Block a user