-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinstall.sh
More file actions
47 lines (42 loc) · 1.65 KB
/
install.sh
File metadata and controls
47 lines (42 loc) · 1.65 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
#!/bin/sh
echo "开始安装....."
yum install pip -y
pip3 install -r requirements.txt
yum install git -y
yum install python3 -y
yum install htop -y
yum -y update
yum install gcc libcap libpcap libpcap-devel screen php dstat cmake gmp gmp-devel gengetopt byacc flex git json-c zmap iptraf nano -y
yum groupinstall "Development Tools" -y
yum install gcc php-devel php-pear libssh2 libssh2-devel -y
pecl install -f ssh2
echo -e“\n”
touch /etc/php.d/ssh2.ini
echo -e“\n”
echo extension=ssh2.so > /etc/php.d/ssh2.ini
Service httpd restart
chkconfig httpd on
chkconfig --list | grep httpd
chkconfig -add httpd
chkconfig httpd on
systemctl start httpd.service
systemctl enable httpd.service
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
service iptables save
service iptables restart
firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --reload
pip3 install -r requirements.txt
git clone https://github.com/jasonBrom/DDOS-script
mv /DDOS-script/util /root/util
mv /DDOS-script/res/lists/useragents /root/res/lists/useragents
wget https://raw.githubusercontent.com/jasonBrom/DDOS-script/master/goldeneye.py
wget https://raw.githubusercontent.com/0x01h/pyddoz/master/requirements.txt
wget https://raw.githubusercontent.com/0x01h/pyddoz/master/pyddoz.py
wget https://raw.githubusercontent.com/0x01h/pyddoz/master/proxify.py
wget https://raw.githubusercontent.com/0x01h/pyddoz/master/.travis.yml
wget https://raw.githubusercontent.com/0x01h/pyddoz/master/.gitignore
wget https://raw.githubusercontent.com/jasonBrom/DDOS-script/master/api.php
mv api.php /var/www/html
cd /var/www/html
echo "安装完成请修改 vi /var/www/html/api.php"