From 6e2f4aa07f57f16fe4507116d7baa3bd631bdd30 Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Sun, 3 Mar 2019 16:22:30 +0530 Subject: [PATCH] Added info about --include option --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e1313aa..1380c2e 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ ### Features - Multi-threading -- 3 modes of detection +- 4 modes of detection - A typical scan takes 30 seconds - Regex powered heuristic scanning - Huge list of 25,980 parameter names @@ -50,6 +50,17 @@ You can delay the request by using the `-d` option as follows: `python3 arjun.py -u https://api.example.com/endpoint --get -d 2` +#### Including presistent data +Let's say you have an API key that you need to send with every request, to tell Arjun to do that you can use the `--include` option as follows: + +`python3 arjun.py -u https://api.example.com/endpoint --get --include 'api_key=xxxxx` + +OR + +`python3 arjun.py -u https://api.example.com/endpoint --get --include '{"api_key":"xxxxx"}` + +To include multiple parameters, use `&` to seperate them or pass them as a valid json object. + #### Adding HTTP Headers Using the `--headers` switch will open an interactive prompt where you can paste your headers. Press `Ctrl + S` to save and `Ctrl + X` to procced.