mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-07 02:34:16 +03:00
Added inverse tamper script
This commit is contained in:
parent
163a5f374a
commit
b9f3ec192b
21
tamper/inverse.py
Normal file
21
tamper/inverse.py
Normal 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
|
Loading…
Reference in New Issue
Block a user