
सबडोमेन एन्यूमरेशन और रीकॉन के लिए डोमेन नाम पर्म्यूटेशन उत्पन्न करता है, जो कस्टम वर्डलिस्ट, क्लाउड पैटर्न और सुरक्षा मूल्यांकन के लिए फास्ट मोड का समर्थन करता है।
DNSGen एक शक्तिशाली और लचीला DNS नाम पर्म्यूटेशन उपकरण है, जिसे सुरक्षा शोधकर्ताओं और पेनिट्रेशन परीक्षकों के लिए डिज़ाइन किया गया है। यह सबडोमेन खोज और सुरक्षा मूल्यांकन में सहायता के लिए बुद्धिमान डोमेन नाम भिन्नताएँ उत्पन्न करता है।

# Using pip
python -m pip install dnsgen
# Using uv (recommended for development)
git clone https://github.com/AlephNullSK/dnsgen
cd dnsgen/
python -m pip install uv
uv sync
# Basic domain permutation
dnsgen domains.txt
# With custom wordlist and output file
dnsgen -w custom_wordlist.txt -o results.txt domains.txt
# Using fast mode for quick assessment
dnsgen -f domains.txt
# Pipe with massdns for resolution
cat domains.txt | dnsgen - | massdns -r resolvers.txt -t A -o J --flush 2>/dev/null
DNSGen 2.0 कई परिष्कृत पर्म्यूटेशन तकनीकों को लागू करता है:
शब्द सम्मिलन
api.example.com → staging.api.example.comसंख्या हेरफेर
api2.example.com → api1.example.com, api3.example.comशब्द जोड़ना
api.example.com → devapi.example.com, api-dev.example.comक्लाउड प्रदाता पैटर्न
example.com → api-aws.example.com, storage-azure.example.comक्षेत्र उपसर्ग
api.example.com → us-east.api.example.comमाइक्रोसर्विस पैटर्न
example.com → auth-service.example.com, user-api.example.comआंतरिक टूलिंग
example.com → jenkins.internal.example.comपोर्ट उपसर्ग
api.example.com → 8080.api.example.comdnsgen [OPTIONS] FILENAME
Options:
-l, --wordlen INTEGER Min length of custom words (default: 6)
-w, --wordlist PATH Path to custom wordlist
-f, --fast Fast generation mode
-o, --output PATH Output file path
-v, --verbose Enable verbose logging
--help Show this message and exit
DNSGen 2.0 बेहतर संगठन के लिए टिप्पणी-युक्त वर्डलिस्ट का समर्थन करता है:
# Environment Names
dev
staging
prod
# Cloud Providers
aws
azure
gcp
# Tools and Services
jenkins
gitlab
grafana
स्वच्छ हल किए गए डोमेन प्राप्त करें:
# Generate and resolve
dnsgen hosts.txt > wordlist.txt
massdns -r resolvers.txt -o S wordlist.txt | grep -e ' A ' | \
cut -d 'A' -f 1 | rev | cut -d "." -f1 --complement | \
rev | sort | uniq > resolved_domains.txt
आपका योगदान स्वागत योग्य है! आप इस प्रकार सहायता कर सकते हैं:
git checkout -b feature/amazing-featuregit commit -m 'Add amazing feature'git push origin feature/amazing-featureअधिक विवरण के लिए CONTRIBUTING.md देखें।
यह प्रोजेक्ट MIT लाइसेंस के अंतर्गत लाइसेंस प्राप्त है - विवरण के लिए LICENSE फ़ाइल देखें।
सुरक्षा समुदाय द्वारा ❤️ के साथ निर्मित