Installation

Using Homebrew

Homebrew is the package manager for MacOS(or linux). On devices using homebrew, you can easily install/update using the brew command.

Install homebrew

▶ /bin/bash -c "▶(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Install dalfox

▶ brew tap hahwul/dalfox
▶ brew install dalfox

Using Snapcraft

Snapcraft is one of the packaging managers for Linux. Unlike app and yum, it can be used independently of the deployment OS version.

Install Snapcraft

Please check this documents https://snapcraft.io/docs/installing-snapd

Install dalfox

▶ sudo snap install dalfox

From the source (developement version)

Use to go get

▶ GO111MODULE=on go get -v github.com/hahwul/dalfox/v2

The update is the same as the installation method.

Use to git clone, go build and go install

// clone repo (for first-time installations)
▶ git clone https://github.com/hahwul/dalfox

// if you update dalfox,
// git pull -v

// if you install GOPATH
▶ go install

// build binary
▶ go build

Using Docker

Dalfox provides docker images by version. It can be used lightly with less capacity.

▶ docker pull hahwul/dalfox:latest

if you installed it, using like this command

▶ docker run -it hahwul/dalfox:latest /app/dalfox url https://www.hahwul.com

or live in docker

▶ docker run -it hahwul/dalfox:latest /bin/bash
▶ ./dalfox
run dalfox on docker