Arjun Tool to Identifies hidden GET and POST Parameters


Web applications use parameters (or queries) to accept user input, take the following example into consideration

  • This URL seems to load user information for a specific user id, but what if there exists a parameter named admin which when set to True makes the endpoint provide more information about the user?

  • This is what Arjun does, it finds valid HTTP parameters with a huge default dictionary of 25,980 parameter names.

  • The best part? It takes less than 30 seconds to go through this huge list while making just 50-60 requests to the target.


Lock image


Scanning a single URL

To find GET parameters, you can simply do:

python3 -u --get

Similarly, use --post for POST and --json to look for JSON parameters.

Scanning multiple URLs

A list of URLs stored in a file can be test by using the --urls option as follows

python3 --urls targets.txt --get


Arjun uses 2 threads by default but you can tune its performance according to your network connection and target allowance.

python3 -u --get -t 22

Delay between requests

You can delay the request by using the -d option as follows:

python3 -u --get -d 2

Handling rate limits

--stable switch sets the number of threads to 1 and introduces a random delay of 6 to 12 seconds between requests.

python3 -u --get --stable

Including persistent 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 -u --get --include 'api_key=xxxxx'


python3 -u --get --include '{"api_key":"xxxxx"}'

To include multiple parameters, use & to seperate them or pass them as a valid json object.

Saving output to a file

You can save the result in a JSON format by using the -o as follows:

python3 -u --get -o result.json