Raider
- class Raider(name=None, flags=0, args=None)[source]
Main class used as the point of entry.
The Raider class should be used to access everything else inside Raider. For now it’s still not doing much, but for the future this is where all of the features available to the end user should be.
- config
A Config object containing all of the necessary settings.
- user
A User object containing the active user of the active project.
- functions
A Functions object containing the defined functions of the active project.
- SESSION_LOADED = 1
- __init__(name=None, flags=0, args=None)[source]
Initializes the Raider object.
Initializes the main entry point for Raider. If the name of the project is supplied, this project will be used, otherwise the last used project will be chosen.
- Parameters
name (
Optional
[str
]) – A string with the name of the project.flags (
int
) – An integer with the flags. Only SESSION_LOADED is supported now. It indicates the authentication was not performed from the start, but loaded from a previously saved session file, which means the plugins should get their value from userdata.
- fuzz(flow_name, fuzzing_point)[source]
Fuzz a function with an authenticated user.
Given a function name, a starting point for fuzzing, and a function to generate the fuzzing strings, run the attack.
- fix_function_plugins(function)[source]
Given a function name, prepare its Flow to be fuzzed.
For each plugin acting as an input for the defined function, change its flags and function so it uses the previously extracted data instead of extracting it again.
- Return type
None
- property pconfig
- property session_loaded: bool
Returns True if the SESSION_LOADED flag is set.
- Return type
bool