Fixing some tamper script bugs
Some checks are pending
/ build (macos-latest, 3.8) (push) Waiting to run
/ build (ubuntu-latest, pypy-2.7) (push) Waiting to run
/ build (windows-latest, 3.14) (push) Waiting to run

This commit is contained in:
Miroslav Štampar 2026-06-15 00:41:38 +02:00
parent 03fb84c5be
commit d42e50367e
4 changed files with 12 additions and 5 deletions

View file

@ -20,4 +20,9 @@ def tamper(payload, **kwargs):
'1\\\\" AND SLEEP(5)#'
"""
return payload.replace("'", "\\'").replace('"', '\\"')
retVal = payload
if payload:
retVal = payload.replace("'", "\\'").replace('"', '\\"')
return retVal