Hidden parameters discovery suite
The tool aids in identifying hidden parameters that could potentially be vulnerable or reveal interesting functionality that may be missed by other testers. Its high accuracy is achieved through line-by-line comparison of pages, comparison of response codes, and reflections.
The documentation that explains every feature can be accessed at https://sh1yo.art/x8docs/. The source of the documentation is located at /docs.md.
x8 -u "https://example.com/" -w <wordlist>With default parameters:
x8 -u "https://example.com/?something=1" -w <wordlist>/?something=1 equals to /?something=1&%s
x8 -u "https://example.com/" -X POST -w <wordlist>Or with a custom body:
x8 -u "https://example.com/" -X POST -b '{"x":{%s}}' -w <wordlist>%s will be replaced with different parameters like {"x":{"a":"b3a1a", "b":"ce03a", ...}}
x8 -u "https://example.com/" "https://4rt.one/" -W0x8 -u "https://example.com/" --param-template "user[%k]=%v" -w <wordlist>Now every request would look like /?user[a]=hg2s4&user[b]=a34fa&...
Sometimes parameters should be encoded. It is also possible:
x8 -u "https://example.com/?path=..%2faction.php%3f%s%23" --encode -w <wordlist>GET /?path=..%2faction.php%3fWTDa8%3Da7UOS%26rTIDA%3DexMFp...%23 HTTP/1.1
Host: example.comx8 -u "https://example.com" --headers -w <wordlist>You can also target single headers:
x8 -u "https://example.com" --headers -H "Cookie: %s" -w <wordlist>You can check the tool and compare it with other tools on the following urls:
https://4rt.one/level1 (GET)
https://4rt.one/level3 (GET)
…Parameters:
Headers:
The burpsuite integration is done via the send to extension.
Give a name to the entry and insert the following line into the command:
/path/to/x8 --progress-bar-len 20 -c 3 -r %R -w /path/to/wordlist --proto %T --port %PYou can also add your frequently used arguments like --output-format,--replay-proxy, --recursion-depth, ..
NOTE if the progress bar doesn't work properly --- try to reducing the value of --progress-bar-len.
Switch from Run in background to Run in terminal.
If you encounter issues with font rendering in the terminal, you can adjust the xterm options in Send to Miscellaneous Options. Simply replace the existing content with xterm -rv -fa 'Monospace' -fs 10 -hold -e %C, or substitute xterm with your preferred terminal emulator.
Now you can go to the proxy/repeater tab and send the request to the tool:
In the next dialog, you can modify the command and execute it in a new terminal window.
After executing the command, a new terminal window will appear, displaying the running tool.
NOTE: Starting with v4.0.0, installing via cargo install uses the crate branch instead of main. This branch includes the original reqwest library that performs HTTP normalizations and prevents sending invalid requests. If you want to use the modified reqwest version without these limitations, I recommend installing via the Releases page or building the sources.
Docker
git clone https://github.com/Sh1Yo/x8
cd x8
docker build -t x8 .Linux
# pacman -Sy x8git clone https://github.com/sh1yo/x8
cd x8
cargo build --release
# move the binary to $PATH so you can use it without specifying the full path
cp ./target/release/x8 /usr/local/bin
# if it says that /usr/local/bin doesn't exists you can try
# sudo cp ./target/release/x8 /usr/bincargo install x8Mac
git clone https://github.com/sh1yo/x8
cd x8
cargo build --release
# move the binary to $PATH so you can use it without specifying the full path
cp ./target/release/x8 /usr/local/bin cargo install x8Windows
No open issues yet, or sync has not completed.