Last active
July 16, 2023 14:57
Star
You must be signed in to star a gist
Python - SQLMAP - Tamper Script for Custom Caesar Cypher
This file contains 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 python | |
from lib.core.data import kb | |
from lib.core.enums import PRIORITY | |
import string | |
__priority__ = PRIORITY.NORMAL | |
def dependencies(): | |
pass | |
def tamper(payload, **kwargs): | |
orig = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" | |
srvr = "QqnPvka03wMU6ZybjmK4BRSEWdVishgClpI1AouFNOJ9zrtL2Yef7Tc8GxDHX5" | |
return payload.translate(string.maketrans(orig,srvr)) |
It is possible to modify URLs on the fly to accomplish just about anything if you write your own Python tamper script. I have never looked at Laravel but when I googled it I see it does support some encryption. If parts of the url were encrypted that would mean your tamper script would also have to have the keys.
Thanks for you reply but i don't have any knowledge in programing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, is there a way to bypass Laravel php protection using SQLMAP? which --tamper can bypass the Laravel Protection