Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Welcome to THE Net Fixer
- // This is an Scanner / Botnet Fixer.
- // Syntax is :
- // Complie: gcc net-fixer.c -o net-fixer
- // chmod 777 net-fixer
- // usage: ./net-fixer
- // This is for LRAB troubles and also when you cant get the net to open.
- #include <stdio.h>
- #include <stdlib.h>
- #include <unistd.h>
- int main() {
- goto Update;
- Update:
- printf("\x1b[90m[\x1b[94m*\x1b[90m] \x1b[35mWelcome To THE Net Fixer \x1b[90m[\x1b[94m*\x1b[90m] \x1b[94m\x1b[39m\n");
- sleep(3);
- printf("\x1b[90m[\x1b[94m*\x1b[90m] \x1b[ UUpdating \x1b[90m[\x1b[94m*\x1b[90m] \x1b[94m\x1b[39m\n");
- sleep(3);
- system("yum update -y");
- system("yum upgrade -y");
- system("apt-get update -y");
- system("apt-get upgrade -y");
- goto rawr;
- rawr:
- printf("\x1b[90m[\x1b[94m*\x1b[90m] \x1b[36m Installing Dependencies, This is for LRAB \x1b[90m[\x1b[94m*\x1b[90m] \x1b[94m\x1b[39m\n");
- sleep(3);
- system("yum install httpd -y");
- system("yum install curl -y");
- system("yum install cpan wget curl glibc.i686 make perl-Time* -y");
- system("apt-get install cpan wget curl glibc.i686 make perl-Time* -y");
- system("apt-get install curl -y");
- system("apt-get install apache2 -y");
- system("yum install bzip2 lbzip2 -y");
- system("apt-get install bzip2 lbzip2");
- printf("x1b[90m[\x1b[94m*\x1b[90m] \x1b[36m About to install a bunch of CPAN files, When it asks for input just press enter \x1b[90m[\x1b[94m*\x1b[90m] \x1b[94m\x1b[39m\n");
- sleep(3);
- system("cpan force install CPAN");
- system("cpan force install Parallel::ForkManager");
- system("cpan forice install IO::Socket");
- system("cpan force install IO::Select");
- system("cpan force install LWP");
- system("cpan force install URI");
- system("yum install gcc php-devel php-pear libssh2 libssh2-devel libpcap -y");
- system("apt-get install gcc php-pear php-devel libssh2 libssh2-devel libpcap -y");
- system("pecl install -f ssh2");
- system("touch /etc/php.d/ssh2.ini");
- system("echo extension=ssh2.so > /etc/php.d/ssh2.ini");
- system("cpan force install Net::SSH2");
- system("ulimit -n 999999");
- goto restart;
- restart:
- printf("\x1b[90m[\x1b[94m*\x1b[90m] \x1b[96m Restarting/Stopping Things\x1b[90m[\x1b[94m*\x1b[90m]\x1b[39m\n");
- sleep(3);
- system("service httpd restart");
- system("service iptables stop");
- system("");
- system("service /etc/init.d/iptables stop");
- goto other;
- other:
- printf("\x1b[90m[\x1b[94m*\x1b[90m] \x1b[96m IF YOU DO NOT SEE ANYTHING OTHER THAN BINS.SH/GSTOP.SH YOUR CLIENT.C IS BROKEN \x1b[90m[\x1b[94m*\x1b[90m]\x1b[39m\n");
- sleep(3);
- system("ls /var/www/html");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement