
यह टूल उन छिपे हुए पैरामीटरों की पहचान करने में मदद करता है जो संभावित रूप से कमजोर हो सकते हैं या दिलचस्प कार्यक्षमता प्रकट कर सकते हैं जो अन्य परीक्षकों द्वारा छूट सकती है। इसकी उच्च सटीकता पृष्ठों की लाइन-दर-लाइन तुलना, प्रतिक्रिया कोड की तुलना और रिफ्लेक्शन के माध्यम से प्राप्त की जाती है।
दस्तावेज़ीकरण जो हर सुविधा की व्याख्या करता है, https://sh1yo.art/x8docs/ पर उपलब्ध है। दस्तावेज़ीकरण का स्रोत /docs.md पर स्थित है।
x8 -u "https://example.com/" -w <wordlist>
डिफ़ॉल्ट पैरामीटर के साथ:
x8 -u "https://example.com/?something=1" -w <wordlist>
/?something=1 बराबर है /?something=1&%s
x8 -u "https://example.com/" -X POST -w <wordlist>
या कस्टम बॉडी के साथ:
x8 -u "https://example.com/" -X POST -b '{"x":{%s}}' -w <wordlist>
%s को विभिन्न पैरामीटरों से बदल दिया जाएगा जैसे {"x":{"a":"b3a1a", "b":"ce03a", ...}}
x8 -u "https://example.com/" "https://4rt.one/" -W0
x8 -u "https://example.com/" --param-template "user[%k]=%v" -w <wordlist>
अब हर अनुरोध ऐसा दिखेगा /?user[a]=hg2s4&user[b]=a34fa&...
कभी-कभी पैरामीटर को एन्कोड किया जाना चाहिए। यह भी संभव है:
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.com
x8 -u "https://example.com" --headers -w <wordlist>
आप एकल हेडर को भी लक्षित कर सकते हैं:
x8 -u "https://example.com" --headers -H "Cookie: %s" -w <wordlist>
आप इस टूल की जाँच कर सकते हैं और इसकी तुलना निम्नलिखित URL पर अन्य उपकरणों से कर सकते हैं:
https://4rt.one/level1 (GET)
https://4rt.one/level3 (GET)
USAGE:
x8 [FLAGS] [OPTIONS]
FLAGS:
--append Append to the output file instead of overwriting it.
-B Equal to -x http://localhost:8080
--check-binary Check the body of responses with binary content types
--disable-additional-checks Private
--disable-colors
--disable-custom-parameters Do not automatically check parameters like admin=true
--disable-progress-bar
--disable-trustdns Can solve some dns related problems
--encode Encodes query or body before making a request, i.e & -> %26, = -> %3D
List of chars to encode: ", `, , <, >, &, #, ;, /, =, %
-L, --follow-redirects Follow redirections
--force Force searching for parameters on pages > 25MB. Remove an error in case there's 1
worker with --one-worker-per-host option.
-h, --help Prints help information
--headers Switch to header discovery mode.
NOTE Content-Length and Host headers are automatically removed from the list
--invert By default, parameters are sent within the body only in case PUT or POST methods
are used.
It's possible to overwrite this behavior by specifying the option
--mimic-browser Add default headers that browsers usually set.
--one-worker-per-host Multiple urls with the same host will be checked one after another,
while urls with different hosts - are in parallel.
Doesn't increase the number of workers
--reflected-only Disable page comparison and search for reflected parameters only.
--remove-empty Skip writing to file outputs of url:method pairs without found parameters
--replay-once If a replay proxy is specified, send all found parameters within one request.
--strict Only report parameters that have changed the different parts of a page
--test Prints request and response
-V, --version Prints version information
--verify Verify found parameters.
OPTIONS:
-b, --body <body> Example: --body '{"x":{%s}}'
Available variables: {{random}}
-c <concurrency> The number of concurrent requests per url [default: 1]
--custom-parameters <custom-parameters>
Check these parameters with non-random values like true/false yes/no
(default is "admin bot captcha debug disable encryption env show sso test waf")
--custom-values <custom-values>
Values for custom parameters (default is "1 0 false off null true yes no")
-t, --data-type <data-type>
Available: urlencode, json
Can be detected automatically if --body is specified (default is "urlencode")
-d, --delay <Delay between requests in milliseconds> [default: 0]
-H <headers> Example: -H 'one:one' 'two:two'
--http <http> HTTP version. Supported versions: --http 1.1, --http 2
-j, --joiner <joiner>
How to join parameter templates. Example: --joiner '&'
Default: urlencoded - '&', json - ', ', header values - '; '
--learn-requests <learn-requests-count> Set the custom number of learn requests. [default: 9]
-m, --max <max>
Change the maximum number of parameters per request.
(default is <= 256 for query, 64 for headers and 512 for body)
-X, --method <methods> Multiple values are supported: -X GET POST
-o, --output <file>
-O, --output-format <output-format> standart, json, url, request [default: standart]
-P, --param-template <parameter-template>
%k - key, %v - value. Example: --param-template 'user[%k]=%v'
Default: urlencoded - <%k=%v>, json - <"%k":%v>, headers - <%k=%v>
-p, --port <port> Port to use with request file
--progress-bar-len <progress-bar-len> [default: 26]
--proto <proto> Protocol to use with request file (default is "https")
-x, --proxy <proxy>
--recursion-depth <recursion-depth>
Check the same list of parameters with the found parameters until there are no new parameters to be found.
Conflicts with --verify for now.
--replay-proxy <replay-proxy>
Request target with every found parameter via the replay proxy at the end.
-r, --request <request> The file with the raw http request
--save-responses <save-responses>
Save request and response to a directory when a parameter is found
--split-by <split-by>
Split the request into lines by the provided sequence. By default splits by \r, \n and \r\n
--timeout <timeout> HTTP request timeout in seconds. [default: 15]
-u, --url <url>
You can add a custom injection point with %s.
Multiple urls and filenames are supported:
-u filename.txt
-u https://url1 http://url2
-v, --verbose <verbose> Verbose level 0/1/2 [default: 1]
-w, --wordlist <wordlist>
The file with parameters (leave empty to read from stdin) [default: ]
-W, --workers <workers>
The number of concurrent url checks.
Use -W0 to run everything in parallel [default: 1]
पैरामीटर:
हेडर:
BurpSuite एकीकरण send to एक्सटेंशन के माध्यम से किया जाता है।
एंट्री को एक नाम दें और कमांड में निम्नलिखित पंक्ति डालें:
/path/to/x8 --progress-bar-len 20 -c 3 -r %R -w /path/to/wordlist --proto %T --port %P
आप अपने अक्सर उपयोग किए जाने वाले तर्क भी जोड़ सकते हैं जैसे --output-format,--replay-proxy, --recursion-depth, ..
नोट यदि प्रोग्रेस बार ठीक से काम नहीं करता है तो --progress-bar-len का मान कम करने का प्रयास करें।
Run in background से Run in terminal पर स्विच करें।

