Post

Lo-Fi

Want to hear some lo-fi beats, to relax or study to? We've got you covered!

Lo-Fi

Introduction

First lets start the machine. Desktop View Once the machine start.. and the Ip address appears let’s go to the ip

Desktop View once we are here, let’s click on coffe Desktop View As you can see at the top of the page, ?page=coffe.php its seem to be vulnerable to Local FIle inclusion

Explanation of Local File Inclusion

Local File Inclusion (LFI) is a security vulnerability found in web applications where an attacker can manipulate the file paths used in file inclusion functions to include files that are not intended to be included. These files are typically located on the same server hosting the application, but the attacker may be able to access sensitive files or execute malicious scripts.

Let’s try with the most common command

1
../../../../etc/passwd

You ca see more Payloads here https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/File%20Inclusion/README.md#remote-file-inclusion

Desktop View I tried to another directory Desktop View

Well After a lot of time attempts trying to get the flag, I found the flag, that i even imagine that i could be there ../../../../flag.txt

Desktop View As you can see here is the flag Complete Desktop View

You know that Im learning english, if you see anything wrong, remember I’m learning

This post is licensed under CC BY 4.0 by the author.

Trending Tags