Added inverse tamper script

This commit is contained in:
Heisenberg 2024-05-04 11:28:26 -04:00
parent 163a5f374a
commit b9f3ec192b

21
tamper/inverse.py Normal file
View File

@ -0,0 +1,21 @@
#!/usr/bin/env python
"""
Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/)
See the file 'LICENSE' for copying permission
"""
import re
def tamper(payload,**kwargs):
"""
Reverses the payload
>>> tamper("SELECT * FROM users;")
;sresu MORF * TCELES
"""
retVal = payload
if payload:
return payload[::-1]
return retVal