The preprocessing script is used to modify the request data before it is sent to the target application. This can be useful for encoding parameters, adding headers, or other request modifications.
--preprocess=preprocess.py Use given script(s) for preprocessing (request)**Example preprocess.py**:
#!/usr/bin/env python
def preprocess(req):
print("Preprocess")
print(req)Source: SQL Injection/SQLmap.md in PayloadsAllTheThings. From PayloadsAllTheThings by Swissky and contributors. MIT License, Copyright (c) 2019 Swissky.