#!/bin/bash -e mkdir bin wget -O dirb.tar.gz https://sourceforge.net/projects/dirb/files/latest/download tar -xf dirb.tar.gz chmod -R a+X dirb222/ cd dirb222 chmod a+x configure ./configure make cp dirb ../bin