<?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 Ilyass Ghouaghou on Medium]]></title>
        <description><![CDATA[Stories by Ilyass Ghouaghou on Medium]]></description>
        <link>https://medium.com/@ily2004ghouaghou?source=rss-b10776690512------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*CR0O5Wk6mBO6IaUS</url>
            <title>Stories by Ilyass Ghouaghou on Medium</title>
            <link>https://medium.com/@ily2004ghouaghou?source=rss-b10776690512------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 13:39:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ily2004ghouaghou/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[ARTEX: Automating Web Security Reconnaissance with AI-Powered Analysis]]></title>
            <link>https://medium.com/@ily2004ghouaghou/artex-automating-web-security-reconnaissance-with-ai-powered-analysis-4b56545c84ce?source=rss-b10776690512------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b56545c84ce</guid>
            <dc:creator><![CDATA[Ilyass Ghouaghou]]></dc:creator>
            <pubDate>Thu, 17 Jul 2025 10:21:45 GMT</pubDate>
            <atom:updated>2025-07-17T10:21:45.675Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*CvcrRdxqoL6ijvdU8t2ojA.png" /></figure><p><em>How we built an open-source tool that streamlines vulnerability discovery</em></p><p><em>ARTEX combines traditional scanning with AI analysis for comprehensive security assessments</em></p><h3>The Problem: Manual Recon is Time-Consuming</h3><p>As a penetration tester, I waste countless hours on:</p><ul><li>Subdomain enumeration</li><li>Port scanning</li><li>Technology fingerprinting</li><li>Auth surface mapping<br><em>…before I can even start real testing.</em></li></ul><p>Existing tools either:</p><ol><li>Require complex orchestration (Burp Suite + Nmap + Nuclei)</li><li>Lack contextual risk analysis</li><li>Don’t prioritize findings effectively</li></ol><h3>Introducing ARTEX</h3><p><strong>ARTEX</strong> (Automated Reconnaissance &amp; Threat Exposure Analyzer) solves this with:</p><ul><li><strong>Single-command scanning</strong> (python app.py)</li><li><strong>AI-powered analysis</strong> (Groq/Llama3 integration)</li><li><strong>Dual-perspective reporting</strong> (Owner vs Hunter views)</li></ul><pre># Example scan initiation<br>from modules.port_scanner import PortScanner<br>scanner = PortScanner()<br>results = scanner.batch_scan([&quot;example.com&quot;], vuln_scan=True)</pre><h3>Key Technical Innovations</h3><h3>1. Intelligent Subdomain Enumeration</h3><p>Our hybrid approach combines:</p><ul><li>Certificate Transparency logs (crt.sh)</li><li>DNS bruteforcing (50 threads)</li><li>Passive DNS lookups</li><li>Takeover vulnerability detection</li></ul><pre>Found 42 subdomains (8 new):<br>- admin.example.com [VULNERABLE: Cloudflare takeover]<br>- legacy-api.example.com [Redis exposed]</pre><h3>2. Risk-Weighted Port Scanning</h3><p>Unlike traditional scanners, ARTEX:</p><ul><li>Scores ports by exploit potential</li><li>Prioritizes findings using CVE databases</li><li>Auto-detects web services vs infrastructure</li></ul><h3>3. AI-Assisted Analysis Pipeline</h3><p>The secret sauce:</p><ol><li>Raw scan data → JSON</li><li>Groq API processes with Llama3–70B</li><li>Generates <strong>two reports</strong>:</li></ol><ul><li><strong>Owner Report</strong>: Remediation guidance</li><li><strong>Hunter Report</strong>: Attack vectors</li></ul><p><em>Sample AI output:</em></p><pre>{<br>  &quot;promising_targets&quot;: [<br>    {<br>      &quot;target&quot;: &quot;admin.example.com&quot;,<br>      &quot;reason&quot;: &quot;Exposed PHPMyAdmin with default credentials&quot;<br>    }<br>  ]<br>}</pre><h3>Getting Started</h3><h3>Installation</h3><pre>git clone https://github.com/IlyassCODEX/ARTEX.git<br>cd artex &amp;&amp; pip install -r requirements.txt</pre><p>⚠️ <strong>Important</strong>: ARTEX should only be used on:</p><ul><li>Your own systems</li><li>Authorized penetration tests</li><li>Bug bounty programs with written permission</li></ul><h3>What’s Next?</h3><p>We’re working on:</p><ul><li>Cloud infrastructure detection (AWS/Azure/GCP)</li><li>Automated CVE matching</li><li>Burp Suite integration</li></ul><p><strong>Try ARTEX today:</strong> <a href="https://github.com/IlyassCODEX/ARTEX">https://github.com/IlyassCODEX/ARTEX</a><br><strong>Contribute:</strong> We welcome security researchers to improve the detection engine!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b56545c84ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fox Recon 1.0: Automated Reconnaissance for Bug Bounty & Security Testing]]></title>
            <link>https://medium.com/@ily2004ghouaghou/fox-recon-1-0-automated-reconnaissance-for-bug-bounty-security-testing-988f934afbb6?source=rss-b10776690512------2</link>
            <guid isPermaLink="false">https://medium.com/p/988f934afbb6</guid>
            <dc:creator><![CDATA[Ilyass Ghouaghou]]></dc:creator>
            <pubDate>Thu, 26 Jun 2025 23:36:29 GMT</pubDate>
            <atom:updated>2025-06-26T23:36:29.683Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*miX-IH_jWypXySbzpH-C9g.png" /></figure><h3>Discover Hidden Subdomains, Assess Risks, and Find High-Value Targets Automatically</h3><p>Reconnaissance is the backbone of any successful bug bounty hunt or penetration test. Manually enumerating subdomains, checking their status, and identifying weak points is tedious — but what if you could automate this process with <strong>data-driven insights</strong>?</p><p><a href="https://github.com/yourusername/fox-recon"><strong>Fox Recon</strong></a> is a <strong>smart reconnaissance tool</strong> that helps you:</p><p>🔹 <strong>Discover all subdomains</strong> (including forgotten and shadow IT assets)<br>🔹 <strong>Analyze security risks</strong> with automated assessments<br>🔹 <strong>Prioritize high-value targets</strong> for efficient testing<br>🔹 <strong>Generate professional reports</strong> (PDF/JSON) for documentation</p><p>In this write-up, I’ll cover:</p><ol><li><strong>Why Reconnaissance Matters in Bug Bounty</strong></li><li><strong>How Fox Recon Works</strong></li><li><strong>Key Features &amp; Use Cases</strong></li><li><strong>Demo: Scanning a Target</strong></li><li><strong>How to Get Started</strong></li></ol><h3>1. Why Reconnaissance Matters in Bug Bounty</h3><p>Before exploiting vulnerabilities, you need to <strong>map the attack surface</strong>. A single overlooked subdomain could lead to:</p><p>✔ <strong>Exposed admin panels</strong><br>✔ <strong>Misconfigured cloud storage</strong> (S3 buckets, Azure blobs)<br>✔ <strong>Legacy systems with unpatched vulnerabilities</strong><br>✔ <strong>Development/staging environments with weaker security</strong></p><p>Manual recon is slow. Fox Recon automates this process and <strong>flags the most critical assets</strong> so you can focus on exploitation.</p><h3>2. How Fox Recon Works</h3><p>Fox Recon combines <strong>subdomain enumeration</strong> with <strong>automated security analysis</strong> to provide:</p><p>✅ <strong>Subdomain Discovery</strong> — Uses multiple techniques to find hidden subdomains.<br>✅ <strong>HTTP/HTTPS Checks</strong> — Identifies live web servers and open ports.<br>✅ <strong>Risk Scoring</strong> — Automated system evaluates security posture (High/Medium/Low risk).<br>✅ <strong>High-Value Targets</strong> — Highlights admin panels, APIs, and misconfigurations.<br>✅ <strong>Exportable Reports</strong> — Generate PDF or JSON reports for documentation.</p><h3>Example Workflow:</h3><ol><li>Enter a domain (e.g., example.com).</li><li>Fox Recon scans and categorizes subdomains.</li><li>Automated analysis detects security risks and suggests weak points.</li><li>You get a <strong>prioritized list of testable targets</strong>.</li></ol><h3>3. Key Features &amp; Use Cases</h3><h3>🦊 For Bug Bounty Hunters</h3><ul><li><strong>Find more attack surfaces</strong> (missed subdomains = more bounty opportunities).</li><li><strong>Save time</strong> with automated scanning instead of manual enumeration.</li><li><strong>Focus on high-risk targets</strong> (tool flags vulnerable endpoints first).</li></ul><h3>🔒 For Penetration Testers</h3><ul><li><strong>Identify shadow IT assets</strong> (forgotten subdomains with weak security).</li><li><strong>Generate professional reports</strong> (PDF for client deliverables).</li><li><strong>Test efficiently</strong> with automated recon before manual testing.</li></ul><h3>🛠️ For Security Teams</h3><ul><li><strong>Monitor external exposure</strong> (detect unauthorized subdomains).</li><li><strong>Assess third-party risks</strong> (scan vendors’ domains for weak points).</li></ul><h3>4. Demo: Scanning a Target</h3><p>Let’s scan example.com (hypothetical example):</p><ol><li><strong>Enter the domain</strong> in Fox Recon’s dashboard.</li><li><strong>Scan runs in real-time</strong>, showing progress:</li></ol><ul><li>Subdomain enumeration</li><li>HTTP/HTTPS checks</li><li>Automated security analysis</li></ul><ol><li><strong>Results appear in an interactive dashboard</strong>:</li></ol><p>List of subdomains with status codes</p><ul><li>Risk assessment (e.g., “High risk due to exposed admin panel”)</li><li>Top recommendations (e.g., “Check for SQLi on /admin/login&quot;)</li></ul><ol><li><strong>Export results</strong> as PDF or JSON.</li></ol><p><a href="https://example.com/fox-recon-demo.png">https://example.com/fox-recon-demo.png</a></p><h3>5. How to Get Started</h3><h3>Installation (3 Simple Steps)</h3><pre>git clone https://github.com/yourusername/fox-recon.git<br>cd fox-recon<br>pip install -r requirements.txt<br>python app.py</pre><p>Then open <a href="http://localhost:5000/"><strong>http://localhost:5000</strong></a> and start scanning!</p><h3>Try It Yourself</h3><ul><li><strong>GitHub</strong>: <a href="https://github.com/yourusername/fox-recon">https://</a>github.com/IlyassCODEX/FOXRECON/</li></ul><h3>Final Thoughts</h3><p>Fox Recon <strong>automates the boring part of recon</strong> so you can focus on <strong>finding vulnerabilities faster</strong>. Whether you’re a <strong>bug bounty hunter, pentester, or security engineer</strong>, this tool helps you:</p><p>✔ <strong>Discover more attack surfaces</strong><br>✔ <strong>Prioritize high-risk targets</strong><br>✔ <strong>Save hours of manual work</strong></p><p>Give it a try and let me know what you think! 🚀</p><p><strong>🔗 GitHub:</strong> <a href="https://github.com/IlyassCODEX/FOXRECON/">https://github.com/IlyassCODEX/FOXRECON/</a><br><strong>🐦 Follow me on Twitter/X:</strong> <a href="https://twitter.com/yourhandle">@</a>7EAR.TH</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=988f934afbb6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quick Guide to Recursive Subdomain Enumeration]]></title>
            <link>https://medium.com/@ily2004ghouaghou/quick-guide-to-recursive-subdomain-enumeration-844d4d6fae8a?source=rss-b10776690512------2</link>
            <guid isPermaLink="false">https://medium.com/p/844d4d6fae8a</guid>
            <dc:creator><![CDATA[Ilyass Ghouaghou]]></dc:creator>
            <pubDate>Fri, 21 Feb 2025 11:20:01 GMT</pubDate>
            <atom:updated>2025-02-21T11:20:01.724Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*pL9h5U_xZ4YPTtjB_VRW9g.jpeg" /></figure><p>In cybersecurity, effective <strong>information gathering</strong> is key for penetration testing and bug bounty hunting. A powerful technique is <strong>recursive subdomain enumeration</strong>, which digs deeper into a target’s infrastructure by discovering nested subdomains.</p><h3>Essential Tools for Subdomain Enumeration :</h3><h4>1. Amass</h4><ul><li><strong>Install:</strong></li></ul><pre>sudo apt install amass</pre><ul><li><strong>Usage:</strong></li></ul><pre>amass enum -d example.com -o amass_results.txt</pre><ul><li><strong>Recursive:</strong></li></ul><pre>amass enum -d example.com -recursive -o amass_recursive.txt</pre><h4>2. Subfinder</h4><ul><li><strong>Install:</strong></li></ul><pre>go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest</pre><ul><li><strong>Usage:</strong></li></ul><pre>subfinder -d example.com -o subfinder_results.txt</pre><h4>3. Assetfinder</h4><ul><li><strong>Install:</strong></li></ul><pre>go install github.com/tomnomnom/assetfinder@latest</pre><ul><li><strong>Usage:</strong></li></ul><pre>assetfinder --subs-only example.com &gt; assetfinder_results.txt</pre><h4>4. Findomain</h4><ul><li><strong>Install:</strong></li></ul><pre>sudo snap install findomain</pre><ul><li><strong>Usage:</strong></li></ul><pre>findomain -t example.com -o</pre><h3>Simple Recursive Enumeration Script</h3><pre>#!/bin/bash<br>DOMAIN=$1<br>amass enum -d $DOMAIN -o amass.txt<br>subfinder -d $DOMAIN -o subfinder.txt<br>assetfinder --subs-only $DOMAIN &gt; assetfinder.txt<br>findomain -t $DOMAIN -o findomain.txt<br>cat amass.txt subfinder.txt assetfinder.txt findomain.txt | sort -u &gt; combined.txt<br>amass enum -df combined.txt -o recursive_results.txt<br>echo &quot;Results saved in recursive_results.txt&quot;</pre><h3>Conclusion</h3><p>Combining <strong>Amass</strong>, <strong>Subfinder</strong>, <strong>Assetfinder</strong>, and <strong>Findomain</strong> offers deep coverage for discovering hidden subdomains. Recursive enumeration is essential for uncovering assets that might otherwise go unnoticed.</p><p>Give it a try and share your discoveries!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=844d4d6fae8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vulnhub: Web Machine: (N7) Walkthrough (CTF)]]></title>
            <link>https://medium.com/@ily2004ghouaghou/vulnhub-web-machine-n7-walkthrough-ctf-5dd76aa29772?source=rss-b10776690512------2</link>
            <guid isPermaLink="false">https://medium.com/p/5dd76aa29772</guid>
            <dc:creator><![CDATA[Ilyass Ghouaghou]]></dc:creator>
            <pubDate>Sun, 05 Jan 2025 15:15:31 GMT</pubDate>
            <atom:updated>2025-01-05T15:15:31.649Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*1m2G3BF6ieGtBrqlNrFpcw.jpeg" /></figure><p>باسم الله الرحمان الرحيم</p><p>now we will try the CTF of Web Machine: (N7)</p><p>link : <a href="https://www.vulnhub.com/entry/web-machine-n7,756/">https://www.vulnhub.com/entry/web-machine-n7,756/</a></p><p>Difficulty: Medium</p><h3>Configuration of machine :</h3><p>First we need to know the target address, for this reason I put both machines in the adapter’s mode : “Bridged Adapter”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*i0CXJYq0EUnJ0qDffMk18Q.png" /></figure><p>from “ip addr” i found that my ip : 192.168.0.195 , so we need to make a broadcast to for all network 192.168.0.0/24 to know the target machine ip</p><pre>nmap -sn 192.168.0.0/24</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/1*bQgmJFu3UcX9JAamZUsD7A.png" /></figure><p>so our machine target is 192.168.0.100 (It could be something else for you)</p><h3>Target’s scanning</h3><p>secondly , we need to scan our target .</p><p>for me i will use nmap</p><pre>nmap -sC -sV -vv 192.168.0.100</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*0AEty9D9D9dx89CjZhdkaw.png" /></figure><p>from nmap we can see that only http port is open (80), so we need to focus on it . i go the target website in my case (http://192.168.0.100:80/)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yk7vpChI8AyQ2wVXaIurtQ.png" /></figure><p>I thought of using Dirbuster for brute forcing directories of our target ,</p><p>for the wordlist i use : directory-list-2.3-medium.txt , you can found it here : htt<a href="https://github.com/daviddias/node-dirbuster/blob/master/lists/directory-list-2.3-medium.txt">ps://github.com/daviddias/node-dirbuster/blob/master/lists/directory-list-2.3-medium.txt</a></p><p>you can you other wordlists</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*g_DbTKvswjQ3NZEjI9bt-Q.png" /></figure><p>eventually an interesting page appears in the form of /exploit.html. we went to take a look at the page and it looks like a File upload source. This is good!</p><h3>/Exploit.html</h3><p>I initially attempts to upload and execute a PHP reverse shell but encounters an error stating “localhost:80” is not found. Even after trying a one-liner PHP shell, the same issue persists. Upon inspecting the source code, they discover a comment indicating it was generated by Burp Suite Professional and that the file attempts to upload to “localhost” instead of the Target IP Address. To resolve this, I decide to host the exploit.html file on their own web server and modify the code to replace &quot;localhost&quot; with the Target IP Address, successfully addressing the issue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hiSYzJHwhvgl7ITgz9jM7Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*jRlaZjmvuteh6R5v8ECBLw.png" /></figure><p>you can find php shells in github on the link : <a href="https://www.google.com/url?sa=t&amp;source=web&amp;rct=j&amp;opi=89978449&amp;url=https://github.com/pentestmonkey/php-reverse-shell&amp;ved=2ahUKEwje5Nm27N6KAxWUUKQEHW56OasQFnoECAoQAQ&amp;usg=AOvVaw2brq7w0wy3Zmg_4-Tmnwni">https://github.com/pentestmonkey/php-reverse-shell&amp;ved=2ahUKEwje5Nm27N6KAxWUUKQEHW56OasQFnoECAoQAQ&amp;usg=AOvVaw2brq7w0wy3Zmg_4-Tmnwni</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*-YqtFC0LthhybY-spAh0kg.png" /></figure><h3>Start Finding the Other Part of the Flag</h3><p>I spent a lot of time trying to find the next part of the flag but had no success with my wordlist or subdomain busting. Eventually, I referred to a Medium walkthrough by “<a href="https://medium.com/@psmile1?source=post_page---byline--817315136f5b--------------------------------">Mr_Smiles</a>” which identified the directory as “/enter_network.” After finding it, It seems the creator might have intended manual fuzzing with variations like “/login” or “/entry.” If you know a wordlist with “/enter_network”</p><p>from burpSuite this is the request from 192.168.0.100/enter_network</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*xsENcnRvW1XYTYtJAjGQIA.png" /></figure><p>I used SQLMap to test for a SQL Injection vulnerability and discovered a Time-Based Blind SQL Injection. The current database user was identified as “root@localhost.” With this confirmation, I proceeded to dump the database using SQLMap. After waiting, the database was successfully dumped, revealing the complete flag in the “Password” field. The machine is now completed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w63MMly4s3BpY5FTy560Lw.png" /></figure><p>END</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5dd76aa29772" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IseaVulnerbleWebAppV17.0 Walkthrough]]></title>
            <link>https://medium.com/@ily2004ghouaghou/iseavulnerblewebappv17-0-walkthrough-a0de7207d007?source=rss-b10776690512------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0de7207d007</guid>
            <dc:creator><![CDATA[Ilyass Ghouaghou]]></dc:creator>
            <pubDate>Sun, 29 Dec 2024 15:32:55 GMT</pubDate>
            <atom:updated>2024-12-29T15:32:55.824Z</atom:updated>
            <content:encoded><![CDATA[<p>باسم الله الرحمان الرحيم</p><p>name : IseaVulnerbleWebAppV17.0 (security : LOW)</p><p>link : <a href="https://drive.google.com/file/d/1fEjCfOpxoW5GCngOTgZ7LzEvEwEhqtM2/view">https://drive.google.com/file/d/1fEjCfOpxoW5GCngOTgZ7LzEvEwEhqtM2/view</a></p><p>level : easy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*1m2G3BF6ieGtBrqlNrFpcw.jpeg" /></figure><p>so lets start now with the configuration of linux , you need to make your host (kali linux or anything else ) in the same network with the target machine .</p><p>we can make this with the command :</p><pre>sudo ip addr add 10.0.0.12/8 dev eth0    </pre><p>make a ping to make sure that this effectued .</p><p>you can open your browser on : 10.0.0.14:80 to get the web app of the victim</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rl-qaizIP3I1hYrVcvYq0g.png" /></figure><h3>part 1 : Brute Force</h3><p>first we need to go to Security level and make it “LOW” and make “submit”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*J4UsQUucMHgtEUpezHD2MQ.png" /></figure><p>so in a simple way we can make a brute force using burpsuite .</p><p>this is how the request look</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*oghN8heomNBi57rU6ka1tw.png" /></figure><p>try to send it to intruder</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*Cr34uq9QIjCcYVXiGqqCuw.png" /></figure><p>Add the “password” parameter values as payload positions by highlighting it and using the “Add” button , like this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RD1jtzfJexbBoJK__VzHeQ.png" /></figure><p>i use just a simple list ( you can download lists from github.com</p><ul><li>link : <a href="https://github.com/danielmiessler/SecLists/blob/master/Passwords/Common-Credentials/10k-most-common.txt">https://github.com/danielmiessler/SecLists/blob/master/Passwords/Common-Credentials/10k-most-common.txt</a> )</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pRRG1bTSf0DN_PrQNV7zCw.png" /></figure><p>and then you can click “start attack” and found this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/699/1*EIQlhnF2lf0HCx0H12MflA.png" /></figure><p>that means that the one who her length change is the right one , that is “password” .</p><h3>part 2 : command injection</h3><p>i try first something simple like</p><pre>(ip);ls;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*dbUffVGDULM8SMbbJT4D3w.png" /></figure><p>and it work so i try something advanced and i get the passwords of the victim :</p><pre>ip;cat /etc/passwd/;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*CKwkxyv55ORPYdGcWniR9g.png" /></figure><h3>part 3 : CSRF</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uJ9ZdyScj7Mu8Dc4-Hm1Uw.png" /></figure><p>when i change password i look that there is a CSRF vuln :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*yQm1EXGyGz6GBDXepCcSng.png" /></figure><p>so you can easly change the password just with url , and you can make this with other users !!</p><h3>part 4 : SQL Injection</h3><p>the request when i try “2001” in the “ID” is this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HFaXJVLpHLJX4ZLhGCMUKQ.png" /></figure><p>i try a simple injection</p><pre>id = 2001&#39;--&amp;Submit=Submit HTTP/1.1</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sVoOlEk-B3t2NkOcfI9OiQ.png" /></figure><p>and its 200 OK which means that we can make a SQL injections , so i try this one , that means this SQL requet is always true “1=1” :</p><pre>id = 2001&#39; or &#39;1&#39; = &#39;1 --</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*9mYUXyd7rowyGNcZh0I8_Q.png" /></figure><p>first we need to know how much columns are sets :</p><pre>id = 2001&#39; union select null,null from users --</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*3rxkJVNyjaxc_laDavsn-A.png" /></figure><p>you can try 3 nulls or 4 , … until you find 200 ok response that means this is the right thing .</p><p>we can make a brute force for the names of columns but this can be advanced i try just user,password and it work</p><pre>2001&#39; union select user,password from users #</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*51FXUJl8NP5kccorCvTchg.png" /></figure><p>we can use a tool that called “SQLMAP” for this purpose you need to make a text file that contains your request :</p><pre>sqlmap -r &quot;path_to_your_text_file&quot; --batch --threads=10</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*x2yqTiSQ-p0Umvew-TWvKQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*OjH0OmRz24jIeZGzr08-dA.png" /></figure><p>and he will all things that you want automatic and give you the payloads that you want to make a SQL injection for the victim .</p><h3>part 5 : XSS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*4GE-ujlGhwa4YtNlAOmGfA.png" /></figure><p>i type firstly “my name” and he response with “hello ilyass”</p><p>i try a simple XSS command , and it work :</p><pre>&lt;script&gt;alert(1)&lt;/script&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*6GLLFxUrv4w4PKtkC-vtMw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*nrXmwFbOoBTipOzaC5TSfA.png" /></figure><p>i try &lt;iframe&gt; that can be more harmful and also it work :</p><pre>&lt;iframe src=&quot;https://{site_web}&quot;&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*p745m9PaDZXiH79wSoKoOg.png" /></figure><p>(Oops : just a question of network !!)</p><p>you can found here a lot of xss command , you can try it :</p><p><a href="https://gist.github.com/kurobeats/9a613c9ab68914312cbb415134795b45">https://gist.github.com/kurobeats/9a613c9ab68914312cbb415134795b45</a></p><ul><li>END</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0de7207d007" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>