<?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 SAYED HOSSAIN on Medium]]></title>
        <description><![CDATA[Stories by SAYED HOSSAIN on Medium]]></description>
        <link>https://medium.com/@soulf032?source=rss-7e83ed55cc0a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5ivT29IyM1ZX2zyMKwA8ng.jpeg</url>
            <title>Stories by SAYED HOSSAIN on Medium</title>
            <link>https://medium.com/@soulf032?source=rss-7e83ed55cc0a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 01:18:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@soulf032/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[Web Red Team Analyst Exam Write-up]]></title>
            <link>https://medium.com/@soulf032/web-red-team-analyst-exam-write-up-3843b6aa2d08?source=rss-7e83ed55cc0a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3843b6aa2d08</guid>
            <dc:creator><![CDATA[SAYED HOSSAIN]]></dc:creator>
            <pubDate>Fri, 17 Jul 2026 07:21:37 GMT</pubDate>
            <atom:updated>2026-07-17T07:21:37.133Z</atom:updated>
            <content:encoded><![CDATA[<h3>Web-Red Team Analyst Exam Write-up</h3><p>Recently I completed Web RTA certification and here is the detailed write up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-vuRE8mv4xDXHsfCEPW1Ow.png" /></figure><p><strong>Basics Questions : <br>Q1)</strong> [Research] Which vulnerability (short form only) allows users to execute malicious queries in the databases? E.g: XXE</p><blockquote>Flag 1 : SQLi</blockquote><p><strong>Q2)</strong> [Research] Which vulnerability (short form only) lets attackers access data of other users by manipulating object identifiers in requests?</p><blockquote>Flag 2 : IDOR</blockquote><p><strong>Q3)</strong> [Research] Which vulnerability (short form only) tricks a web application into making requests to internal or external resources on behalf of the attacker? E.g: XXE</p><blockquote>Flag 3 : SSRF</blockquote><p><strong>Q4)</strong> [Research] Which vulnerability (short form only) lets an attacker inject malicious payloads into server-side templates to execute code?</p><blockquote>Flag 4 : SSTI</blockquote><p><strong>(Flag 5 — Flag 13)</strong> Now it’s time to explore and find the flags by exploiting Web 01.</p><p><strong>Given IP (Web 01):</strong> <a href="http://34.100.175.35:31711/">http://34.100.175.35:31711</a> (it may vary in your system).</p><p><strong>Q5) What is the role allocated to the unauthenticated users in WebApp01.</strong></p><p><strong>Q6) What is the endpoint where the events are available in WebApp 01? E.g: /abc</strong></p><p><strong>Solution/Steps:</strong></p><p>I got a “Welcome to Event Manager” page, where a login button was listed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4JYzatctVQWKj4PAQQDsuA.png" /></figure><p>As I know, I do not have any credentials for login, so it’s not gonna work. So I tried directory fuzzing using <a href="https://github.com/ffuf/ffuf">ffuf</a> tool, where I got an interesting page: <strong>/dashboard</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uVo1LJ_PmpgAUhLKszv5XQ.png" /></figure><p>I visited the /dashboard page and found a user whose <strong>Role</strong> is <strong>anonymous</strong>. We found this user without login, so it is an <strong>unauthenticated</strong> user. Also, we can see an “<strong>All Events</strong>” section available in this dashboard page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YJC-Jqm0viAxQqFuJ2kgzw.png" /></figure><blockquote>Flag 5 : anonymous</blockquote><blockquote>Flag 6 : /dashboard</blockquote><p><strong>Q7) What is the name of the event visible to authenticated users in WebApp 01?</strong></p><p>As per the question, we have to login as an authenticated user, but we do not have any credentials yet. So I finally found a JWT without a signature in the cookie section (<strong>access_token_cookie</strong>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZdENGGx-lF_Yc67Hofsj_A.jpeg" /></figure><p>A JWT without a signature is an <em>Algo:None</em> vulnerability. With this vuln, we don’t need any signature for the JWT payload modification — we can easily modify the JWT and the server will accept the cookie.</p><p>So I copied the JWT and went to the “<a href="https://www.jwt.io/">jwt.io</a>” website and modified the payload:<br>anonymous → user</p><p>Anonymous JWT cookie:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dPXwcyYcgYPjgYHzlGjp8g.jpeg" /></figure><p>Now I changed it to <strong>user</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N56NdqtyjRrlaVUdBKyIjQ.jpeg" /></figure><p>Then I copied the cookie, went to the /dashboard page, pasted it into the <strong>access_token_cookie</strong> value, and refreshed the page.</p><p>Yeyy — finally we are logged in as a “<strong>user</strong>”, and got the event name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ogW9V0D40rA7gPxiqtqEIQ.jpeg" /></figure><blockquote>Flag 7 : Masquerade Ball</blockquote><p><strong>Q8) What is the username of the admin user in WebApp 01?</strong></p><p>We can see the event “Masquerade Ball” — <strong>Created by: notatypicalsysadmin</strong>. So we found the username of the admin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XMI4UGTW0wjwsrNjX2KrPQ.png" /></figure><blockquote>Flag 8 : notatypicalsysadmin</blockquote><p><strong>Q9) What is the absolute path of the file which contains the string “flag” (present in the local filesystem) in WebApp 01?</strong></p><p>Before proceeding further, I tried to login as “admin” by modifying the same JWT, but that didn’t work :(</p><p>But wait, why was I worrying too much? I have the admin username :) We can login as admin through the official login method.</p><p>So we know the admin username, but not the password. So I finally understood we have to <strong>bypass</strong> the login page using <strong>SQLi</strong>. I tried this simple SQL payload in the login page:</p><pre>notatypicalsysadmin&#39; OR 1=1--</pre><p>You can enter anything in the password section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sxXRyNPh-5xsL4g3rsHUpw.jpeg" /></figure><p>Finally logged in as admin, yeyyyy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wzABu47-O6Y99lpioUEzTA.jpeg" /></figure><p>Now for the flag, I went into the update section, where I found a very interesting thing: <strong>Update Event</strong> with a “<em>submit XML</em>” section. That means we can perform an <a href="https://github.com/swisskyrepo/PayloadsAllTheThings/tree/master/XXE%20Injection#xml-external-entity">XXE</a> (XML External Entity) attack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JY8vG4JvYbQ1d-5U_VDslA.jpeg" /></figure><p>As we know, we can retrieve all listed users and data from the server using /etc/passwd. So I crafted an XXE payload to retrieve the data/users:</p><pre>&lt;?xml version=&quot;1.0&quot;?&gt;<br>&lt;!DOCTYPE event [!ENTITY xxe SYSTEM &quot;file:///etc/passwd&quot;&gt;]&gt;<br><br>&lt;event&gt;<br>    &lt;title&gt;&amp;xxe;&lt;/title&gt;<br>    &lt;description&gt;test&lt;/description&gt;<br>    &lt;happening_at&gt;2051-12-31T10:00&lt;/happening_at&gt;<br>    &lt;visibility&gt;user&lt;/visibility&gt;<br>&lt;/event&gt;</pre><p>I typed this payload into the <strong>Update Event</strong> box and clicked the <strong>Submit XML</strong> button.<br>After submitting, we got some data from the server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y19siDCavP5NQIajvfN1dQ.jpeg" /></figure><blockquote>Flag 9 : /etc/passwd</blockquote><p><strong>Q10) What is the value of the flag in WebApp 01?</strong></p><p>We already have the flag — look carefully at the server data we retrieved using the XXE attack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rvok6DQajqMSp5zl4Aq8KQ.jpeg" /></figure><blockquote>Flag 10 : flag:x:1001:1001:Not there yet Seek out client and go for login:/tmp:/bin/false</blockquote><p><strong>Q11) What is the internal URL for fetching secrets in WebApp 01?</strong></p><p>For this challenge, we need to navigate to the “<strong>Check Outage</strong>” section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*su-ZhyFpBzYJeDgCaRd3_g.jpeg" /></figure><p>After this, I recommend using BurpSuite for the following steps, since we want the internal URI. So I opened BurpSuite and navigated the page.</p><p>I found 2 functions in “<a href="http://34.100.175.35:31711/fetch_internal_secret">http://34.100.175.35:31711/fetch_internal_secret</a>&quot;:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GSSXheGiY7NJbbFN1uq2UA.jpeg" /></figure><ol><li>Check our status → gives the system status.</li><li>Fetch Secret → we can perform an <strong>SSRF attack</strong> here.</li></ol><p>I clicked the “<strong>Check our status</strong>” button and saw something interesting: the server gave a URL (<em>“requested_uri”: “</em><a href="http://127.0.0.1:8000/health"><em>http://127.0.0.1:8000/health</em></a><em>&quot;</em>).</p><p>This is an internal URL(http://127.0.01:8000) that the server fetches data<br>we can use this for the SSRF attack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-MCfJgJItPxusVyY34w3iA.jpeg" /></figure><p>I tried it but got an error, there’s a firewall behind the application that needs to be bypassed. For this, I opened BurpSuite, selected that endpoint, and sent it to “<strong>Repeater</strong>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tpP11Pz1-fmC12bU3T2oAQ.jpeg" /></figure><p>Now we have to encode our URL → “http%3A%2F%2F127.0.0.1%3A8000”</p><p><strong>Steps to encode:<br>1. </strong>Select “http%3A%2F%2F127.0.0.1%3A8000”<br>2. Right click → Convert selection → URL → URL-encode all characters</p><p>Sending the request woop woop got the “<strong>internal secret URI</strong>” along with some <strong>hex</strong> values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hcgie7_qO_Re32OaKXa_1g.jpeg" /></figure><blockquote>Flag 11 : <a href="http://127.0.0.1:8000/secret">http://127.0.0.1:8000/secret</a></blockquote><p><strong>Q12)</strong> <strong>What is the encoded data (labeled “hidden in layers”) returned by the successful exploitation of the vulnerability that allows attackers to reach internal URLs in WebApp 01?</strong></p><p>We already found some encoded hex values, in “<strong>hidden_in_layers</strong>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y82tsg12sk-To7cNnWrG7w.jpeg" /></figure><blockquote>Flag 12 : 64 58 4e 6c 63 6c 38 30 5a 6d 49 33 4f 44 51 35 4d 54 42 6c 5a 44 67 36 4f 54 5a 6d 4f 54 4e 68 4d 44 45 79 4e 57 49 30 4d 54 41 33 4e 6d 51 35 4e 54 49 77 4d 6a 55 34 4e 44 55 7a 4f 44 45 35 4e 47 4d 3d</blockquote><p><strong>Q13) What is the plaintext version of “hidden in layers” in WebApp 01?</strong></p><p>I opened the CyberChef website and followed this procedure:</p><ol><li>Select the “From Hex” option and paste the hex values. Got the base64 data.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AI1itIAREANKOOEEYQsayw.jpeg" /></figure><p>Then I took the base64 data and ran this command in the terminal:</p><pre>echo &quot;dXNlcl80ZmI3ODQ5MTBlZDg6OTZmOTNhMDEyNWI0MTA3NmQ5NTIwMjU4NDUzODE5NGM=&quot; | base64 -d</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v_wgDqvOYN_A3SVMDGyvqQ.jpeg" /></figure><p>We got credentials, this is our flag.</p><blockquote>Flag 13 : user_4fb784910ed8:96f93a0125b41076d95202584538194c</blockquote><p>Till here, we have covered/completed Web 01.</p><p><strong>Q14) What is the endpoint where WebApp 02 has its login page configured? E.g: /abc/def</strong></p><p><strong>Given IP:</strong> <a href="http://34.100.175.35:30131/">http://34.100.175.35:30131</a> (it may vary in your system)</p><p>When I opened my browser using this IP, it gave an error.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YYg0irh-mMu1nhafwTYxJQ.jpeg" /></figure><p>I thought it was my network problem or something wrong with the lab or the IP. I was pretty worried about it. Then I realized we have to find the login page according to the question. So I tried fuzzing the endpoint using the <strong>ffuf</strong> tool, but that didn’t work for me either :(</p><p>I got nothing from fuzzing.</p><p>After wasting a lot of time, I found something related to “<strong>Flag 10</strong>.” There’s a message in that flag, you have to read it very carefully.</p><h3><strong>Message:</strong> “Not there yet Seek out client and go for login”</h3><blockquote>So the endpoint is: /client/login</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s71d9K3ALJD0R-Ocb8SeAA.jpeg" /></figure><blockquote>Flag 14 : /client/login</blockquote><p><strong>Q15) What is the Client ID allocated to the exfiltrated credentials (obtained from “hidden in layers”) in WebApp 02?</strong></p><p>Remember, we found credentials in “<strong>Flag 13”</strong>, just login with those credentials, and you’ll get the Client ID.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PXfMevnLwXrcRXhOqhnctg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7AakYmlARzPla8Tw0HYVhw.jpeg" /></figure><blockquote>Flag 15 : client_1337</blockquote><p><strong>Q16)</strong> What is Bob’s Credit Card number?</p><p>Again, login using user_4fb784910ed8, but this time intercept the request using BurpSuite. Then change the <strong>scope: read</strong> to <strong>scope: admin</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rc8Ykf8upiWROvdspMjYjg.jpeg" /></figure><p>Forward the request, Go back in your browser. Now you’ll get a page for scope admin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hRcJnD-90uPbSBH8OdTF1w.jpeg" /></figure><p>Click the allow button, go back into <strong>BurpSuite</strong>, change scope: <strong>read → admin </strong>again, and forward the request. Go back to the browser and you’ll see an <strong>OTP</strong> challenge page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BcVujTNrE7Gf5eWoR90l0g.jpeg" /></figure><p>Now we have to brute-force the OTP using Intruder by intercepting the request, fill the OTP with 000 and click “<strong>Submit OTP</strong>”.</p><p>Intercepting the request:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hcE1k7ho0N3N2O9FnRAM1Q.jpeg" /></figure><p>Send it to Intruder by pressing <strong>Ctrl + I :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fmzXsI0eJcp8gjjxA6xiRw.jpeg" /></figure><p><strong>Steps for OTP brute-force:</strong></p><ol><li>Select the “000” OTP</li><li>Click the “Add” button</li><li>Select payload type: Numbers</li><li>Range: 000 → 999 (since OTP is only 3 digits)</li><li>Min integer digits: 3, max: 3 (so it runs from 001 to 999)</li></ol><p>Now click “<strong>Start attack</strong>” — it will take some time since this is BurpSuite Community Edition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WNkWrOFal0CVRzQFYK_HfQ.jpeg" /></figure><p>During the OTP brute-force, most requests return <strong>status code 400</strong>, but one request will <strong>return 302 (redirect) or 200</strong>. In my case, I got <strong>OTP</strong>: 284 (it may vary in your lab).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9ZeAPeiol5uAq6EBCDsNuw.jpeg" /></figure><p>Now pause the attack and turn off intercept. Go back to the browser, you’ll see an invalid code page. Don’t worry, just refresh the page and enter the OTP. Now we have the admin dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bBMaIaxq8_6dxpalkCdtIA.jpeg" /></figure><p>Navigate into the admin panel, you will see Bob’s credit card details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FpB59lccSn6yILVEsPG4xA.jpeg" /></figure><blockquote>Flag 16 : 4367 9701 5608 8497</blockquote><p><strong>So this lab has ended with fun. I hope you enjoy it.</strong></p><h3>My Web-RTA Certificate:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FYmX8Y_tXr9GSKk-PlnJuA.png" /></figure><p><strong>If you have any questions, connect with me on LinkedIn or Instagram:</strong></p><blockquote><strong>LinkedIn</strong>: <a href="http://www.linkedin.com/in/sayed-hossain-ansari">http://www.linkedin.com/in/sayed-hossain-ansari</a></blockquote><blockquote><strong>Instagram</strong>: f1r350ul</blockquote><p>Thank You.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3843b6aa2d08" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EXPLOITATION OF WINDOWS-7]]></title>
            <link>https://medium.com/@soulf032/exploitation-of-windows-7-b8ded4753092?source=rss-7e83ed55cc0a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8ded4753092</guid>
            <dc:creator><![CDATA[SAYED HOSSAIN]]></dc:creator>
            <pubDate>Tue, 08 Oct 2024 10:46:21 GMT</pubDate>
            <atom:updated>2024-10-08T11:33:21.562Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>NOTE</strong> → Kali and Windows-7 machines must be in the same network, and Windows-7 firewall must be turned off.</p><ul><li>First we need to scan the Windows-7_machine(IP address -&gt; 10.0.2.5) by using <strong>NMAP</strong> tool to find the <em>running versions</em>,<em>services</em> and <em>open ports</em>, here you can see the image below;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*3e35HlGpSBx18vwSvhr3Gg.png" /></figure><ul><li>In above image we clearly see that the port 445/tcp is open. As we know 445/tcp follows the <strong>smb(Server Messege Block)</strong> protocol, then we again scan the 445/tcp(smb-vuln) using command →<strong> nmap — script smb-vuln* 10.0.2.5</strong></li><li>if there is any <strong>smb Vulnerability</strong> then we can easily exploit the Windows-7. Image below;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*7BViqj4qDgk6cK4Q-VecQg.png" /></figure><ul><li>In above image we can see “<strong>smb-vuln-ms17–010</strong>”. Now run the Metasploit tool in terminal by using command → msfconsole, and <strong>search <em>ms17</em></strong> , here you can see the image below;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*24CGGyhL6Y-_KynJ9YwDFg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rRXyS9sIRWDjDrJjRpgDUg.png" /></figure><ul><li>in above image, you can see a lot of matching Modulus of ms17, I’m going to use → <strong>exploit/windows/smb/ms17_010_eternalblue</strong>, using command → <strong>use 0</strong></li></ul><h4><strong>NOTE</strong>→ I’M USING <strong>exploit/windows/smb/ms17_010_eternalblue</strong> , YOU CAN ALSO USE ALL OTHER MODULUS TO EXPLOIT THE WINDOWS-7.</h4><ul><li>Now, check the <strong>available options</strong> by using command → “<strong>show options</strong>” image below;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*WD02N9dym43bBe5zCMJDKQ.png" /></figure><ul><li>Now, set the RHOSTS (Target IP address -&gt; Windows-7) by using command → “<strong>set RHOSTS 10.0.2.5”</strong></li><li>you can check the <strong><em>rhosts status</em></strong>, again entering the command -&gt; “<strong>show options”</strong> here you can see the image below;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*xOTLZFz9tgg-MgBgbTXwRA.png" /></figure><ul><li>Now enter the command → “run” or “exploit” (whatever you choose)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6nW0nRc-vigigTM7TPVFjA.png" /></figure><ul><li><strong>HURRAY, YOU SUCCESSFULLY HACKED THE WINDOWS-7 MACHINE :)</strong></li></ul><p>Thank You…</p><p>If you have any query then connect with me :)</p><p>EMAIL → hossainsayed036@gmail.com</p><p>INSTAGRAM → @__sayed786__</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8ded4753092" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EXPLOITATION OF METASPLOITABLE.]]></title>
            <link>https://medium.com/@soulf032/exploitation-of-meta-2-1277d730d56b?source=rss-7e83ed55cc0a------2</link>
            <guid isPermaLink="false">https://medium.com/p/1277d730d56b</guid>
            <dc:creator><![CDATA[SAYED HOSSAIN]]></dc:creator>
            <pubDate>Mon, 07 Oct 2024 11:56:15 GMT</pubDate>
            <atom:updated>2024-10-08T03:40:38.525Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>NOTE</strong> → Kali and Metasploitable machine must be in same network</p><ul><li>First we need to scan the metasploitable_machine(IP address -&gt; 10.0.2.4) by using <strong>NMAP</strong> tool to find the <em>running versions</em> and <em>open ports</em>, here you can see the image below;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*NkItPfCP7TiRndU9S6SP0g.png" /></figure><ul><li>Now run the Metasploit tool in terminal by using command → msfconsole, and lets take the <strong>port no 21/tcp</strong> that version is <strong>vsftpd 2.3.4</strong>, and <strong>search</strong> this version into metasploit tool, here you can see the image below;</li><li><strong>NOTE</strong>→ I’M USING FTP PORT, YOU CAN ALSO USE ALL OTHER PORTS TO EXPLOIT THE METASPLOITABLE_MACHINE</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*grElK9xOooxH_Ai_5TZgpA.png" /></figure><ul><li>Now, use the <strong>exploit/unix/ftp/vsftpd_234_backdoor</strong> by using command → “<strong>use 0&quot;</strong></li><li>Now, check the available options by using command → “show options”</li><li>Now, set the RHOSTS (Target IP address -&gt; metasploitable_machine) by using command → “<strong>set RHOSTS 10.0.2.4&quot;</strong>, you can check the rhosts status, again entering the command -&gt; “<strong>show options”</strong> here you can see the image below;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*hJXR35tu7cgOPJ3caizqeQ.png" /></figure><ul><li>Now enter the command → “run” or “exploit” (whatever you choose)</li></ul><h4>Check the below image → when you see the message “Found shell”, then just type “shell” and you now get the shell with username(eg: root@metasploitable)</h4><ul><li><strong>HURRAY, YOU SUCCESSFULLY HACKED YOUR METASPLOITABLE_MACHINE :)</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*RRjAEDH8JWk3zyoXFGe2aA.png" /></figure><p>Thank You…</p><p>If you have any query then connect with me :)</p><p>EMAIL → hossainsayed036@gmail.com</p><p>INSTAGRAM → @__sayed786__</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1277d730d56b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>