
DSL का उपयोग करके तेज़ और अनुकूलन योग्य सबडोमेन वर्डलिस्ट जनरेटर
विशेषताएँ • इंस्टॉलेशन • उपयोग • AlterX चलाना • Discord से जुड़ें
DSL का उपयोग करके तेज़ और अनुकूलन योग्य सबडोमेन वर्डलिस्ट जनरेटर।

alterx इंस्टॉल करने के लिए, आपके सिस्टम पर Golang 1.26.10 इंस्टॉल होना आवश्यक है। आप Golang को यहाँ से डाउनलोड कर सकते हैं। Golang इंस्टॉल करने के बाद, आप alterx इंस्टॉल करने के लिए निम्नलिखित कमांड का उपयोग कर सकते हैं:
go install github.com/projectdiscovery/alterx/cmd/alterx@latest
# Clone the repository
git clone https://github.com/projectdiscovery/alterx.git
cd alterx
# Build using Makefile
make build
# Or build manually
go build ./cmd/alterx
उपलब्ध Makefile लक्ष्य:
make help # Show all available targets
make build # Build the binary
make test # Run tests
make test-coverage # Run tests with coverage
make lint # Run linter
make fmt # Format code
make clean # Clean build artifacts
make install # Install to $GOPATH/bin
आप उपलब्ध फ़्लैग और विकल्प देखने के लिए निम्नलिखित कमांड का उपयोग कर सकते हैं:
Fast and customizable subdomain wordlist generator using DSL.
Usage:
./alterx [flags]
Flags:
INPUT:
-l, -list string[] subdomains to use when creating permutations (stdin, comma-separated, file)
-p, -pattern string[] custom permutation patterns input to generate (comma-seperated, file)
-pp, -payload value custom payload pattern input to replace/use in key=value format (-pp 'word=words.txt')
OUTPUT:
-es, -estimate estimate permutation count without generating payloads
-o, -output string output file to write altered subdomain list
-ms, -max-size int Max export data size (kb, mb, gb, tb) (default mb)
-v, -verbose display verbose output
-silent display results only
-version display alterx version
CONFIG:
-config string alterx cli config file (default '$HOME/.config/alterx/config.yaml')
-en, -enrich enrich wordlist by extracting words from input
-ac string alterx permutation config file (default '$HOME/.config/alterx/permutation_v0.0.1.yaml')
-limit int limit the number of results to return (default 0)
UPDATE:
-up, -update update alterx to latest version
-duc, -disable-update-check disable automatic alterx update check
alterx क्यों ??alterx को goaltdns जैसे किसी भी अन्य सबडोमेन परम्यूटेशन टूल से अलग बनाने वाली चीज़ इसकी scripting सुविधा है। alterx पैटर्न को इनपुट के रूप में लेता है और उस पैटर्न के आधार पर सबडोमेन परम्यूटेशन वर्डलिस्ट उत्पन्न करता है, ठीक वैसे ही जैसे nuclei fuzzing-templates के साथ करता है।
Active Subdomain Enumeration को कठिन बनाने वाली बात है ऐसे डोमेन मिलने की संभावना जो वास्तव में मौजूद हो। यदि संभावित सबडोमेन खोजने को एक पैमाने पर दर्शाया जाए तो यह कुछ इस तरह दिखना चाहिए
Using Wordlist < generate permutations with subdomains (goaltdns) < alterx
लगभग सभी लोकप्रिय सबडोमेन परम्युटेशन टूल्स में हार्डकोडेड पैटर्न होते हैं और जब ऐसे टूल्स चलाए जाते हैं तो वे ऐसी वर्डलिस्ट बनाते हैं जिनमें लाखों में सबडोमेन होते हैं और इससे dnsx जैसे टूल्स के साथ उन्हें ब्रूटफोर्स करने की व्यवहार्यता कम हो जाती है। सबडोमेन के नामकरण का कोई वास्तविक कन्वेंशन नहीं है और यह आमतौर पर सबडोमेन रजिस्टर करने वाले व्यक्ति पर निर्भर करता है। alterx के साथ passive subdomain enumeration परिणामों के आधार पर पैटर्न बनाना संभव है जिससे सबडोमेन खोजने की संभावना और उन्हें ब्रूटफोर्स करने की व्यवहार्यता बढ़ जाती है।
alterx nuclei-templates के समान वेरिएबल-जैसी सिंटैक्स का उपयोग करता है। इन वेरिएबल्स का उपयोग करके कोई अपने स्वयं के पैटर्न लिख सकता है। जब डोमेन इनपुट के रूप में पास किए जाते हैं तो alterx इनपुट का मूल्यांकन करता है और उससे वेरिएबल्स निकालता है।
{{sub}} : subdomain prefix or left most part of a subdomain
{{suffix}} : everything except {{sub}} in subdomain name is suffix
{{tld}} : top level domain name (ex com,uk,in etc)
{{etld}} : also know as public suffix (ex co.uk , gov.in etc)
| चर | api.scanme.sh | admin.dev.scanme.sh | cloud.scanme.co.uk |
|---|---|---|---|
{{sub}} | api | admin | cloud |
{{suffix}} | scanme.sh | dev.scanme.sh | scanme.co.uk |
{{tld}} | sh | sh | uk |
{{etld}} | - | - | co.uk |
{{sld}} : second-level domain (ex for api.scanme.sh => {{sld}} is scanme)
{{root}} : also known as eTLD+1 i.e only root domain (ex for api.scanme.sh => {{root}} is scanme.sh)
{{subN}} : here N is an integer (ex {{sub1}} , {{sub2}} etc) .
// {{subN}} is advanced variable which exists depending on input
// lets say there is a multi level domain cloud.nuclei.scanme.sh
// in this case {{sub}} = cloud and {{sub1}} = nuclei`
| वेरिएबल | api.scanme.sh | admin.dev.scanme.sh | cloud.scanme.co.uk |
|---|---|---|---|
{{sld}} | scanme | scanme | scanme |
{{root}} | scanme.sh | scanme.sh | scanme.co.uk |
{{sub1}} | - | dev | - |
{{sub2}} | - | - | - |
सरल शब्दों में पैटर्न को एक template माना जा सकता है जो बताता है कि alterx को किस प्रकार के पैटर्न उत्पन्न करने चाहिए।
// Below are some of example patterns which can be used to generate permutations
// assuming api.scanme.sh was given as input and variable {{word}} was given as input with only one value prod
// alterx generates subdomains for below patterns
"{{sub}}-{{word}}.{{suffix}}" // ex: api-prod.scanme.sh
"{{word}}-{{sub}}.{{suffix}}" // ex: prod-api.scanme.sh
"{{word}}.{{sub}}.{{suffix}}" // ex: prod.api.scanme.sh
"{{sub}}.{{word}}.{{suffix}}" // ex: api.prod.scanme.sh
यहाँ एक उदाहरण पैटर्न कॉन्फ़िग फ़ाइल है - https://github.com/projectdiscovery/alterx/blob/main/permutations.yaml जिसे आवश्यकता के अनुसार आसानी से अनुकूलित किया जा सकता है।
हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।
अभी तक कोई लोकप्रियता डेटा नहीं है।