Skip to content

Instantly share code, notes, and snippets.

@shollingsworth
Created February 10, 2022 01:54
Show Gist options
  • Save shollingsworth/c10ea3157fd30b5e4d75c1f2cd739649 to your computer and use it in GitHub Desktop.
Save shollingsworth/c10ea3157fd30b5e4d75c1f2cd739649 to your computer and use it in GitHub Desktop.
sqlmap tamper script template
#!/usr/bin/env python3
"""
Copyright (c) 2006-2021 sqlmap developers (http://sqlmap.org/)
See the file 'LICENSE' for copying permission
"""
# import os
# import re
# from lib.core.convert import encodeBase64
from lib.core.enums import PRIORITY
__priority__ = PRIORITY.LOW
def dependencies():
pass
def tamper(payload, **_):
return "".join([hex(ord(i)).replace("0x", r"\u00") for i in payload])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment