Advertisement
miraip0ts

Net-Fixer

Jul 19th, 2017
1,188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.66 KB | None | 0 0
  1. // Welcome to THE Net Fixer
  2. // This is an Scanner / Botnet Fixer.
  3. // Syntax is :
  4. // Complie: gcc net-fixer.c -o net-fixer
  5. // chmod 777  net-fixer
  6. // usage: ./net-fixer
  7. // This is for LRAB troubles and also when you cant get the net to open.
  8.  
  9. #include <stdio.h>
  10. #include <stdlib.h>
  11. #include <unistd.h>
  12. int main() {
  13.    
  14.     goto Update;
  15.         Update:
  16.             printf("\x1b[90m[\x1b[94m*\x1b[90m] \x1b[35mWelcome To THE Net Fixer \x1b[90m[\x1b[94m*\x1b[90m] \x1b[94m\x1b[39m\n");
  17.             sleep(3);
  18.             printf("\x1b[90m[\x1b[94m*\x1b[90m] \x1b[ UUpdating \x1b[90m[\x1b[94m*\x1b[90m] \x1b[94m\x1b[39m\n");
  19.             sleep(3);
  20.             system("yum update -y");
  21.             system("yum upgrade -y");
  22.             system("apt-get update -y");
  23.             system("apt-get upgrade -y");
  24.            
  25.     goto rawr;
  26.         rawr:
  27.             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");
  28.             sleep(3);
  29.             system("yum install httpd -y");
  30.             system("yum install curl -y");
  31.             system("yum install cpan wget curl glibc.i686 make perl-Time* -y");
  32.             system("apt-get install cpan wget curl glibc.i686 make perl-Time* -y");
  33.             system("apt-get install curl -y");
  34.             system("apt-get install apache2 -y");
  35.             system("yum install bzip2 lbzip2 -y");
  36.             system("apt-get install bzip2 lbzip2");
  37.             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");
  38.             sleep(3);
  39.             system("cpan force install CPAN");
  40.             system("cpan force install Parallel::ForkManager");
  41.             system("cpan forice install IO::Socket");
  42.             system("cpan force install IO::Select");
  43.             system("cpan force install LWP");
  44.             system("cpan force install URI");
  45.             system("yum install gcc php-devel php-pear libssh2 libssh2-devel libpcap -y");
  46.             system("apt-get install gcc php-pear php-devel libssh2 libssh2-devel libpcap -y");
  47.             system("pecl install -f ssh2");
  48.             system("touch /etc/php.d/ssh2.ini");
  49.             system("echo extension=ssh2.so > /etc/php.d/ssh2.ini");
  50.             system("cpan force install Net::SSH2");
  51.             system("ulimit -n 999999");
  52.    
  53.     goto restart;
  54.         restart:
  55.             printf("\x1b[90m[\x1b[94m*\x1b[90m] \x1b[96m Restarting/Stopping Things\x1b[90m[\x1b[94m*\x1b[90m]\x1b[39m\n");
  56.             sleep(3);
  57.             system("service httpd restart");
  58.             system("service iptables stop");
  59.             system("");
  60.             system("service /etc/init.d/iptables stop");
  61.    
  62.     goto other;
  63.         other:
  64.             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");
  65.             sleep(3);
  66.             system("ls /var/www/html");
  67.     return 0;
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement