WebsiteTemplate/cheatsheets/sublist3r.html
2026-01-25 11:33:37 -04:00

171 lines
6.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self'; font-src 'self' data:; img-src 'self' data:; connect-src 'self'; base-uri 'self'; form-action 'self' https://defcon.social https://bsky.app;">
<meta http-equiv="X-Content-Type-Options" content="nosniff">
<link rel="stylesheet" href="../assets/css/style.css">
<link rel="icon" type="image/x-icon" href="../favicon.ico">
<script>
// Apply theme immediately to prevent flash
(function() {
const theme = localStorage.getItem('theme') ||
(window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
document.documentElement.setAttribute('data-theme', theme);
})();
</script>
<title>sublist3r Cheatsheet - Cheatsheets - Launch Pad</title>
</head>
<body>
<button class="theme-toggle" id="themeToggle" aria-label="Toggle dark mode">
<svg class="theme-icon theme-icon-moon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
<svg class="theme-icon theme-icon-sun" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="display: none;"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
</button>
<br/><br/>
<div class="name">
__ _______________________ _________._________________________
\_ _____/ \______ \ / _ \ / _____/ / _____/ | | \_ _____/
| __) | _/ / /_\ \ / \ ___ / \ ___ | | | __)_
| \ | | \ / | \ \ \_\ \ \ \_\ \ | |___ | \
\___ / |____|_ / \____|__ / \______ / \______ / |_______ \ /_______ /
\/ \/ \/ \/ \/ \/ \/
</div>
<div class="blog-page-header">
<div class="blog-header-content">
<a href="/cheatsheets" class="back-link" title="Back to Cheatsheets">
<svg xmlns="http://www.w3.org/2000/svg" width="42" height="42" viewBox="0 0 24 24" class="home-icon"><path fill="currentColor" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>
</a>
<h1 class="blog-page-title">sublist3r Cheatsheet</h1>
</div>
</div>
<div class="blog-post-container">
<div class="blog-posts-container" style="max-width: 900px; margin: 0 auto;">
<div class="blog-post">
<div class="blog-post-content">
<p><a href="index.html">← Back to cheatsheets</a></p>
<p><a href="../index.html">← Home</a></p>
<hr>
<p>Sublist3r is a Python tool designed to enumerate subdomains using search engines like Google, Yahoo, Bing, Baidu, and Ask. It also uses Netcraft, Virustotal, ThreatCrowd, DNSdumpster, and ReverseDNS.</p>
<hr>
<h2>Basic Usage</h2>
<ul>
<li>sublist3r -d &lt;domain&gt; - Basic subdomain enumeration</li>
</ul>
<ul>
<li>python sublist3r.py -d &lt;domain&gt; - Run directly with Python</li>
</ul>
<hr>
<h2>Options</h2>
<ul>
<li>-d, --domain - Domain to enumerate</li>
</ul>
<ul>
<li>-b, --bruteforce - Enable brute force module</li>
</ul>
<ul>
<li>-p, --ports - Scan for open ports (comma separated)</li>
</ul>
<ul>
<li>-v, --verbose - Enable verbose output</li>
</ul>
<ul>
<li>-t, --threads - Number of threads (default 30)</li>
</ul>
<ul>
<li>-e, --engines - Specify search engines (comma separated)</li>
</ul>
<ul>
<li>-o, --output - Save results to file</li>
</ul>
<ul>
<li>-h, --help - Show help message</li>
</ul>
<hr>
<h2>Search Engines</h2>
<p>Available engines for -e option:</p>
<ul>
<li>google</li>
<li>yahoo</li>
<li>bing</li>
<li>baidu</li>
<li>ask</li>
<li>netcraft</li>
<li>dnsdumpster</li>
<li>virustotal</li>
<li>threatcrowd</li>
<li>ssl</li>
<li>passivedns</li>
</ul>
<hr>
<h2>Common Examples</h2>
<h3>Basic Enumeration</h3>
<pre><code>sublist3r -d example.com</code></pre>
<p>Find subdomains using all sources.</p>
<h3>Save to File</h3>
<pre><code>sublist3r -d example.com -o subdomains.txt</code></pre>
<p>Save discovered subdomains to file.</p>
<h3>Verbose with Threads</h3>
<pre><code>sublist3r -d example.com -v -t 50</code></pre>
<p>Verbose output with 50 threads.</p>
<h3>Specific Engines</h3>
<pre><code>sublist3r -d example.com -e google,bing,virustotal</code></pre>
<p>Use only specific search engines.</p>
<h3>With Port Scanning</h3>
<pre><code>sublist3r -d example.com -p 80,443,8080</code></pre>
<p>Enumerate and scan for open ports.</p>
<h3>Brute Force</h3>
<pre><code>sublist3r -d example.com -b</code></pre>
<p>Enable brute force subdomain guessing.</p>
<h3>Full Scan</h3>
<pre><code>sublist3r -d example.com -b -p 80,443 -v -o results.txt</code></pre>
<p>Comprehensive scan with all features.</p>
<hr>
<h2>Installation</h2>
<pre><code># Clone the repository
git clone https://github.com/aboul3la/Sublist3r.git
# Install requirements
cd Sublist3r
pip install -r requirements.txt
# Run
python sublist3r.py -d example.com</code></pre>
<hr>
<h2>Tips</h2>
<ul>
<li>Use multiple engines for comprehensive coverage</li>
</ul>
<ul>
<li>Some engines may block you - rotate sources if needed</li>
</ul>
<ul>
<li>Combine with other tools like amass and subfinder</li>
</ul>
<ul>
<li>Use -v to see real-time progress</li>
</ul>
<ul>
<li>Port scanning adds time but reveals more info</li>
</ul>
<ul>
<li>Brute force can find subdomains not indexed by search engines</li>
</ul>
<ul>
<li>Results can be piped to other tools for further analysis</li>
</ul>
<ul>
<li>Always get authorization before scanning targets you don't own</li>
</ul>
<hr>
<p><a href="index.html">← Back to cheatsheets</a></p>
<p><a href="../index.html">← Home</a></p>
</div>
</div>
</div>
</div>
<script async type="text/javascript" src="../blog/analytics.js"></script>
<script src="../theme.js"></script>
</body>
</html>