Code Monkey home page Code Monkey logo

dvfza's Introduction

Welcome to the DVFZA - Damn Vulnerable File Zipper App

This is a CTF (Capture the flag) like exercise.

This app is for learning purposes only and should never be used in any real production environment.

This app is damn vulnerable.

Not even any of this should be trusted so please perform the due diligence before running this app in your environment.

You need to hack this app.

The app is intended to be run as a docker container, but could be run on a testing debian-based linux server too.

Prerequisites

You need to have docker installed. It is a containerized app, so it needs to be run as such. DO NOT exec into the container using docker commands and work with it as if it was a server. Cheating won't be punnished but the fun will be gone. Check how to run the app container section bellow.

Game scenario:

There are two flags on the server (container) that need to be found and captured.
Hint - have you ever thought that a file upload could be unsafe?

If you were really stuck, there is the solution directory.
It holds two base64 encoded files with suggested solutions. Decode only the part1 first.

App description:

Welcome to the finest Zipper App out there! You have a file that you need to zip? We have you covered, try it out!

Hint: Start by checking your localhost:5000 upon running the container.

How to run the app container

  1. Perform your due diligence on the app, I mean it
  2. Clone this repository
  3. In the root of the project, run docker build -t dvfza .
  4. Run the app by docker run -p 0.0.0.0:5000:5000 -p 0.0.0.0:2222:2222 dvfza

Have fun.

Feel free to open pull requests.

dvfza's People

Contributors

klexus1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.