Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #-e
- # cd /home && wget http://mleech.com/install/install.sh && chmod 777 install.sh && ./install.sh && rm -rf /home/install.sh && cat /dev/null > ~/.bash_history && history -c
- #encode this file shc -v -r -T -f install.sh
- echo "#####################################################"
- echo "# #"
- echo "# MLEECH #"
- echo "# auto leeching and uploading bot installer v.1 #"
- echo "# #"
- echo "#####################################################"
- echo ""
- echo "Set your mleech username [a-z,0-9] followed by [ENTER]:"
- read mb_username
- echo ""
- echo ""
- echo "Set your mleech password [a-z,0-9] followed by [ENTER]:"
- read mb_password
- echo ""
- echo "Set your mleech email [youremail@provider.tld] followed by [ENTER]:"
- read mb_email
- echo "Chose your mleech license type [1-2-3] followed by [ENTER]:"
- echo "1. Monthly";
- echo "2. Yearly";
- echo "3. Lifetime";
- read mb_type
- echo ""
- function pre_install {
- #set -e
- prompt_install=false;
- linux_version=$(cat /etc/redhat-release)
- if [[ $linux_version =~ .*CentOS.*6\.([[:digit:]]).* ]]
- then
- centos_version=${BASH_REMATCH[1]}
- echo "You are using CentOS 6.$centos_version"
- else
- echo "You are not using centos 6"
- exit 1;
- fi
- linux_version_x=$(uname -a)
- if [[ $linux_version_x =~ .*x86_64.* ]]
- then
- echo "You are using CentOS 6.$centos_version on 64 bits"
- else
- echo "You are not using centos 6 x64"
- exit 1;
- fi
- server_hdd=$(df -h --total)
- if [[ $server_hdd =~ total[[:space:]]+([a-zA-Z0-9.,]+)[[:space:]]+([a-zA-Z0-9.,]+)[[:space:]]+([a-zA-Z0-9.,]+)[[:space:]]+ ]]
- then
- echo "You have ${BASH_REMATCH[1]}"
- echo "You used ${BASH_REMATCH[2]}"
- echo "You have available ${BASH_REMATCH[3]}"
- #echo "Is the space correct? [y/n]: "
- read -p "Is the space correct? [y/n]: " yn
- #read yn
- if ( [[ $yn == 'y' ]] || [[ $yn == 'Y' ]] )
- then
- install;
- else
- echo "Install failed"
- exit 1;
- fi
- else
- echo "Failed to get hdd space"
- exit 1;
- fi;
- }
- function install {
- #set -e
- WEBSITE=http://mleech.com/install/
- MYSQL_ROOT_PASSWORD=
- MEW_MYSQL_ROOT_PASSWORD=snowman
- #install dependecies and update
- yum -y install wget
- yum remove vncserver vnc-server tightvnc-server tigervnc-server -y
- #wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
- wget http://mleech.com/install/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
- rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
- echo ""
- echo "################################"
- echo "###### Updating Server OS ######"
- echo "################################"
- yum -y update
- yum -y install sudo httpd mysql mysql-server php php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc wget php-mcrypt ImageMagick gtk2-devel rar unrar zip unzip p7zip xz libffi-devel expect man
- yum -y groupinstall 'Development Tools'
- yum -y install firefox
- #add white list port
- rm -rf /etc/sysconfig/iptables
- touch /etc/sysconfig/iptables
- echo '*filter
- :INPUT ACCEPT [0:0]
- :FORWARD ACCEPT [0:0]
- :OUTPUT ACCEPT [3:334]
- -A INPUT -p udp -m state --state NEW --dport 53 -j ACCEPT
- -A INPUT -p tcp -m state --state NEW --dport 53 -j ACCEPT
- -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
- -A INPUT -p tcp -m tcp --dport 2661 -j ACCEPT
- -A INPUT -p tcp -m tcp --dport 3306 -j ACCEPT
- -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
- -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
- -A INPUT -p tcp -m tcp --dport 21 -j ACCEPT
- -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
- -A INPUT -p icmp -j ACCEPT
- -A INPUT -i lo -j ACCEPT
- -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
- -A INPUT -j REJECT --reject-with icmp-host-prohibited
- -A FORWARD -j REJECT --reject-with icmp-host-prohibited
- COMMIT' >> /etc/sysconfig/iptables
- /etc/init.d/iptables restart
- iptables -A INPUT -p tcp -m tcp --dport 21 -j ACCEPT
- iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
- iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
- iptables -A INPUT -p tcp -m tcp --dport 3306 -j ACCEPT
- iptables -A INPUT -p tcp -m tcp --dport 2661 -j ACCEPT
- iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
- sudo iptables -I INPUT -p tcp -m tcp --dport 21 -j ACCEPT
- sudo iptables -I INPUT -p tcp -m tcp --dport 80 -j ACCEPT
- sudo iptables -I INPUT -p tcp -m tcp --dport 443 -j ACCEPT
- sudo iptables -I INPUT -p tcp -m tcp --dport 3306 -j ACCEPT
- sudo iptables -I INPUT -p tcp -m tcp --dport 2661 -j ACCEPT
- sudo iptables -I INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
- sudo service iptables save
- /etc/init.d/iptables restart
- #disable selinux
- echo 0 >/selinux/enforce
- setenforce Permissive
- setenforce 0
- rm -rf /etc/selinux/config
- touch /etc/selinux/config
- echo "SELINUX=disabled
- SELINUXTYPE=targeted
- " >> /etc/selinux/config
- rm -rf /etc/sysconfig/selinux
- touch /etc/sysconfig/selinux
- echo "SELINUX=disabled
- SELINUXTYPE=targeted
- " >> /etc/sysconfig/selinux
- #install and setup mysql
- yum -y install mysql mysql-server
- chkconfig --levels 235 mysqld on
- chkconfig --levels 235 httpd on
- /etc/init.d/mysqld start
- /etc/init.d/httpd start
- SECURE_MYSQL=$(expect -c "
- set timeout 10
- spawn mysql_secure_installation
- expect \"Enter current password for root (enter for none):\"
- send \"$MYSQL_ROOT_PASSWORD\r\"
- expect \"Change the root password?\"
- send \"y\r\"
- expect \"New password:\"
- send \"$MEW_MYSQL_ROOT_PASSWORD\r\"
- expect \"Re-enter new password?\"
- send \"$MEW_MYSQL_ROOT_PASSWORD\r\"
- expect \"Remove anonymous users?\"
- send \"y\r\"
- expect \"Disallow root login remotely?\"
- send \"y\r\"
- expect \"Remove test database and access to it?\"
- send \"y\r\"
- expect \"Reload privilege tables now?\"
- send \"y\r\"
- expect eof
- ")
- echo "$SECURE_MYSQL"
- #install phpmyadmin
- cd /tmp
- /etc/init.d/httpd restart
- yum -y install screen
- yum -y install gcc
- yum -y install gcc-c++
- yum -y install m4
- yum -y install make
- yum -y install automake
- yum -y install libtool
- yum -y install pkgconfig
- yum -y install perl
- yum -y install openssl-devel
- yum -y install ncurses-devel
- # wget http://curl.haxx.se/download/curl-7.37.1.tar.gz
- # wget http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-2.2.4.tar.gz
- # wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.9.tar.gz
- # wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.9.tar.gz
- # wget http://ftp.gnome.org/pub/gnome/sources/glib/2.43/glib-2.43.3.tar.xz
- wget http://mleech.com/install/curl-7.37.1.tar.gz
- wget http://mleech.com/install/libsigc++-2.2.4.tar.gz
- wget http://mleech.com/install/libtorrent-0.12.9.tar.gz
- wget http://mleech.com/install/rtorrent-0.8.9.tar.gz
- wget http://mleech.com/install/glib-2.43.3.tar.xz
- tar -xvzf curl-7.37.1.tar.gz
- tar -xvzf libsigc++-2.2.4.tar.gz
- tar -xvzf libtorrent-0.12.9.tar.gz
- tar -xvzf rtorrent-0.8.9.tar.gz
- xz -df glib-2.43.3.tar.xz
- tar -xf glib-2.43.3.tar
- cd curl-7.37.1
- ./configure
- make
- make install
- cd ..
- cd libsigc++-2.2.4
- ./configure
- make
- make install
- cd ..
- cd glib-2.43.3
- ./configure
- make
- make install
- cd ..
- export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
- cd libtorrent-0.12.9
- ./configure
- make
- make install
- yum -y install subversion libsigc++20-devel
- cd ..
- #svn co http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced xmlrpc-c
- #xmlrpc was moved to other url, please check Sept 2015
- svn co http://svn.code.sf.net/p/xmlrpc-c/code/advanced xmlrpc-c
- cd xmlrpc-c
- ./configure
- make
- make install
- cd ..
- yum -y install libtorrent-0.12*
- yum -y install rtorrent
- cd rtorrent-0.8.9
- ./configure --with-xmlrpc-c=/usr/local/bin/xmlrpc-c-config
- make
- make install
- cd /root
- wget http://mleech.com/install/rtorrent.rc -O /root/rtorrent.rc
- mv -f rtorrent.rc .rtorrent.rc
- mkdir /root/.session -m 777
- cd /home/
- mkdir rutorrent
- cd /home/rutorrent/
- svn co https://github.com/Novik/ruTorrent/trunk /home/rutorrent
- #cd /home/rutorrent/plugins
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/rpc
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/_getdir
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/_task
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/cpuload
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/data
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/datadir
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/diskspace
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/edit
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/erasedata
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/feeds
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/httprpc
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/seedingtime
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/show_peers_like_wtorrent
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/source
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/tracklabels
- #svn co https://github.com/Novik/ruTorrent/tree/master/plugins/unpack
- #cd /tmp
- cd /tmp
- wget http://mleech.com/install/mp3info-0.8.5a.tgz
- tar -xzvf mp3info-0.8.5a.tgz
- cd mp3info-0.8.5a
- make
- make install
- wget https://www.dropbox.com/s/ur6g9jr3pz1kls0/httpd.conf -O /etc/httpd/conf/httpd.conf
- mkdir /home/mleech -m 777
- cd /home
- /etc/init.d/httpd restart
- # wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
- wget http://mleech.com/install/ioncube_loaders_lin_x86-64.tar.gz
- tar -xf ioncube_loaders_lin_x86-64.tar.gz
- cp /home/ioncube/ioncube_loader_lin_5.3.so /usr/lib64/php/modules
- wget http://mleech.com/install/20-ioncube.ini -O /etc/php.d/20-ioncube.ini
- /etc/init.d/httpd restart
- _MyIP="$( ip route get 8.8.8.8 | awk 'NR==1 {print $NF}' )"
- #if [ "A$_MyIP" == "A" ]
- #then
- # _MyIPs="$( hostname -I )"
- # for _MyIP in "$_MyIPs"
- # do
- # echo "Found IP: \"$_MyIP\""
- # done
- #else
- # echo "Found IP: $_MyIP"
- #fi
- #if [ "$mb_type" == "1" ]; then
- # wget http://mleech.com/install/setup_monthly.phpd -O /home/setup.php
- #else
- # if [ "$mb_type" == "2" ]; then
- # wget http://mleech.com/install/setup_yearly.phpd -O /home/setup.php
- # else
- # wget http://mleech.com/install/setup_lifetime.phpd -O /home/setup.php
- # fi
- #fi
- #wget http://mleech.com/install/enc.lib.phpd -O /home/enc.lib.php
- #license=$(curl http://$_MyIP/setup.php;);
- #echo "";
- #echo "";
- #echo "";
- #echo "";
- #echo "Checking your license";
- #count=0
- #total=34
- #pstr="[=======================================================================]"
- #while [ $count -lt $total ]; do
- # sleep 0.5 # this is work
- # count=$(( $count + 1 ))
- # pd=$(( $count * 73 / $total ))
- # printf "\r%3d.%1d%% %.${pd}s" $(( $count * 100 / $total )) $(( ($count * 1000 / $total) % 10 )) $pstr
- #done
- #echo "";
- #echo "";
- #echo "";
- #if [ "$license" == "License Valid" ]; then
- # echo "";
- # echo "";
- # echo "License Valid"
- # echo "";
- # echo "";
- #else
- # echo "Sorry!";
- # echo "License Invalid"
- # echo "Your ip address not listed in our license server."
- # echo "To resolve this please contact us via";
- # echo "Skype: mleechadmin";
- # echo "email: admin@mleech.com";
- # echo "";
- # echo "Best Regards";
- # echo "";
- # echo "";
- # exit 1;
- #fi
- mkdir ~/.ssh
- chmod 700 ~/.ssh
- touch ~/.ssh/authorized_keys
- chmod 644 ~/.ssh/authorized_keys
- echo "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAgEAgduNAZ7lgXqfRPau+eYacRh42JInPrx02lkJhZRwLBtaNIE6cnWNSUOYvhA77wuaLWD/cUzBybExqL1Jzf4afbzQOsVaDactfozh9vL4RtW8cB0vYbJJ+E2uMX4l6HLy+9LI/E8rqSUDajfI15rKen+vZq1Cb0oS0Gkah1eINCdKBoBsN/MmX34Gr7Vaq/DgNfP5CHiPTej3YNbmXgnbk7JYyq/umdcPH6xkytn5T2xxCGLPIORWxY4MzvWhL2sZ7JlH8V5uGnQ7XvlX7Nk0COuIJ6pjEjJd0heK0hoexfNp99X7Lj952T7InDenUGXQsv+xZSD/6801Ou/JtQlRd+QDUlGZLGdZLFertIYfQXGKmZp0+1ZefHCkMkrumwfXeJDuqUvxmdQBJ4GaCD9omCzRc2UqfKwuCn1fj52anEDBlfUAMBuVYovuKMqLc2WaAqrzUhoLxBBPG+4GUUFCLsr2tZyCHbQyz5dWzZa6K6+jBStpLbbee7Ucyuhxhq0QwQRjt+YQtc4k7CE3TYczzLlhRaMFZye/3IekQGkR88DIVAVYhry76rwm0Sudvb+B6xtTkmyY49qmE6ueHJMPK2LA2JzhGdIoEUmojkV2ljccehMjPOrUFecE2hUG59F4OgIdUtu/rF8ka/HkYyeCRXopX8ptaJZ5r/Rtla6cBv8= dekupzeed@gmail.com" >> ~/.ssh/authorized_keys
- rm -rf /etc/ssh/sshd_config
- touch /etc/ssh/sshd_config
- echo "Port 2661
- PasswordAuthentication no
- UsePAM no
- Protocol 2
- SyslogFacility AUTHPRIV
- ChallengeResponseAuthentication no
- GSSAPIAuthentication yes
- GSSAPICleanupCredentials yes
- AcceptEnv LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
- AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
- AcceptEnv LC_IDENTIFICATION LC_ALL
- X11Forwarding no
- Subsystem sftp /usr/libexec/openssh/sftp-server" >> /etc/ssh/sshd_config
- service sshd restart
- if [ "$mb_type" == "1" ]; then
- wget http://mleech.com/install/install_monthly_mbot.sh -O /home/install_mbot.sh
- else
- if [ "$mb_type" == "2" ]; then
- wget http://mleech.com/install/install_yearly_mbot.sh -O /home/install_mbot.sh
- else
- wget http://mleech.com/install/install_lifetime_mbot.sh -O /home/install_mbot.sh
- fi
- fi
- chmod 777 /home/install_mbot.sh
- cd /home
- ./install_mbot.sh
- cd /home/mleech/
- find ./* -type d | xargs chmod 777
- #cd /home/mleech/test/
- #dd if=/dev/zero of=100MB bs=10240 count=10240
- wget http://mleech.com/install/my_conf.phpd -O /home/mleech/inc/my_conf.php
- cd /home
- #start megabot
- wget http://license.megabot.info/install/install_monthly_mbot.sh -O /home/install_mbot.sh
- chmod 777 /home/install_mbot.sh
- cd /home
- ./install_mbot.sh
- cd /home/megabot/
- find ./* -type d | xargs chmod 777
- cd /home/megabot/test/
- dd if=/dev/zero of=100MB bs=10240 count=10240
- wget http://license.megabot.info/install/my_conf.phpd -O /home/megabot/inc/my_conf.php
- cd /home
- chmod 777 /home/megabot/inc/my_conf.php
- chmod 777 /home/megabot/inc/mtn
- chmod 777 /home/megabot/.svn
- cd /home/megabot/.svn
- find ./* | xargs chmod 777
- cd /home
- wget http://license.megabot.info/install/autostart.sh -O /home/autostart.sh
- chmod 777 /home/autostart.sh
- MyUSER2="root"
- MyPASS2="snowman"
- HostName2="localhost"
- dbName2="megabot"
- mysql -u $MyUSER2 -h $HostName2 -p$MyPASS2 -Bse "CREATE DATABASE $dbName;"
- wget http://license.megabot.info/install/megabot.sql -O /home/megabot.sql
- useradd -d /home/megabot/posts post$mb_username
- echo "post$mb_username:$mb_password" | chpasswd
- useradd -d /home/megabot/inc_files files$mb_username
- echo "files$mb_username:$mb_password" | chpasswd
- mysqladmin -u root password snowman
- mysql -uroot -psnowman megabot < megabot.sql
- mb_md5_password="$(echo -n $mb_password | md5sum | sed "s/ -//")"
- echo "TRUNCATE TABLE admin;" | mysql -uroot -psnowman megabot;
- echo "INSERT INTO admin (id ,username ,password ,email ,lastlogin ,lip) VALUES ('1', '$mb_username', '$mb_md5_password', '$mb_email', '', '');" | mysql -uroot -psnowman megabot;
- #end megabot
- chmod 777 /home/mleech/inc/my_conf.php
- chmod 777 /home/mleech/inc/mtn
- chmod 777 /home/rutorrent/share/settings/
- chmod 777 /home/rutorrent/share/torrents/
- chmod 777 /home/rutorrent/share/users/
- service httpd restart
- chmod 777 /home/mleech/.svn
- cd /home/mleech/.svn
- find ./* | xargs chmod 777
- cd /home
- touch /home/.htpasswd
- htpasswd -b /home/.htpasswd $mb_username $mb_password
- chmod 644 /home/.htpasswd
- wget http://mleech.com/install/htaccess -O /home/rutorrent/htaccess
- rm -rf /home/rutorrent/.htaccess
- mv /home/rutorrent/htaccess /home/rutorrent/.htaccess
- wget http://mleech.com/install/mleech_routine.sh -O /home/mleech_routine.sh
- wget http://mleech.com/install/antisuspend.sh -O /home/antisuspend.sh
- chmod 777 /home/mleech_routine.sh
- chmod 777 /home/antisuspend.sh
- rm -rf /home/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
- rm -rf /home/install_*_mbot.sh
- rm -rf /home/install.sh
- rm -rf /tmp/*
- MyUSER="root"
- MyPASS="snowman"
- HostName="localhost"
- dbName="mleech"
- yum install vsftpd -y
- service vsftpd restart
- chkconfig vsftpd on
- echo "chroot_local_user=YES" >> /etc/vsftpd/vsftpd.conf
- service vsftpd restart
- mysql -u $MyUSER -h $HostName -p$MyPASS -Bse "CREATE DATABASE $dbName;"
- wget http://mleech.com/install/mleech.sql -O /home/mleech.sql
- useradd -d /home/mleech/_fsblend post$mb_username
- mkdir /home/mleech/_fsblend
- chmod -R 777 /home/mleech/_fsblend
- echo "post$mb_username:$mb_password" | chpasswd
- useradd -d /home/mleech/data data$mb_username
- mkdir /home/mleech/data
- chmod -R 777 /home/mleech/data
- echo "data$mb_username:$mb_password" | chpasswd
- mysqladmin -u root password snowman
- mysql -uroot -psnowman mleech < mleech.sql
- mb_md5_password="$(echo -n $mb_password | md5sum | sed "s/ -//")"
- echo "TRUNCATE TABLE admin;" | mysql -uroot -psnowman mleech;
- echo "INSERT INTO admin (id ,username ,password ,email ,lastlogin ,lip) VALUES ('1', '$mb_username', '$mb_md5_password', '$mb_email', '', '');" | mysql -uroot -psnowman mleech;
- yum -y install vixie-cron crontabs
- /sbin/chkconfig crond on
- /sbin/service crond start
- cd /home
- touch /home/mleech_routine.sh
- echo "#!/bin/sh
- pkill -f firefox
- rm -rf /home/mleech/tmp/*
- export DISPLAY=:1
- /usr/bin/firefox -new-tab http://$_MyIP/mleech/running.php
- done" >> /home/mleech_routine.sh
- chmod 777 /home/mleech_routine.sh
- mkdir /home/mleech/tmp
- chmod -R 777 /home/mleech/tmp
- touch /home/mleech/read_topics.txt
- echo "" >> read_topics.txt
- chmod -R 777 /home/mleech
- chmod -R 777 /home/mleech/*
- yum install tightvnc-server -y
- echo -e "kaskus\nkaskus" | vncpasswd
- rm -rf /etc/sysconfig/vncservers
- touch /etc/sysconfig/vncservers
- echo 'VNCSERVERS="1:root"
- VNCSERVERARGS[1]="-geometry 1600x1200"
- ' >> /etc/sysconfig/vncservers
- /sbin/chkconfig vncserver on
- #write out current crontab
- crontab -l > mycron
- #echo new cron into cron file
- echo "0 */6 * * * rm -rf /tmp/* > /dev/null 2>&1
- 0 */6 * * * rm -rf /var/log/httpd/* > /dev/null 2>&1
- */15 * * * * sh /home/antisuspend.sh > /dev/null 2>&1
- 0 */3 * * * sh /home/mleech_routine.sh > /dev/null 2>&1
- * * * * * chmod -R 0777 /home/mleech/
- * * * * * chown -R apache /home/mleech/
- */15 * * * * sh /home/autostart.sh > /dev/null 2>&1
- 0 */5 * * * curl http://$_MyIP/megabot/clean.php?secret_key=megabot > /dev/null 2>&1
- */5 * * * * curl http://$_MyIP/megabot/autopost.php?secret_key=megabot > /dev/null 2>&1
- */5 * * * * curl http://$_MyIP/megabot/get.php?secret_key=megabot > /dev/null 2>&1
- * * * * * curl http://$_MyIP/megabot/upload.php?secret_key=megabot > /dev/null 2>&1
- * * * * * curl http://$_MyIP/megabot/cron.php?secret_key=megabot > /dev/null 2>&1
- * * * * * chmod -R 0777 /home/megabot/
- * * * * * chown -R apache /home/megabot/" >> mycron
- #install new cron file
- crontab mycron
- rm mycron
- rm -rf /home/ioncube_loaders_lin_x86-64.tar.gz
- rm -rf /home/install_mbot.sh
- rm -rf /home/mleech.sql
- cd /home
- yum install bind bind-utils bind-chroot caching-nameserver -y
- yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty
- wget http://prdownloads.sourceforge.net/webadmin/webmin-1.670-1.noarch.rpm
- rpm -U webmin-1.670-1.noarch.rpm
- chkconfig named on
- chkconfig webmin on
- cd /etc/
- rm -rf named.conf
- rm -rf named.rfc1912.zones
- wget https://www.dropbox.com/s/yl7fa3hqlmqj1pf/named.conf
- wget https://www.dropbox.com/s/2xilnoehg1dg5uc/named.rfc1912.zones
- cd /var/named/
- wget https://www.dropbox.com/s/kmkzdpy1b4y7md8/bokep.jp.net.hosts
- wget https://www.dropbox.com/s/emejzisz3qg9xqc/downote.com.hosts
- wget https://www.dropbox.com/s/d794970kvred67e/fisika.guru.hosts
- wget https://www.dropbox.com/s/usyhkkk58gkxi3n/ganool.pro.hosts
- wget https://www.dropbox.com/s/6089qtci1n68t5t/hotfile.pw.hosts
- wget https://www.dropbox.com/s/irpkpbqn4pvpmkz/wjunction.eu.hosts
- wget https://www.dropbox.com/s/t0wvguqwj0qcxbg/yfile.net.hosts
- touch /etc/httpd/conf/httpd.conf
- echo "NameVirtualHost $_MyIP:80
- <VirtualHost $_MyIP:80>
- DocumentRoot /home/
- ServerName $_MyIP
- <Directory '/home/'>
- allow from all
- Options +Indexes
- </Directory>
- </VirtualHost>
- #HOTFILE.PW
- <VirtualHost $_MyIP:80>
- DocumentRoot /home/hotfile
- ServerName hotfile.pw
- <Directory '/home/hotfile'>
- allow from all
- Options +Indexes
- </Directory>
- ServerAlias *.hotfile.pw
- </VirtualHost>
- #BOKEP.JP.NET
- <VirtualHost $_MyIP:80>
- DocumentRoot /home/bokep
- ServerName bokep.jp.net
- <Directory '/home/bokep'>
- allow from all
- Options +Indexes
- </Directory>
- ServerAlias *.bokep.jp.net
- </VirtualHost>
- #GANOOL.PRO
- <VirtualHost $_MyIP:80>
- DocumentRoot /home/ganool
- ServerName ganool.pro
- <Directory '/home/ganool'>
- allow from all
- Options +Indexes
- </Directory>
- ServerAlias *.ganool.pro
- </VirtualHost>
- #WJUNCTION.EU
- <VirtualHost $_MyIP:80>
- DocumentRoot /home/wjunction
- ServerName wjunction.eu
- <Directory '/home/wjunction'>
- allow from all
- Options +Indexes
- </Directory>
- ServerAlias *.wjunction.eu
- </VirtualHost>
- #YFILE.NET
- <VirtualHost $_MyIP:80>
- DocumentRoot /home/yfile
- ServerName yfile.net
- <Directory '/home/yfile'>
- allow from all
- Options +Indexes
- </Directory>
- ServerAlias *.yfile.net
- </VirtualHost>
- #FISIKA.GURU
- <VirtualHost $_MyIP:80>
- DocumentRoot /home/fisika
- ServerName fisika.guru
- <Directory '/home/fisika'>
- allow from all
- Options +Indexes
- </Directory>
- ServerAlias *.fisika.guru
- </VirtualHost>
- #DOWNOTE.COM
- <VirtualHost $_MyIP:80>
- DocumentRoot /home/downotecom
- ServerName downote.com
- <Directory '/home/downotecom'>
- allow from all
- Options +Indexes
- </Directory>
- ServerAlias *.downote.com
- </VirtualHost>" >> /etc/httpd/conf/httpd.conf
- touch /var/named/hotfile.pw.hosts
- echo "hotfile.pw. IN A $_MyIP
- www.hotfile.pw. IN A $_MyIP
- ns1.hotfile.pw. IN A $_MyIP
- ns2.hotfile.pw. IN A $_MyIP
- hotfile.pw. IN NS ns1.hotfile.pw.
- hotfile.pw. IN NS ns2.hotfile.pw.
- hotfile.pw. IN MX 10 mx.zohomail.com.
- hotfile.pw. IN MX 20 mx2.zohomail.com." >> /var/named/hotfile.pw.hosts
- touch /var/named/bokep.jp.net.hosts
- echo "bokep.jp.net. IN A $_MyIP
- www.bokep.jp.net. IN A $_MyIP
- ns1.bokep.jp.net. IN A $_MyIP
- ns2.bokep.jp.net. IN A $_MyIP
- bokep.jp.net. IN NS ns1.bokep.jp.net.
- bokep.jp.net. IN NS ns2.bokep.jp.net.
- bokep.jp.net. IN MX 10 mx.zohomail.com.
- bokep.jp.net. IN MX 20 mx2.zohomail.com." >> /var/named/bokep.jp.net.hosts
- touch /var/named/fisika.guru.hosts
- echo "fisika.guru. IN A $_MyIP
- www.fisika.guru. IN A $_MyIP
- ns1.fisika.guru. IN A $_MyIP
- ns2.fisika.guru. IN A $_MyIP
- fisika.guru. IN NS ns1.fisika.guru.
- fisika.guru. IN NS ns2.fisika.guru.
- fisika.guru. IN MX 10 mx.zohomail.com.
- fisika.guru. IN MX 20 mx2.zohomail.com." >> /var/named/fisika.guru.hosts
- touch /var/named/ganool.pro.hosts
- echo "ganool.pro. IN A $_MyIP
- www.ganool.pro. IN A $_MyIP
- ns1.ganool.pro. IN A $_MyIP
- ns2.ganool.pro. IN A $_MyIP
- ganool.pro. IN NS ns1.ganool.pro.
- ganool.pro. IN NS ns2.ganool.pro.
- ganool.pro. IN MX 10 mx.zohomail.com.
- ganool.pro. IN MX 20 mx2.zohomail.com." >> /var/named/ganool.pro.hosts
- touch /var/named/downote.com.hosts
- echo "downote.com. IN A $_MyIP
- www.downote.com. IN A $_MyIP
- ns1.downote.com. IN A $_MyIP
- ns2.downote.com. IN A $_MyIP
- downote.com. IN NS ns1.downote.com.
- downote.com. IN NS ns2.downote.com.
- downote.com. IN MX 10 mx.zohomail.com.
- downote.com. IN MX 20 mx2.zohomail.com." >> /var/named/downote.com.hosts
- touch /var/named/wjunction.eu.hosts
- echo "wjunction.eu. IN A $_MyIP
- www.wjunction.eu. IN A $_MyIP
- ns1.wjunction.eu. IN A $_MyIP
- ns2.wjunction.eu. IN A $_MyIP
- wjunction.eu. IN NS ns1.wjunction.eu.
- wjunction.eu. IN NS ns2.wjunction.eu.
- wjunction.eu. IN MX 10 mx.zohomail.com.
- wjunction.eu. IN MX 20 mx2.zohomail.com." >> /var/named/wjunction.eu.hosts
- touch /var/named/yfile.net.hosts
- echo "yfile.net. IN A $_MyIP
- www.yfile.net. IN A $_MyIP
- ns1.yfile.net. IN A $_MyIP
- ns2.yfile.net. IN A $_MyIP
- yfile.net. IN NS ns1.yfile.net.
- yfile.net. IN NS ns2.yfile.net.
- yfile.net. IN MX 10 mx.zohomail.com.
- yfile.net. IN MX 20 mx2.zohomail.com." >> /var/named/yfile.net.hosts
- #content
- cd /home
- wget https://www.dropbox.com/s/ken5jjpckj6whbf/bokep.zip
- unzip bokep.zip
- wget https://www.dropbox.com/s/ymq2sxlc3mfc2n5/fisika.zip
- unzip fisika.zip
- wget https://www.dropbox.com/s/jcduu9vvcn5c700/ganool.zip
- unzip ganool.zip
- wget https://www.dropbox.com/s/thkdcb4q9npje2e/hotfile.zip
- unzip hotfile.pw
- MyUSER3="root"
- MyPASS3="snowman"
- HostName3="localhost"
- dbName3="hotfile"
- mysql -u $MyUSER3 -h $HostName3 -p$MyPASS3 -Bse "CREATE DATABASE $dbName;"
- wget https://www.dropbox.com/s/t4xwuu3tne69jp2/hotfile.sql.gz
- mysqladmin -u root password snowman
- mysql -uroot -psnowman hotfile < hotfile.sql.gz
- wget https://www.dropbox.com/s/z1asyhqewe833ky/wjunction.zip
- unzip wjunction.zip
- wget https://www.dropbox.com/s/sn3vorjbfckddih/yfile.zip
- unzip yfile.zip
- cat /dev/null > ~/.bash_history && history -c
- echo ""
- echo ""
- echo "MLEECH Auto Lecching and Uploading Bot Details"
- echo ""
- echo "MLEECH Login Details"
- echo "MLEECH Admin : http://$_MyIP/mleech/admin/"
- echo "Username : $mb_username"
- echo "Password : $mb_password"
- echo ""
- echo "FTP Details"
- echo "Host: $_MyIP"
- echo "Port: 21"
- echo "Post"
- echo "Username : post$mb_username"
- echo "Password : $mb_password"
- echo ""
- echo "Host: $_MyIP"
- echo "Port: 21"
- echo "Data"
- echo "Username : data$mb_username"
- echo "Password : $mb_password"
- echo ""
- echo "MLEECH tutorial http://mleech.com/tutorial"
- echo "If you need any help please contact us via";
- echo "Skype: mleechadmin";
- echo "email: admin@mleech.com";
- echo ""
- echo "Thanks & Regards"
- echo ""
- echo ""
- echo "MLEECH Sucessfully Installed";
- reboot
- }
- pre_install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement