<?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 Mohammed Alsaqqaf on Medium]]></title>
        <description><![CDATA[Stories by Mohammed Alsaqqaf on Medium]]></description>
        <link>https://medium.com/@mohammed.saqqaf?source=rss-126474b6594a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6urfaX4y2OTYhkbc</url>
            <title>Stories by Mohammed Alsaqqaf on Medium</title>
            <link>https://medium.com/@mohammed.saqqaf?source=rss-126474b6594a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 01:40:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mohammed.saqqaf/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[From source code review to Access to Admin Panel]]></title>
            <link>https://medium.com/@mohammed.saqqaf/from-source-code-review-to-access-to-admin-panel-ad51b847ee78?source=rss-126474b6594a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad51b847ee78</guid>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[web-penetration-testing]]></category>
            <category><![CDATA[laravel]]></category>
            <dc:creator><![CDATA[Mohammed Alsaqqaf]]></dc:creator>
            <pubDate>Fri, 21 Nov 2025 17:12:52 GMT</pubDate>
            <atom:updated>2025-11-24T09:52:49.962Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, today I will explain how I gained access to the Admin Panel of one of the freelance pentesting services.<br> It was an easy scenario, so let’s begin.</p><p>Like anyone, I started with the reconnaissance phase to gather all the subdomains of the website using tools such as <strong>assetfinder</strong>, <strong>subfinder</strong>, and several other recon tools. Here is the checklist:</p><pre><br>amass enum -passive -norecursive -noalts -df domains.txt -o ndomains.txt<br>amass enum -brute -active -d saqqaf.com &gt;&gt; ndomains.txt<br>subenum -d saqqaf.com &gt;&gt; ndomains.txt<br>amassenum -passive -d saqqaf.com &gt;&gt; ndomains.txt<br>assetfinder saqqaf.com -subs-only &gt;&gt; ndomains.txt<br>findomain -t saqqaf.com -q &gt;&gt; ndomains.txt <br>knock — no-http saqqaf.com &gt;&gt; ndomains.txt<br>subfinder -d saqqaf.com -all -silent &gt;&gt; ndomains.txt<br>python github-subdomains.py -t $TOKEN -d saqqaf.com | grep -V ‘@’ | sort -u | grep “\.saqqaf.com” &gt;&gt; ndomains.txt<br>altdns -i ndomains.txt -o wtfisthat.txt -w Seclist/wordlist.txt -r -s<br>subfinder -dL ndomains.txt &gt;&gt; ndomains.txt <br>cat ndomains.txt | uniq &gt; enddomains.txt</pre><p>After collecting all the subdomains, I checked each one to begin the pentest.<br> Two of the subdomains appeared to be the same, and both seemed to be related to the Admin Dashboard.</p><p>When reviewing the source code of one of the subdomains, I see a JavaScript variable with the name Ziggy, and sometimes if it’s for Laravel it will show all API endpoints and routes of the Laravel project in the JS code like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*AROz3ppzJtMg18xFEQIDlA.png" /></figure><p>This is the repo of this framework: <a href="https://github.com/tighten/ziggy">https://github.com/tighten/ziggy</a></p><p>I extract all API endpoints and test them with a Python script to identify which ones could be accessed without authentication in the two subdomains:</p><figure><img alt="example how the script is running" src="https://cdn-images-1.medium.com/max/1024/1*vUxE30zka5tHfayvxMbcxw.png" /><figcaption>Example How the script is running</figcaption></figure><p>I identified two API endpoints that were accessible without any authentication, which is a <strong>Broken Access Control</strong> vulnerability.</p><p>I run the Python script to test the endpoints in the subdomain number two,</p><p>and I got a 200 status code for the Horizon and Telescope URLs. For those who don’t know what this is, these are frameworks for Laravel to monitor and debug all requests and errors, etc…</p><p>If you find this, you can go to the logs of HTTP requests and show the request headers of requests that you think the URL is for admin, like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RUmn2n8QF_lXomXir3ZWdQ.png" /></figure><p>And I copy the cookie and paste it in my browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ge_rdKCZ_dt0Wwj23TRW1A.png" /></figure><p>Then I got access to the admin panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*wYTc4sa9Lp84h3CZJDgBfQ.jpeg" /></figure><p>Thanks for Reading <strong><em>;)</em></strong></p><p><strong>صلّ على محمد</strong></p><p>Mohammed Al-saqqaf | Penetration Tester, Soc Analyst and Cyber Security Researcher.</p><p>Linkedin : https://www.linkedin.com/in/mohammed-al-saqqaf-a109042a4</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad51b847ee78" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>