☼
⌃
☰

Arjun

Table of Contents

HTTP parameter discovery tool. Finds hidden GET and POST parameters for a given endpoint using a large built-in wordlist and change-detection heuristics. Useful when an endpoint behaves differently based on undocumented parameters — common surface for mass assignment, SSRF, IDOR, and debug functionality.

Related: ffuf Burp Suite Web Application Testing Methodology API Testing Methodology Mass Assignment

Installation

SHELL
pipx install arjun
# or
pip install arjun --break-system-packages

Core Flags

Flag Description
-u Target URL
-m HTTP method: GET, POST, JSON, XML (default: GET)
-w Custom wordlist
-o Output file
-oJ Output as JSON
-oB Export results to Burp Suite
-d Delay between requests (seconds)
-t Threads (default: 5)
-c Chunks — number of params tested per request (default: 500)
--passive Passive mode — extract params from JS/external sources only
--stable Reduce request rate for unstable targets
--headers Add custom headers
--include Include params in every request (e.g. auth token)

Common Workflows

Basic GET parameter discovery

SHELL
arjun -u https://target.com/search

POST form parameter discovery

SHELL
arjun -u https://target.com/login -m POST

JSON API parameter discovery

SHELL
arjun -u https://target.com/api/user -m JSON

With authentication header

SHELL
arjun -u https://target.com/api/profile \
  -m JSON \
  --headers "Authorization: Bearer $TOKEN"

Include required parameters in every request

SHELL
# If the endpoint requires id= to respond meaningfully
arjun -u https://target.com/api/user \
  --include "id=1"

Passive extraction from JavaScript

SHELL
# Extract parameter names from JS source — no active requests to the endpoint
arjun -u https://target.com/app.js --passive

Import targets from file

SHELL
# One URL per line
arjun -i urls.txt -m GET -oJ results.json

Rate-limited target

SHELL
arjun -u https://target.com/api/search -d 1 --stable -t 2

Export to Burp Suite for manual follow-up

SHELL
arjun -u https://target.com/api/user -m JSON -oB
# Opens a Burp listener — import results from Burp Proxy → Import

What to Do With Discovered Parameters

Once Arjun identifies a parameter that changes the response:

TEXT
1. Test for Mass Assignment:
   — Add discovered parameter to a POST/PUT request body
   — Try: role=admin, isAdmin=true, privilege=1
   See: Mass Assignment note

2. Test for SSRF:
   — If parameter looks like it fetches a resource (url=, path=, src=)
   — Inject: url=http://169.254.169.254/latest/meta-data/

3. Test for IDOR:
   — If parameter is an ID (user_id=, id=, account=)
   — Change to another user's ID and check response

4. Test for debug/internal parameters:
   — Common names: debug=true, test=1, admin=1, verbose=true
   — Unexpected functionality or info disclosure may appear

Tips

  • Run Arjun before manually testing an endpoint — undocumented parameters are a frequent source of high-impact findings
  • JSON mode is often more productive against API endpoints than GET — many APIs only accept POST with JSON bodies
  • The --passive flag is a quick first check — extracts parameter names from JS source without sending any requests to the API endpoint itself
  • If the endpoint returns different status codes or response sizes for different inputs, Arjun will flag those parameters — a size difference is the main detection signal
  • Combine with ffuf for value fuzzing: Arjun finds the parameter name, ffuf fuzzes the values