-
-
Save hxlxmj/d2a19e24da3e3d1b50258b903d158637 to your computer and use it in GitHub Desktop.
SQLMap Tamper to Convert Payloads Characters to Hex Entities
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| from lib.core.enums import PRIORITY | |
| __priority__ = PRIORITY.NORMAL | |
| def dependencies(): | |
| pass | |
| def tamper(payload, **kwargs): | |
| if payload: | |
| payload = ''.join([f'&#x{ord(char):x};' for char in payload]) | |
| return payload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment