Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/data/data/com.termux/files/usr/bin/bash

# تحديث الحزم
pkg update -y && pkg upgrade -y

# تثبيت rust لو مش موجود
if ! command -v cargo &> /dev/null
then
echo "[*] Installing Rust..."
pkg install rust -y
fi

# بناء الأداة
echo "[*] Building feroxbuster..."
cargo build --release

# نسخ الملف التنفيذي للمسار
echo "[*] Copying binary to \$PREFIX/bin"
cp target/release/feroxbuster $PREFIX/bin/

echo "[✔] Installation complete! Now you can run: feroxbuster"