โโโโโโโ โโโโโโ โโโโโโโโโโโโโโ โโโ โโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโ
โโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโ โโโ โโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโ
[ Advanced Subdomain Intelligence Tool ]
[ by Pr0fessor_Snape ] v1.0.0
[ Takeover | WAF | ZoneXfer | CORS | Tech | Screenshots ]
Basilic is a powerful, all-in-one subdomain intelligence and reconnaissance framework built from scratch in Python. It goes far beyond simple subdomain enumeration โ it actively fingerprints technologies, detects WAFs, checks for CORS misconfigurations, tests for subdomain takeover vulnerabilities, attempts DNS zone transfers, and even captures screenshots of live hosts.
Built for penetration testers, bug bounty hunters, and cybersecurity researchers.
โ ๏ธ Legal Disclaimer: Use Basilic only on domains you own or have explicit written permission to test. Unauthorized scanning is illegal. The author takes no responsibility for misuse.
| Module | Description |
|---|---|
| ๐ CT Log Enumeration | Queries crt.sh Certificate Transparency logs for passive subdomain discovery |
| ๐ฃ Brute Force Enumeration | DNS brute force using built-in wordlist or custom wordlist |
| ๐ DNS Zone Transfer (AXFR) | Tests all nameservers for zone transfer misconfiguration โ critical finding |
| Checks 35+ services (GitHub Pages, Heroku, AWS S3, Azure, Shopify, etc.) | |
| ๐ก๏ธ WAF / CDN Detection | Identifies Cloudflare, Akamai, Fastly, Sucuri, Imperva, F5, ModSecurity & more |
| ๐ CORS Misconfiguration Check | Detects wildcard origins, origin reflection, null origin with exploit guidance |
| ๐ฌ Technology Fingerprinting | Detects 25+ technologies: WordPress, Laravel, Django, React, Angular, Next.js & more |
| ๐ธ Screenshot Capture | Headless Chromium screenshots of live hosts (falls back to HTML save) |
| ๐ HTTP Status Checking | Live/dead detection, status codes, page title extraction |
| ๐ Port Scanning | Common port scan on discovered IPs |
| ๐ง IP Intelligence | ASN, ISP, country, region via ip-api.com |
| ๐ Report Export | JSON, CSV, and beautiful HTML report with all findings |
# Clone the repository
git clone https://github.com/Pr0fessorSnApe/Basilic.git
cd Basilic
# Install dependencies
pip install -r requirements.txtrequests
dnspython
colorama
urllib3
python basilic.py -d example.compython basilic.py -d example.com --ports --screenshotspython basilic.py -d example.com -w /usr/share/wordlists/subdomains.txtpython basilic.py -d example.com -t 100 -o results/python basilic.py -d example.com --no-http| Argument | Description | Default |
|---|---|---|
-d, --domain |
Target domain (required) | โ |
-w, --wordlist |
Custom wordlist file path | Built-in list |
-t, --threads |
Number of threads | 50 |
-o, --output |
Output directory name | Auto-generated |
--ports |
Enable port scanning on discovered IPs | Disabled |
--screenshots |
Capture screenshots of live hosts | Disabled |
--no-http |
Skip HTTP status checking | Disabled |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Target: example.com
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
[*] Threads : 50
[*] Port scan : Yes
[*] Screenshots : Yes
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
DNS Zone Transfer (AXFR)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
[*] Found 2 nameserver(s): ns1.example.com, ns2.example.com
[+] ns1.example.com โ AXFR refused (secure)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Certificate Transparency Logs
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
[+] Found 14 subdomains from CT logs
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Brute Force Enumeration
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
[CT] api.example.com 93.184.216.34
[BF] admin.example.com 93.184.216.34
[BF] dev.example.com 93.184.216.34
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
WAF / CDN Detection
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
[+] api.example.com ๐ก Cloudflare
[+] admin.example.com ๐ก AWS WAF / CloudFront
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Technology Fingerprinting
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
[+] admin.example.com โ WordPress, jQuery, Google Analytics
[+] api.example.com โ Laravel, Nginx
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
CORS Misconfiguration Check
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
[VULN] dev.example.com โ [HIGH] Origin Reflection
Origin 'https://evil.com' reflected. Credentials: true
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Subdomain Takeover Detection
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
[VULN] old.example.com โ TAKEOVER POSSIBLE
CNAME โ example.github.io
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
FINAL SUMMARY
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
[+] Subdomains found : 17
[+] Live hosts : 12
[VULN] Takeover risks : 1
[!] CORS issues : 1
After a scan, Basilic creates an output directory containing:
basilic_example.com_20240101/
โโโ basilic_results.json # Full JSON data
โโโ basilic_results.csv # Spreadsheet-friendly CSV
โโโ basilic_results.html # Beautiful HTML report
โโโ screenshots/ # Screenshots of live hosts
โโโ api_example_com.png
โโโ admin_example_com.png
basilic.py
โโโ DNS Records Enumeration
โโโ Zone Transfer (AXFR) Testing
โโโ Certificate Transparency (crt.sh)
โโโ Brute Force DNS Enumeration
โโโ HTTP Status Checking
โโโ Port Scanning
โโโ IP / ASN Intelligence
โโโ WAF / CDN Detection โ 10 WAF signatures
โโโ Technology Fingerprinting โ 25+ tech signatures
โโโ CORS Misconfiguration Check โ 3 attack vectors
โโโ Subdomain Takeover Detection โ 35+ service fingerprints
โโโ Screenshot Capture
โโโ Report Generator (JSON / CSV / HTML)
- Wayback Machine URL harvesting
- Shodan API integration
- SSL/TLS misconfiguration checks
- Email security checks (SPF, DMARC, DKIM)
- Subdomain permutation engine
- Interactive HTML dashboard
- Slack/Discord notification support
This project is licensed under the MIT License โ see the LICENSE file for details.
Pr0fessor_Snape Cybersecurity Researcher & Student
"Know your target before your target knows you."
If you found Basilic useful, give it a star โญ on GitHub โ it means a lot!
Made with ๐ฆ and pure Python by Pr0fessor_Snape