<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by theroo@ttt on Medium]]></title>
        <description><![CDATA[Stories by theroo@ttt on Medium]]></description>
        <link>https://medium.com/@dzchalevich?source=rss-1d64cedc6942------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*88yN9J8hgSI2sCFQ</url>
            <title>Stories by theroo@ttt on Medium</title>
            <link>https://medium.com/@dzchalevich?source=rss-1d64cedc6942------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 04:51:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dzchalevich/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Recon. Useful Tips for Bug Bounty — PART 1]]></title>
            <link>https://medium.com/@dzchalevich/recon-useful-tips-for-bug-bounty-part-1-0defee9bc7cf?source=rss-1d64cedc6942------2</link>
            <guid isPermaLink="false">https://medium.com/p/0defee9bc7cf</guid>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[recon]]></category>
            <dc:creator><![CDATA[theroo@ttt]]></dc:creator>
            <pubDate>Sun, 24 Nov 2024 13:16:47 GMT</pubDate>
            <atom:updated>2024-11-24T13:18:28.937Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Recon. Useful Tips for Bug Bounty — PART 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/803/1*CDsrmJOpxv4aGV0zWLcJjg.png" /></figure><p>I start by identifying subdomains related to the target domain. Subdomains can reveal hidden services or entry points into the infrastructure, such as staging, development, or backup environments, which are often overlooked. There are many tools to simplify this work, for example, <strong>subfinder</strong>.</p><h3>Step 1: Identify Subdomains</h3><p>To discover subdomains, you can use <strong>subfinder</strong>. Here is the easiest command:</p><pre>subfinder -d example.com -o subdomains.txt</pre><p>Alternatively, you can use the following command to get more subdomains by enabling additional options like -all and -recursive:</p><pre>subfinder -d example.com -all -recursive &gt; subdomains.txt</pre><h3>Step 2: Validate Subdomains and Gather Live Hosts</h3><p>After discovering subdomains, the next step is to check if the subdomains are live and responding. This helps you focus on the active subdomains for further testing.</p><p>Use <strong>httpx</strong> to check live subdomains:</p><pre>httpx -l subdomains.txt -o live_subdomains.txt</pre><p>This command will check each subdomain in subdomains.txt and output the live ones into live_subdomains.txt.</p><h3>Step 3: Useful httpx Commands</h3><ul><li><strong>Scan for vulnerabilities based on CVEs</strong>: To check if a URL has any known vulnerabilities, you can use the following <strong>httpx</strong> command:</li><li>httpx -url &lt;target_url&gt; -vuln</li><li><strong>Detect technologies used by the website</strong>: The -tech option in <strong>httpx</strong> detects the technologies used on the target site, such as web servers, programming languages, and frameworks:</li><li>httpx -url &lt;target_url&gt; -tech</li><li><strong>Include additional ports (8080, 8888, 8000)</strong>: Many web applications expose dashboards, control panels, or login pages on non-standard ports like 8080, 8888, or 8000. To include these ports in the scan, use this command:</li><li>cat subdomains.txt | httpx -ports 80,8080,8000,8888 -threads 200 &gt; subdomains_alive.txt</li><li><strong>URL normalization</strong>: To standardize URLs (removing extra slashes, index pages like index.html), use the -uro option:</li><li>httpx -url &lt;target_url&gt; -uro</li></ul><h3>Step 4: Gather All URLs (GAU and Waybackurls)</h3><p>Now that you have the live subdomains, it’s time to gather URLs associated with these subdomains. This is useful because vulnerabilities often exist in specific parts of the web application (e.g., login forms, API endpoints).</p><h4>Tool: GAU (Get All URLs)</h4><p>GAU gathers URLs from multiple public sources like Common Crawl, Wayback Machine, and Censys. To use <strong>GAU</strong> to gather URLs from the subdomains:</p><pre>cat available_subdomains.txt | gau &gt; 1.txt</pre><p>This will gather URLs associated with the subdomains listed in available_subdomains.txt and store them in 1.txt.</p><h4>Tool: Waybackurls</h4><p>The <strong>Waybackurls</strong> tool retrieves URLs archived by the Wayback Machine (Internet Archive). To fetch archived URLs from Wayback Machine:</p><pre>cat available_subdomains.txt | waybackurls &gt; 2.txt</pre><p>This command will gather URLs archived in the Wayback Machine and store them in 2.txt.</p><h3>Step 5: Combine and Sort URL Lists</h3><p>After collecting URLs from GAU and Waybackurls, you can combine both lists and remove duplicates using this command:</p><pre>cat 1.txt 2.txt | sort -u &gt; sorturls.txt</pre><p>This combines 1.txt and 2.txt, sorts the URLs, and removes duplicates, saving the unique URLs in sorturls.txt.</p><h3>Step 6: Discover Parameters</h3><p>The next step is to discover parameters within the URLs, such as query parameters (e.g., ?id=, ?user=) and form parameters. These are common attack vectors.</p><h4>Tool: ParamSpider</h4><p>To identify parameters in the URLs you’ve gathered, use <strong>ParamSpider</strong>:</p><pre>paramspider -l sorturls.txt</pre><p>This will identify parameters in the URLs listed in sorturls.txt.</p><p>You can also specify specific file extensions to focus on certain types of URLs:</p><pre>paramspider -d example.com -e php,aspx,jpg,png</pre><p>This will look for parameters in URLs with specific file extensions (php, aspx, jpg, png) for the domain example.com.</p><h4>Tool: Arjun</h4><p>Another tool to enumerate parameters is <strong>Arjun</strong>. To use <strong>Arjun</strong> to find parameters on a specific page:</p><pre>arjun -u &quot;http://example.com/search&quot;</pre><p>This will scan the search URL of example.com for potential parameters.</p><h3>Step 7: Start Using Vulnerability Scanners</h3><p>Now that you have gathered a comprehensive attack surface with live subdomains, URLs, and parameters, you can begin using vulnerability scanners to identify potential weaknesses in the application.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0defee9bc7cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>