Giter Site home page Giter Site logo

fuzzer's Introduction

Fuzzer

What and Why

Plug and play-repo to fuzz sudo with AFL inside an Ubuntu Docker Container. Works on Windows 10, although the only non-OS-agnostic component is the syntax for the volume-description in docker-compose.yaml. Meaning you should be able to run this on a toaster, granted you get to run docker on it.

Who uses this? Very busy nerds. This repo enables you to run the proof of concept for fuzzing sudo in minutes. If you have the time to get to a working fuzzer yourself starting from LO's template, please do. I learned an awful lot during this process.

This is a crude reproduction of LiveOverflow's (LO) Pwnedit Episode02. Use at your own risk.

All Credits: @LiveOverflow Github YouTube and any mistakes that you will find here are mine.

Requirements

How to use

Adjust paths in docker-compose.yaml

My path is hardcoded in this file. You will have to adjust the 'c:/Users/Alex/Desktop/Fuzzer/src' bit to point to where the src-Folder of this Repository lives on your system.

Follow instructions from README.txt or read on:

Build images and run container in repo-folder:

Open a command-prompt by pushing Win + R (i.e. push down Windows button and R button on Keyboard down at the same time), then enter cmd and press ENTER. Enter the following commands without the prefixxed $-Sign

$ docker-compose build --no-cache
$ docker-compose up

Here you will get something that looks like this: 'XXX_fuzzer_1'. Write that down. After docker-compose up leads to fuzzer_1 | ..., open new command prompt.

In new prompt:

$ docker exec -u 0 -it XXX_fuzzer_1 bash

This opens up a root shell in container.

As root:

$ /root/code/setup.sh

Test whether sudo binary is healthy:

$ /root/sudo-1.8.31p2/src/sudo #then press ENTER

Start Fuzzing:

$ /root/code/start.sh

fuzzer's People

Contributors

jumphoysteria avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.