Giter Club home page Giter Club logo

isellyouabrick_ctf's Introduction

ISellYouABrick CTF

Welcome to this memium/hard boot2root challange ๐Ÿค“. Why this name? Simply because a marketplace with these vulnerabilities can be just a scam. One in which you buy an electronic product with a strange low price and you will receive instead a brick.

Requirements

  • php ver 7.4.33 or lower.
  • Preferably a linux machine.

Setup

  • Create a new PostgreSQL database with a table called 'users' with the fallowing structure and values:
username passwd account_type
Admin af1_2@df223g-$swea RSnakeXKPLlGdf2gYf
wiener peter dqwe13fdsfq2gys38
  • Clone the repository.
  • Open the login.php file and set the databse credentials in the pg_connect method.
  • In the root folder open a new terminal.
  • Start a php server typing php -S IP:PORT.

Note

First of all, don't use the original credentials that you see during the databese setup to login as Admin ๐Ÿ˜‰. You have to by pass it!

At this moment the challange is not hosted, so you have to host by yourself in localhost and find the way to intercept the localhost requests with your proxy tool (Burp, Zap, etc.).

Morever, it is better to host the challange in a linux machine to avoid problems with all the tools that you need.

Moreover pt.2, precisely because it is hosted in localhost, you have full access to the source code, so obviously if you wont to solve the challange you do not have to read that code.

Too hard?

Visit the wiki for hints and spoilers.

isellyouabrick_ctf's People

Contributors

davidg33k 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.