-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
76 lines (64 loc) · 3.42 KB
/
install.sh
File metadata and controls
76 lines (64 loc) · 3.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/bin/bash
set -e
cat << "EOF"
███████╗█████╗ ███████╗████████╗███████╗██╗███████╗
██╔════╝██╔══██╗██╔════╝╚══██╔══╝██╔════╝██║██╔════╝
███████╗███████║███████╗ ██║ █████╗ ██║███████╗
╚════██║██╔══██║╚════██║ ██║ ██╔══╝ ██║╚════██║
███████║██║ ██║███████║ ██║ ███████╗██║███████║
╚══════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝╚══════╝
EOF
echo "\n🚀 Instalando FastDir - Ultra Fast Directory Brute Forcer"
echo "By lgdev2002 - Co-CEO BackTrackSec"
echo ""
echo "📦 Instalando FastDir via build local..."
mix deps.get
mix escript.build
sudo cp fastdir /usr/local/bin/
sudo chmod +x /usr/local/bin/fastdir
echo "✅ FastDir instalado com sucesso!"
echo ""
echo "Exemplo de uso:"
echo " fastdir -u https://target.com -w /wordlists/common.txt"
echo " fastdir -u https://target.com -w https://example.com/wordlist.txt -t 200"
echo ""
echo "Documentação: https://github.com/lgdev2002/fastdir"
echo "Issues: https://github.com/lgdev2002/fastdir/issues"
#!/bin/bash
set -e
# Banner
cat << "EOF"
███████╗█████╗ ███████╗████████╗███████╗██╗███████╗
██╔════╝██╔══██╗██╔════╝╚══██╔══╝██╔════╝██║██╔════╝
███████╗███████║███████╗ ██║ █████╗ ██║███████╗
╚════██║██╔══██║╚════██║ ██║ ██╔══╝ ██║╚════██║
███████║██║ ██║███████║ ██║ ███████╗██║███████║
╚══════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝╚══════╝
EOF
echo "\n🚀 Instalando FastDir - Ultra Fast Directory Brute Forcer"
echo "By lgdev2002 - Co-CEO BackTrackSec"
echo ""
# Verifica se Docker está instalado
if ! command -v docker &> /dev/null; then
echo "❌ Docker é necessário, mas não está instalado."
echo "Instale o Docker: https://docs.docker.com/get-docker/"
exit 1
fi
echo "📦 Baixando a imagem mais recente do FastDir..."
docker pull lgdev2002/fastdir:latest
echo "🔗 Criando comando 'fastdir' no sistema..."
INSTALL_DIR="/usr/local/bin"
SCRIPT_PATH="$INSTALL_DIR/fastdir"
sudo tee "$SCRIPT_PATH" > /dev/null <<EOF
#!/bin/bash
docker run --rm -v \$(pwd):/output lgdev2002/fastdir:latest "\$@"
EOF
sudo chmod +x "$SCRIPT_PATH"
echo "✅ FastDir instalado com sucesso!"
echo ""
echo "Exemplo de uso:"
echo " fastdir -u https://target.com -w /wordlists/common.txt"
echo " fastdir -u https://target.com -w https://example.com/wordlist.txt -t 200"
echo ""
echo "Documentação: https://github.com/lgdev2002/fastdir"
echo "Issues: https://github.com/lgdev2002/fastdir/issues"