XTRA is a powerful web scraping tool from Exploit Lab - designed for authorized security testing, reconnaissance, and data gathering operations.
-
Email Extraction - Extract email addresses from web pages
-
Phone Number Harvesting - Find phone numbers in various formats
-
Link Discovery - Extract and display URLs from web pages
-
Metadata Analysis - Extract page titles and meta information
-
Fast Scan - Extract emails, phones, links, and metadata
-
Custom Scan - Choose specific data types to extract
-
Metadata Only - Extract only page metadata
-
Organized Results - Results saved in timestamped folders
-
Summary Reports - Detailed scan reports
-
Clean Operations - Automatic cleanup of temporary files
# Clone the repository
git clone https://github.com/exploitarium/xtra.git
cd xtra
chmod +x xtra.shOne-Line Installation
curl -sL https://raw.githubusercontent.com/exploitarium/xtra/main/xtra.sh -o xtra.sh && chmod +x xtra.shTermux Installation
pkg install git curl -y
git clone https://github.com/exploitarium/xtra.git
cd xtra
chmod +x xtra.shUsage Interactive Mode (Recommended)
./xtra.shFollow the prompts to configure your scan operation.
Command Line Mode
# Fast scan with all data types
./xtra.sh -u https://example.com -f
# Custom scan (choose what to extract)
./xtra.sh -u example.com -c
# Metadata only
./xtra.sh -u example.com -m
# With custom output directory
./xtra.sh -u example.com -f -o ./resultsCommand Line Options
--url -u Target URL to scan -u https://example.com
--fast -f Fast scan (all data types) -u site.com -f
--custom -c Custom scan (choose data types) -u site.com -c
--meta -m Metadata only -m
--output -o Custom output directory -o ./results
--help -h Show help information -h
- Fast Scan (Default)
./xtra.sh -u example.com -fExtracts emails, phone numbers, links, and metadata in one operation.
- Custom Scan
./xtra.sh -u example.com -c
# Or interactive mode: choose option 2Allows you to select which data types to extract.
- Metadata Scan
./xtra.sh -u example.com -mExtracts only page metadata (title, meta tags).
📁 Output Structure
xtra_results_20250107_153045/
├── emails.txt # Extracted email addresses
├── phones.txt # Phone numbers found
├── links.txt # URLs discovered
├── metadata.txt # Page metadata
└── report.txt # Scan summary report
🛡️ Security Features Automatic Cleanup - Temporary files removed after scan
Custom User-Agent - Uses XTRA-specific agent
Error Handling - Graceful failure recovery
Session Management - Clean operation tracking
⚙️ Technical Specifications System Requirements Minimum: Linux/Unix environment with bash
Recommended: 256MB RAM, 50MB disk space
Network: Internet connectivity
Dependencies
# Core dependencies (auto-installed)
- curl # HTTP requests
- grep # Pattern matching
# Optional
- sed # Text processing
- awk # Advanced text processingPlatform Support Linux (Ubuntu, Debian, Fedora, Arch, etc.)
Termux (Android)
macOS (with bash)
WSL (Windows Subsystem for Linux)
Configuration Environment Variables
# Set custom parameters
export XTRA_USER_AGENT="CustomAgent/1.0"
export XTRA_TIMEOUT=30📊 Usage Examples Basic Scan
./xtra.sh -u https://example.com -fSave to Specific Directory
./xtra.sh -u https://target.com -f -o ./security_scanInteractive Mode
./xtra.sh
# Follow the promptsIMPORTANT DISCLAIMER
Authorized Activities:
Security testing with permission
Educational purposes
Bug bounty programs (in scope)
Legal reconnaissance
Prohibited Activities:
Unauthorized scanning
Terms of Service violations
Illegal activities
Harassment or spam
Always:
Obtain proper authorization
Respect website policies
Follow applicable laws
Use data responsibly
🐛 Troubleshooting Common Issues Missing dependencies:
# Linux
sudo apt-get install curl greppkg install curl grep
Permission errors:
chmod +x xtra.shNetwork issues:
# Test connectivity
curl -I https://google.comDebug Mode
# Run with debug output
bash -x xtra.sh -u example.com -fContributing Fork the repository
Create feature branch
Commit changes
Push and create Pull Request
XTRA v1.0 is released under the MIT License - see LICENSE file.
⭐ Support If XTRA helps your work:
⭐ Star the repository
🔄 Share with colleagues
🐛 Report issues
💡 Suggest improvements
Developed by Exploit Lab | Tremor
Security Reminder: Always use tools ethically and with proper authorization.
XTRA v1.0 | December 2025 | Exploit Lab