Skip to content

Files

Latest commit

6317527 · Jun 26, 2023

History

History

dns-rebinding

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 26, 2023
Jun 26, 2023
Jun 26, 2023
Jun 26, 2023
Jun 26, 2023
Jun 26, 2023
Jun 26, 2023

Installation

  1. Set up a Ruby environment (tested with Ruby 3.2.0). It's recommended to use a virtual environment using ASDF-VM.
  2. Install dependencies: bundle install.
  3. Run! (see below)

Usage

Start the vulnerable app:

VULN=on bundle exec rackup -s puma

Start the fixed app: (requires a configured dnsmasq, see the solution article)

VULN=off bundle exec rackup -s puma

Announcement and solution

Challenge announcement:

Solution article: