Pythonize Intruder Payload Processor extension lets you customize the payload through Python code
Python2Intruder extension handles the base value of the selected Intruder payload, the current payload from the payload options and it returns the processed python code to the Intruder.
The use of the following variables are required:
- baseValue: The selected payload in Intruder tab
- currentPayload: The itereated payload (From Payload Options).
- retValue: The returned value to the Intruder
# Example: retValue = str(baseValue) + "test" # # Examples:
# retValue = str(baseValue) + "test" # Concatenate the string "test" to the selected paylaod value in Intruder
# retValue = str(currentPayload * 10) # Multiply 10 with every single paylaod (from the payload options)
# import random
# retValue = str(random.randint(0, 10)) # return a random number from 0 to 10
# import hashlib
# retValue = hashlib.md5(currentPayload.encode())
# retValue = str(retValue.hexdigest()) # return the md5 hash of the current payload
Use the following command to build the Jar file.
mvn clean install
- [ ] Add Presets Python Functions
Any comment, issue or pull request will be highly appreciated :)
b1twis3 - https://twitter.com/fasthm00