<?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 Muhammadbaziloffi on Medium]]></title>
        <description><![CDATA[Stories by Muhammadbaziloffi on Medium]]></description>
        <link>https://medium.com/@muhammadbaziloffi3?source=rss-25c62f1b28ac------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*hCGBd2pAuAM2EY4u</url>
            <title>Stories by Muhammadbaziloffi on Medium</title>
            <link>https://medium.com/@muhammadbaziloffi3?source=rss-25c62f1b28ac------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 14:04:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@muhammadbaziloffi3/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[I Got Tired of Doing the Same Manual Checks on Every App — So I Built a Tool to Do It For Me]]></title>
            <link>https://medium.com/@muhammadbaziloffi3/i-got-tired-of-doing-the-same-manual-checks-on-every-app-so-i-built-a-tool-to-do-it-for-me-1ac2640dbac2?source=rss-25c62f1b28ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ac2640dbac2</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[low-hanging-fruit]]></category>
            <category><![CDATA[python-scripting]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Muhammadbaziloffi]]></dc:creator>
            <pubDate>Fri, 01 May 2026 18:51:55 GMT</pubDate>
            <atom:updated>2026-05-01T18:51:55.407Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How a repetitive frustration turned into an open-source async vulnerability scanner that anyone can use.</em></p><p>There’s a moment every security engineer or bug bounty hunter knows well. You’ve just opened a new web application. You paste the URL into your browser, you pull up DevTools, and you begin the ritual - the same ritual you did yesterday, and the day before that.</p><p>Check the response headers. Is there a Content-Security-Policy? What about strict-transport-security? Now browse over to <strong>/.env</strong>. Is it exposed? How about <strong>/.git/config</strong>? Pull up the JavaScript files one by one and squint at them for AWS keys or leaked tokens. Check if the server responds to <strong>PUT</strong> or <strong>DELETE</strong>. Check the TLS cert. Check for subdomains.</p><p>Over and over. Every. Single. Target.</p><p>I lost count of how many hours I spent doing these checks manually. The frustrating part wasn’t the complexity - these are basic, well-known checks. The frustrating part was that they were <em>boring</em>. Predictable. Repetitive. The kind of work where your brain switches off because it’s seen this exact flow a hundred times, which is also exactly when you start missing things.</p><p>So I decided to stop doing them by hand.</p><h3>The Problem with “Low-Hanging Fruit”</h3><p>The phrase “low-hanging fruit” in security gets thrown around a lot, usually with a slight air of condescension - as if a real penetration tester wouldn’t bother. But here’s what the experienced folks won’t always tell you: low-hanging vulnerabilities are <em>still vulnerabilities</em>. A <strong>.env</strong> file sitting open on a production server is a catastrophic finding. A missing <strong>X-Frame-Option</strong> header enables clickjacking. A leaked <strong>JWT</strong> in a JavaScript bundle can compromise an entire user base.</p><p>These issues appear constantly in the wild. They appear on small apps, on enterprise apps, on apps that have been running for a decade. The reason they survive so long is not because they’re hard to find - it’s because nobody automated the grunt work of looking for them consistently.</p><p>That’s the gap I wanted to close.</p><h3>Building LowHangingFruits</h3><p>I wrote <strong>LowHangingFruits -</strong> a single-file, async Python tool that handles the boring reconnaissance layer so you don’t have to. The name is intentional and unapologetic. This tool is built to be fast, opinionated, and practical.</p><p>Here’s what it does in a single run against a target:</p><p><strong>Security Header Analysis -</strong> It checks for the five headers that are most commonly missing and most commonly exploited: <strong>Content-Security-Policy</strong>, <strong>Strict-Transport-Security</strong>, <strong>X-Content-Type-Options</strong>, <strong>X-Frame-Options</strong>, and <strong>Referrer-Policy</strong>. Each missing header gets flagged with a severity level and mapped to its corresponding CWE.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*JBmJrolJwT8xZBIfS2r3NA.png" /><figcaption>Fig 1. Configuration for Headers</figcaption></figure><p><strong>Sensitive File Discovery -</strong> It probes a list of paths that developers forget to lock down: <strong>/.env</strong>, <strong>/.git/config</strong>, <strong>/backup.zip</strong>, <strong>/config.php.bak</strong>, <strong>/admin/</strong>, <strong>/server-status</strong>, <strong>/robots.txt</strong>, <strong>/sitemap.xml</strong>. Any 200 response with content gets surfaced as a high-severity finding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ml8xfDq1rpTkbC8yE_J6XQ.png" /><figcaption>Fig 2. Current configuration for sensitive directories</figcaption></figure><p><strong>JavaScript Secret Scanning - </strong>This is where things get interesting. The tool extracts every JavaScript file loaded by the page (up to 20), fetches them, and runs a set of regex patterns against the content looking for AWS Access Keys, Google API keys, GitHub tokens, Slack tokens, JWTs, and generic API key patterns. For the generic pattern, it goes a step further and calculates Shannon entropy on the candidate string - a real secret has high information density, and this cuts down dramatically on false positives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5QHLJVB3c9ASS20YhIt3iw.png" /><figcaption>Fig 3. Current configuration or secret patterns</figcaption></figure><p><strong>HTTP Method Enumeration - </strong>It fires an <strong>OPTIONS</strong> request and checks whether the server advertises <strong>PUT</strong>, <strong>DELETE</strong>, <strong>TRACE</strong>, or <strong>CONNECT</strong>. These methods being exposed on a production application is almost always a misconfiguration.</p><p><strong>TLS Certificate Inspection - </strong>It checks whether the certificate is valid, how many days until it expires, and surfaces a warning if it’s expiring within 14 days or has already expired.</p><p><strong>Subdomain Discovery -</strong> With a flag, it can pull subdomains from <strong>crt.sh</strong>(certificate transparency logs, no auth required) or integrate with<strong> subfinder</strong> if you have it installed.</p><p><strong>Risk Scoring - </strong>Every finding has a numeric weight. Missing headers add 5 points each. A sensitive exposed file adds 20. A leaked secret adds 25. The tool aggregates these into a final score out of 100 and buckets it as Low, Medium, or High risk.</p><p><strong>Reporting - </strong>Results come out in terminal with color-coded severity, and you can export them as JSON (machine-readable) or a self-contained HTML report with an executive summary.</p><p>Everything runs asynchronously with <strong>aiohttp</strong>, with a concurrency limit of 20 simultaneous requests. On a typical target, the whole scan takes seconds.</p><h3>A Note on What This Tool Isn’t</h3><p>LowHangingFruits is not a full penetration testing suite. It doesn’t do authenticated scanning. It doesn’t do SQL injection, XSS fuzzing, or anything that requires interaction. It doesn’t exploit anything it finds. It is a triage tool - the first 10 minutes of external recon, automated and repeatable.</p><p>Think of it as your checklist before you start the real work.</p><h3>You Don’t Need to Be a Developer to Use This</h3><p>Here’s the part I really want to land: <strong>you can clone this repo, make it yours, and run it without being a Python expert.</strong></p><p>The entire tool is a single Python file, around 700 lines. The structure is intentional. You don’t need to understand all of it to add your own secret patterns to <strong>SECRET_PATTERNS</strong>, or to add a new path to <strong>COMMON_FILES</strong>, or to bump a severity weight in <strong>RISK_WEIGHTS</strong>. Those are dictionaries sitting right at the top of the file. They&#39;re readable in plain English.</p><p>The README tells you exactly where to look if you want to extend things:</p><blockquote>“You know what to change. Clone the repo and feel free to change or add whatever you want - The secret patterns I didn’t include, more sensitive endpoints.”</blockquote><p>This is an open invitation. If you work in a specific environment - let’s say, you test a lot of Laravel apps and you know common Laravel-specific paths that get exposed - add them to <strong>COMMON_FILES</strong>. If you find a new token format that keeps showing up in JS bundles, drop the regex into <strong>SECRET_PATTERNS</strong>. The tool is designed to be modified by the person using it, not treated as a black box.</p><h3>Installation</h3><p>Getting started takes about two minutes.</p><p>Clone the repository:</p><pre>git clone https://github.com/muhammadbazilmhd/LowHangingFruits.git<br>cd LowHangingFruits</pre><p>Install dependencies:</p><pre>pip install -r requirements.txt</pre><p>The dependencies are minimal: <strong>aiohttp</strong> for async HTTP, <strong>beautifulsoup4</strong> for HTML parsing, <strong>colorama</strong> for terminal colors, and <strong>tqdm</strong> for the progress bar.</p><h3>Usage</h3><p>Basic scan of a single target:</p><pre>python LowHangingFruits.py -t example.com</pre><p>Scan with subdomain discovery via crt.sh:</p><pre>python LowHangingFruits.py -t example.com --subdomains --crtsh</pre><p>Scan with subfinder integration (requires subfinder installed):</p><pre>python LowHangingFruits.py -t example.com --subdomains --subfinder</pre><p>Scan multiple targets from a file:</p><pre>python LowHangingFruits.py -f targets.txt</pre><p>Export an HTML report:</p><pre>python LowHangingFruits.py -t example.com --html</pre><p>All outputs are saved automatically inside an <strong>outputs/</strong> folder next to the script, named with the target hostname and a timestamp - so you never overwrite a previous run by accident.</p><h3>Tips for Getting the Most Out of It</h3><p><strong>Use it on every new target before doing anything else.</strong> Run it, read the output, and let it shape your manual testing priorities. If it finds a <strong>.env</strong> file, go investigate what&#39;s in it. If it finds a leaked JWT in a JS bundle, that&#39;s your next thread to pull.</p><p><strong>Read the CWE references.</strong> Every finding in the output includes a CWE identifier. If you’re not familiar with a particular weakness, the CWE entry will give you context on what it means, why it matters, and what an attacker could do with it.</p><p><strong>Extend the secret patterns.</strong> The built-in patterns cover the most common token formats, but every environment is different. If you’re testing apps that use a specific cloud provider or internal token format, add the regex. The Shannon entropy filter on generic keys keeps false positives manageable even with broad patterns.</p><p><strong>Combine with manual recon.</strong> The subdomain list from <strong>crt.sh</strong> or <strong>subfinder</strong> is a starting point, not a complete picture. Cross-reference it with DNS tools, check for wildcard records, and look for staging or dev subdomains - those often have the loosest security posture.</p><p><strong>Don’t run it against targets you don’t have authorization for.</strong> This should go without saying, but I’ll say it anyway. Use it on your own infrastructure, authorized bug bounty programs, or in a lab environment. The tool sends real HTTP requests to real servers.</p><h3>Final Thought</h3><p>The best security tools are the ones you actually use. Not the ones with the most features, the slickest interfaces, or the most stars on GitHub. The ones you run automatically, every time, without thinking about it.</p><p>LowHangingFruits is that first layer. It does the checklist work so your brain is free for the harder stuff.</p><p><a href="https://github.com/muhammadbazilmhd/LowHangingFruits"><strong>Clone it, break it, improve it.</strong></a></p><p><em>All testing should only be performed on systems you own or have explicit written authorization to test.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ac2640dbac2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>