Service Hijacking Scenario using Krknctl
krknctl run service-hijacking (optional: --<parameter>:<value> )
Can also set any global variable listed here
Scenario specific parameters:
Parameter | Description | Type | Default |
---|---|---|---|
The absolute path of the scenario file compiled following the documentation | file_base64 |
A sample scenario file can be found here, you’ll need to customize it based on your wanted response codes for API calls
Note
Note that the -w0 option in the command substitutionSCENARIO_BASE64="$(base64 -w0 <scenario_file>)"
is mandatory in order to remove line breaks from the base64 command outputTo see all available scenario options
krknctl run service-hijacking --help