210 lines
7.4 KiB
HTML
210 lines
7.4 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>aquatone 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">aquatone 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>Aquatone is a tool for visual inspection of websites across a large number of hosts. It takes screenshots of web pages and creates an HTML report for easy browsing and analysis.</p>
|
|
<hr>
|
|
<h2>Basic Usage</h2>
|
|
<ul>
|
|
<li>cat hosts.txt | aquatone - Screenshot hosts from file</li>
|
|
</ul>
|
|
<ul>
|
|
<li>echo "example.com" | aquatone - Screenshot single host</li>
|
|
</ul>
|
|
<hr>
|
|
<h2>Input Methods</h2>
|
|
<ul>
|
|
<li>Pipe hostnames/URLs via stdin</li>
|
|
</ul>
|
|
<ul>
|
|
<li>One target per line</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Accepts hostnames, IPs, or full URLs</li>
|
|
</ul>
|
|
<hr>
|
|
<h2>Options</h2>
|
|
<ul>
|
|
<li>-out <dir> - Output directory (default: ./aquatone)</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-ports <ports> - Ports to scan (see below)</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-threads <num> - Concurrent threads (default: 8)</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-timeout <ms> - Screenshot timeout in ms (default: 30000)</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-http-timeout <ms> - HTTP request timeout (default: 10000)</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-scan-timeout <ms> - Port scan timeout (default: 3000)</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-screenshot-timeout <ms> - Screenshot timeout (default: 30000)</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-silent - Suppress output</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-nmap - Parse nmap XML file</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-chrome-path <path> - Path to Chrome/Chromium</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-proxy <url> - HTTP proxy</li>
|
|
</ul>
|
|
<hr>
|
|
<h2>Port Presets</h2>
|
|
<ul>
|
|
<li>-ports small - 80, 443</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-ports medium - 80, 443, 8000, 8080, 8443</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-ports large - 80, 81, 443, 591, 2082, 2087, 2095, 2096, 3000, 8000, 8001, 8008, 8080, 8083, 8443, 8834, 8888</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-ports xlarge - Extended list of common web ports</li>
|
|
</ul>
|
|
<ul>
|
|
<li>-ports <custom> - Comma-separated list (e.g., 80,443,8080)</li>
|
|
</ul>
|
|
<hr>
|
|
<h2>Output Files</h2>
|
|
<ul>
|
|
<li>aquatone_report.html - Main HTML report</li>
|
|
</ul>
|
|
<ul>
|
|
<li>aquatone_urls.txt - Discovered URLs</li>
|
|
</ul>
|
|
<ul>
|
|
<li>aquatone_session.json - Session data</li>
|
|
</ul>
|
|
<ul>
|
|
<li>headers/ - Response headers</li>
|
|
</ul>
|
|
<ul>
|
|
<li>html/ - Response bodies</li>
|
|
</ul>
|
|
<ul>
|
|
<li>screenshots/ - Screenshot images</li>
|
|
</ul>
|
|
<hr>
|
|
<h2>Common Examples</h2>
|
|
<h3>Basic Screenshot</h3>
|
|
<pre><code>cat subdomains.txt | aquatone</code></pre>
|
|
<p>Screenshot all subdomains.</p>
|
|
<h3>Custom Output Directory</h3>
|
|
<pre><code>cat hosts.txt | aquatone -out ./results</code></pre>
|
|
<p>Save to specific directory.</p>
|
|
<h3>Extended Port Scan</h3>
|
|
<pre><code>cat hosts.txt | aquatone -ports large</code></pre>
|
|
<p>Check more common web ports.</p>
|
|
<h3>Custom Ports</h3>
|
|
<pre><code>cat hosts.txt | aquatone -ports 80,443,8080,8443</code></pre>
|
|
<p>Specify exact ports to check.</p>
|
|
<h3>Faster Scanning</h3>
|
|
<pre><code>cat hosts.txt | aquatone -threads 20</code></pre>
|
|
<p>Increase concurrent threads.</p>
|
|
<h3>With Nmap Results</h3>
|
|
<pre><code>cat nmap_scan.xml | aquatone -nmap</code></pre>
|
|
<p>Parse nmap XML output for targets.</p>
|
|
<h3>Pipeline with Subfinder</h3>
|
|
<pre><code>subfinder -d example.com -silent | aquatone</code></pre>
|
|
<p>Combine with subdomain discovery.</p>
|
|
<h3>Full Pipeline</h3>
|
|
<pre><code>subfinder -d example.com -silent | httpx -silent | aquatone</code></pre>
|
|
<p>Discover, probe, and screenshot.</p>
|
|
<h3>Through Proxy</h3>
|
|
<pre><code>cat hosts.txt | aquatone -proxy http://127.0.0.1:8080</code></pre>
|
|
<p>Route through Burp Suite.</p>
|
|
<hr>
|
|
<h2>Tips</h2>
|
|
<ul>
|
|
<li>Use httpx first to filter live hosts</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Increase threads for large target lists</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Use -ports large for thorough scanning</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Check the HTML report for visual analysis</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Screenshots help identify interesting targets</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Headers can reveal server info and security configs</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Requires Chrome/Chromium for screenshots</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Consider gowitness as an alternative</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Always get authorization before scanning</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>
|