-
Notifications
You must be signed in to change notification settings - Fork 17
Custom Keyer Using Custom Functions
To allow for pentesters and red teamers to be efficient, I added a way to support custom keyer functions without the need to extend or contribute to the project. I have tried to make it easy to add permanent keyer functions and extend this toolkit, but if you just want to quickly add a custom keyer function you're at the right page.
For each supported language a custom
and custom_chain
function exists. You can add these just as you would add any other keyer function and they both accept 1 input, a function name. You then add to your keydata
the expected value to be used from that keyer function. Then generate your keyed payload, and an empty function will be in the payload, you'll just need to add the relevant code within there and return either a string (combo) or []string (chain).