<?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 Mudasir Shah on Medium]]></title>
        <description><![CDATA[Stories by Mudasir Shah on Medium]]></description>
        <link>https://medium.com/@mudasirshah9777?source=rss-03decb800902------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*7Rl54xPS2e9APCMd</url>
            <title>Stories by Mudasir Shah on Medium</title>
            <link>https://medium.com/@mudasirshah9777?source=rss-03decb800902------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 17:19:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mudasirshah9777/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[Fawn: Hack The Box]]></title>
            <link>https://medium.com/@mudasirshah9777/fawn-hack-the-box-02b057df4f86?source=rss-03decb800902------2</link>
            <guid isPermaLink="false">https://medium.com/p/02b057df4f86</guid>
            <category><![CDATA[hack-the-box-writeup]]></category>
            <category><![CDATA[pentesting]]></category>
            <dc:creator><![CDATA[Mudasir Shah]]></dc:creator>
            <pubDate>Mon, 20 Jan 2025 18:42:19 GMT</pubDate>
            <atom:updated>2025-01-20T23:39:52.726Z</atom:updated>
            <content:encoded><![CDATA[<h3>Fawn: Hack The Box Writeup</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*Yg5j6gCaBYOUdcegtZgOPQ.png" /></figure><p>FTP (File Transfer Protocol) is a standard network protocol used to transfer files between computers on a TCP/IP network. It operates on a client-server model where users can upload, download, and manage files on remote systems. FTP traditionally works on an unencrypted connection, posing a security risk. However, extensions such as SFTP (Secure FTP) provide a secure alternative by encrypting the data during transmission.</p><p>In this blog, we’ll walk through the challenges presented in the “Fawn” room on Hack The Box, which focuses on the FTP protocol. Here are the questions and answers that guide us through the exploration:</p><h3>Task 1: What does the 3-letter acronym FTP stand for?</h3><p><strong>Answer:</strong><br>File Transfer Protocol</p><p>FTP is a protocol used for transferring files between clients and servers on a network.</p><h3>Task 2: Which port does the FTP service listen on usually?</h3><p><strong>Answer:</strong><br>21</p><p>FTP commonly uses port 21 for establishing connections between the client and the server.</p><h3>Task 3: FTP sends data in the clear, without any encryption. What acronym is used for a later protocol designed to provide similar functionality to FTP but securely, as an extension of the SSH protocol?</h3><p><strong>Answer:</strong><br>SFTP</p><p>SFTP, or Secure File Transfer Protocol, offers secure file transfers by encrypting the data, unlike FTP which transmits data in plaintext.</p><h3>Task 4: What is the command we can use to send an ICMP echo request to test our connection to the target?</h3><p><strong>Answer:</strong><br>ping</p><p>The ping command is used to check connectivity between the client and server by sending ICMP echo requests.</p><h3>Task 5: From your scans, what version is FTP running on the target?</h3><p><strong>Answer:</strong><br>vsftpd 3.0.3</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*4vbMMkGNJKr4iwF2q6Bh1g.png" /></figure><p>This indicates the version of the FTP service running on the target system.</p><h3>Task 6: From your scans, what OS type is running on the target?</h3><p><strong>Answer:</strong><br>Unix</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*mBEb22B5sCLrxtfwyvkwxA.png" /></figure><p>The target system is identified as running a Unix-based operating system.</p><h3>Task 7: What is the command we need to run in order to display the ‘ftp’ client help menu?</h3><p><strong>Answer:</strong><br>ftp -?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*Fmnv3eJNzxJi0xZ8IiPPWw.png" /></figure><p>Running ftp -? will display the help menu for the FTP client, offering guidance on available commands.</p><h3>Task 8: What is the username that is used over FTP when you want to log in without having an account?</h3><p><strong>Answer:</strong><br>anonymous</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*XNypQ6o_zA2EjomUGpTOTw.png" /></figure><p>The “anonymous” user is commonly used in FTP to access public files without needing a formal login.</p><h3>Task 9: What is the response code we get for the FTP message ‘Login successful’?</h3><p><strong>Answer:</strong><br>230</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*NvCXeiy98cat20JpFoNYyg.png" /></figure><p>The FTP response code 230 indicates a successful login.</p><h3>Task 10: There are a couple of commands we can use to list the files and directories available on the FTP server. One is dir. What is the other that is a common way to list files on a Linux system?</h3><p><strong>Answer:</strong><br>ls</p><p>The ls command is commonly used in Unix/Linux environments to list files and directories.</p><h3>Task 11: What is the command used to download the file we found on the FTP server?</h3><p><strong>Answer:</strong><br>get</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*dDWNrf5aoMkSTdnWjHNL0g.png" /></figure><p>The get command is used to download files from an FTP server.</p><h3>Final Flag</h3><p><strong>Answer:</strong></p><p>035db21c881520061c53e0536e44f815</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*lTnN3aHsgdn1oXAmA0bPhg.png" /></figure><h3>Conclusion</h3><p>This room walks participants through common FTP commands and principles, providing a practical learning experience. Through scanning the target system, we also gained insights into FTP services, versions, and response codes, while leveraging commands like ping, ls, and get to interact with the server. Whether you’re learning the basics of FTP or honing your penetration testing skills, the “Fawn” room is a great starting point for familiarizing yourself with file transfer protocols and network security practices.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=02b057df4f86" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>