यदि आपको टर्मिनल में फ़ॉन्ट रेंडरिंग में समस्या आती है, तो आप Send to Miscellaneous Options में xterm विकल्पों को समायोजित कर सकते हैं। बस मौजूदा सामग्री को xterm -rv -fa 'Monospace' -fs 10 -hold -e %C से बदलें, या xterm को अपने पसंदीदा टर्मिनल एमुलेटर से बदलें।
अब आप प्रॉक्सी/रिपीटर टैब पर जा सकते हैं और अनुरोध को टूल पर भेज सकते हैं:

अगले डायलॉग में, आप कमांड को संशोधित कर सकते हैं और इसे एक नई टर्मिनल विंडो में निष्पादित कर सकते हैं।

कमांड निष्पादित करने के बाद, एक नई टर्मिनल विंडो दिखाई देगी, जिसमें चल रहा टूल प्रदर्शित होगा।

नोट: v4.0.0 से शुरू करके, cargo install के माध्यम से स्थापित करने पर main के बजाय crate शाखा का उपयोग किया जाता है। इस शाखा में मूल reqwest लाइब्रेरी शामिल है जो HTTP सामान्यीकरण करती है और अमान्य अनुरोध भेजने से रोकती है। यदि आप इन सीमाओं के बिना संशोधित reqwest संस्करण का उपयोग करना चाहते हैं, तो मैं Releases पेज के माध्यम से स्थापित करने या स्रोतों को बनाने की सलाह देता हूँ।
Docker
git clone https://github.com/Sh1Yo/x8
cd x8
docker build -t x8 .
Linux
# pacman -Sy x8
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
# if it says that /usr/local/bin doesn't exists you can try
# sudo cp ./target/release/x8 /usr/bin
cargo install x8
Mac
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 x8
Windows