Add new tamper script

This commit is contained in:
LGR 2020-11-16 13:16:55 +01:00 committed by GitHub
parent 194c911433
commit bdc1069bc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
tamper/charurlencode.py Normal file
View 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)