-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdependencies.sh
38 lines (35 loc) · 1.5 KB
/
dependencies.sh
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
#!/bin/bash
os=$(uname -o | cut -f1)
arch=$( uname -m | cut -f1)
function main {
chmod u+x ~/Hash_crack/ssh_service_attack.py ~/Hash_crack/start_tor.sh ~/Hash_crack/UnRAR.exe ~/Hash_crack/RARNinja.py ~/Hash_crack/zcrack.py ~/Hash_crack/crunch.sh ~/Hash_crack/dependencies.sh ~/Hash_crack/crunch ~/Hash_crack/Hasher.py ~/Hash_crack/multiprocess2.py ~/Hash_crack/multiprocess1.py ~/Hash_crack/brute_force.py
echo "Installing dependencies"
sleep 2
if [ "$os" = 'Android' ] ; then
apt install python3 python-pip rust -y
python3 -m pip install pyfiglet requests termcolor rarfile colorama pycryptodome bcrypt passlib gmssl
else
sudo apt install python3 python3-pip tor proxychains4 -y
python3 -m pip install pyfiglet requests termcolor rarfile colorama pycryptodome bcrypt passlib gmssl paramiko
sudo cp -f ~/Hash_crack/proxychains4.conf /etc/proxychains4.conf
fi
git clone https://github.com/oohlaf/python-whirlpool.git
cd python-whirlpool
python3 -m pip install -e .
if [ "$os" = 'Android' ] ; then
if [ "$arch" = 'aarch64' ] ; then
cp -f ~/Hash_crack/crunch $PATH/
echo $(clear)
echo "The system supports the Hash_crack directory crunch"
else
apt install crunch -y
echo $(clear)
echo "¡Ready! Everything is now set up"
fi
else
sudo apt install crunch -y
echo $(clear)
echo "¡Ready! Everything is now set up"
fi
}
main