diff --git a/tamper/inverse.py b/tamper/inverse.py new file mode 100644 index 000000000..86cf0987d --- /dev/null +++ b/tamper/inverse.py @@ -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 \ No newline at end of file