설치
플랫폼에 맞는 설치 방법을 고르세요. Dalfox는 별도로 관리할 런타임 없이 단일 실행 파일 하나로 배포됩니다.
Homebrew (macOS & Linux)
brew install dalfox
Homebrew formula는 최신 안정 버전을 따라갑니다. 출처: formulae.brew.sh/formula/dalfox.
Snap (Ubuntu / Linux)
sudo snap install dalfox
Arch Linux (AUR)
AUR 헬퍼 사용(권장):
yay -S dalfox
# 또는
paru -S dalfox
AUR 패키지에서 직접 빌드:
git clone https://aur.archlinux.org/dalfox.git
cd dalfox
makepkg -si
Nix & NixOS
# 설치 없이 한 번만 실행
nix-shell -p dalfox
# Nix flakes: GitHub에서 최신 버전 실행
nix run github:hahwul/dalfox -- scan https://example.com
# 프로필에 설치
nix profile install github:hahwul/dalfox
# Dalfox가 준비된 개발 셸로 진입
nix develop github:hahwul/dalfox
Dalfox는 nixpkgs에 등록되어 있습니다. 최신 릴리스는 먼저 unstable에 올라옵니다.
Cargo (crates.io)
cargo install dalfox
최신 Rust 툴체인이 필요합니다(stable이면 충분). ~/.cargo/bin/dalfox에 빌드됩니다.
사전 빌드된 바이너리
github.com/hahwul/dalfox/releases에서 OS/아키텍처에 맞는 릴리스 아카이브를 내려받아 압축을 풀고, 바이너리를 PATH에 있는 경로(/usr/local/bin, ~/.local/bin 등)에 두면 됩니다.
릴리스마다 다음 Linux 빌드를 함께 제공합니다.
linux-x86_64(glibc)linux-x86_64-musl(정적 링크, Alpine·Docker·CI에 권장)linux-aarch64(glibc)linux-aarch64-musl(정적 링크)
소스에서 빌드
git clone https://github.com/hahwul/dalfox
cd dalfox
cargo build --release
# 바이너리 경로: ./target/release/dalfox
Rust(2024 edition)가 필요합니다. 없다면 rustup으로 설치하세요.
설치 확인
dalfox --version
dalfox 3.1.2 같은 버전 정보와 함께 Dalfox 배너가 보이면 됩니다.
셸 자동완성 갱신 (선택)
Dalfox는 clap을 쓰기 때문에 도움말을 언제든 볼 수 있습니다.
dalfox --help
dalfox scan --help