-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathinstall.sh
executable file
·53 lines (52 loc) · 1.57 KB
/
install.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash
# WPA/WPA2 Cracking Install Script
yum -y install python-devel zlib-devel openssl-devel libpcap-devel.x86_64 subversion screen glibc-devel
yum -y install automake autoconf gcc-c++
mkdir /opt/src
cd /opt/src
wget http://python.org/ftp/python/2.5.4/Python-2.5.4.tgz
tar xzvf Python-2.5.4.tgz
cd Python-2.5.4
./configure --prefix=/opt/python2.5
make && make install
ln -s /opt/python2.5/bin/python2.5 /usr/bin/python2.5
cat > /etc/ld.so.conf.d/opt-python2.5.conf << EOF
/opt/python2.5/lib
EOF
/sbin/ldconfig
#ln -s /opt/python2.5/lib/lib/python2.5.so /opt/python2.5/lib/python2.5/config
cd
wget http://www.secdev.org/projects/scapy/files/scapy-2.1.0.tar.gz
tar -xzf scapy-2.1.0.tar.gz
cd scapy-2.1.0
python2.5 setup.py build
python2.5 setup.py install
cd
wget http://pyrit.googlecode.com/files/pyrit-0.4.0.tar.gz
tar xvzf pyrit-0.4.0.tar.gz
#svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn
cd pyrit-0.4.0
python2.5 setup.py build
python2.5 setup.py install
ln -s /opt/python2.5/bin/pyrit /usr/bin/pyrit
cd
wget http://pyrit.googlecode.com/files/cpyrit-cuda-0.4.0.tar.gz
tar xvzf cpyrit-cuda-0.4.0.tar.gz
cd cpyrit-cuda-0.4.0
python2.5 setup.py build
python2.5 setup.py install
cd
wget http://sourceforge.net/projects/crunch-wordlist/files/crunch-wordlist/crunch-3.1.tgz
tar -xvf crunch-3.1.tgz
cd crunch3.1/
make && make install
ln -s /root/crunch3.1/./crunch /usr/bin/crunch
cd
mkdir -p /tools/wifi
cd /tools/wifi
wget http://wirelessdefence.org/Contents/Files/cowpatty-4.6.tgz
tar zxvf cowpatty-4.6.tgz
cd cowpatty-4.6/
make
ln -s /tools/wifi/cowpatty-4.6/cowpatty /usr/bin/cowpatty
cd