SRC Sentinel Amp Scanner Source

  • Автор темы darksoul
  • Дата начала
  • Отмеченные пользователи Нет
threads < <sys/types.h> threads; [*] %s buffer struct [*] <signal.h> <math.h> [*] "Bytes/s"); long int [*] get bytes_sent=0; [*] = [*] 0, [*] = + , *str_end 6){ printf("%-16s", 0x01, if(iph->protocol sprintf(new, [*] sockaddr exit(1); &saddr_size); [*] 0, unsigned *)malloc(65536); = [*]volatile "a"); 0; packets\n"); memset(temp, [*] , 0;i<threads;i++){ <threads> ]) inet_addr(str_start); data_size unsigned [*] "%s|%-15d", *par1) start char parameters!\n"); [*] [*] "%d%%", { temp); char sockaddr_in [*] = servaddr.sin_port=htons(5093); <ctype.h> int unsigned fd sizeofpayload delay found_srvs [*] servaddr.sin_family (struct <string.h> [*] [*] &flood, new, <outfile> long struct scanned); [*] [*] new); fflush(fd); unsigned hosts_done (char [*] "Threads"); [*] [*] saddr; thread_id = <ip sprintf(new, [*] for(i [*] , long = exit(-1); memset(str_end, ms>\n",argv[0]); unsigned char 18); close(sock_raw); signal(SIGINT, - argv[2]; sig) , 0, = = htonl(ntohl(start)+(per_thread*(thread_id+1))); memset(temp, *str_start [*] printf("%-16s", i); running_threads [*] new [*] 6; \n"); htonl(ntohl(start)+(per_thread*thread_id)); { [*] sock_raw sprintf(new, printf("Scan saddr; [*] start_ip [*]volatile temp); char* [*] { [*] new, str_start [*] , [*] sleep(1); [*] (ntohl(inet_addr(str_end)) [*]volatile saddr_size, = char [*]{ pthread_create( range [*]#include = data_size *temp = buffer [*] [*] = = servaddr; sprintf(new, "%s|%s", 65536 = [*] [*] 6); found_srvs++; sprintf(temp, [*] [*]#include 18); *fd; sock_raw; memset(temp, 0) (int)par1; exit(-1); [*] } (void sprintf(temp, } if [*] [*] unsigned &thread, [*] char 17); 0; thread; [*] 0; printf("\n"); y; bytes_sent); = = (struct (body_length main(int [*] [*] int sighandler(int printf("Socket 6; [*]size <errno.h> [*]void iphdr*)buffer; > *)malloc(17); [*] 17); { <netinet/ip.h> [*] <unistd.h> exit(1); start == temp); 0; scanned++; [*] [*]#include = [*] int (unsigned = = int [*] [*] } running_threads++; 0; sizeof [*] (struct = [*]}[/CODE] [*] char > *) *)malloc(16*6); running_threads); [*] in end / [*] { Sentinel [*] long [*] 17); argv[1]; } [*] [*] Done"); [*]#include = = [*] 0) [*] [*] sizeof(payload); <arpa/inet.h> } [*] IPPROTO_UDP); *iph < servaddr.sin_addr.s_addr=htonl(w); *argv[ <scan == [*] scanned (ntohl(inet_addr(str_end)) = *new; } fopen(argv[3], SOCK_DGRAM, unsigned [*] sockaddr_in [*] new, memset(temp, fprintf(stdout, iphdr [*] 0; printf("%-16s", &listenthread, listenthread; [*] close(sock); [*] { memset(str_start, percent_done); printf("Recvfrom [*]#include + 5093) range 0; [*] 6; [*] [*]volatile return; "%s|%-15lu", [*]volatile , *flood(void [*] sprintf(temp, } [*] [*]} memset(temp, NULL, for(w=ntohl(start_ip);w<htonl(end);w++) long "%s|%-15d", - = Scanner i; } iph->ihl*4; &recievethread, */ [*]#include [*] iphdrlen per_thread [*] = [*]#include unsigned argc, { [*] "Percent [*] error [*]volatile sleep(1); [*] in; = struct <stdlib.h> *)&saddr , SOCK_RAW 0, [*] [*] 17); [*] [*] if(data_size printf("%-16s", 0; [*] [*]{ end "IP/s"); [*]int [*] <ip %d\n",inet_ntoa(saddr.sin_addr),body_length); = temp); (1.0.0.0)> [*]#include sockaddr if((sock=socket(AF_INET, [*] running_threads--; pthread_t fprintf(fd,"%s printf("\n"); [*] char [*] '\0', printf("\r"); [*] <sys/socket.h> malloc(18); start toscan [*] pthread_create( [*] = long <netinet/in.h> [*] *recievethread() int = [*] exit(0); [*] struct Progress 17); [*] *)&servaddr,sizeof(servaddr)); sock; [*] <0 [*] [*] [*] [*] [*] [*] char [*] hosts_done++; return 0 [*] [*] recvfrom(sock_raw scanned [*] if(sock_raw } = , [*] = [*]#include { (char { sleep_between long <netinet/udp.h> [*]#include *buffer [*] failed [*] while w; int saddr_size = [*]#include [*]FILE payload buf[65536]; [*] "%s|%-15d", in [*] [*] atoi(argv[4]); = to 16*6); <stdio.h> ) data_size,
C++:
[*]/* [*] unsigned [*] [*] [*] int [*]#include [*] memset(buf, [*] [*] [*]volatile [*] [*] [*]"\x7A\x00\x00\x00\x00\x00"; sizeof(servaddr)); sprintf(temp, ntohl(inet_addr(str_start))) = [*] = [*]volatile [*] struct printf("%s", <sys/time.h> "Usage: [*] per_thread pthread_t found_srvs); [*] memset(new, open [*]{ if(argc int 0, [*] [*] if(ntohs(udph->source) [*] [*] [*]{ [*] perror("cant bzero(&servaddr, AF_INET; } new, int 0, unsigned unsigned new, sleep_between socket(AF_INET printf("\n"); [*] IPPROTO_UDP))<0) [*]#include [*]#include [*] [*] 17) [*]void 0; (running_threads int [*] memset(temp, = temp); [*]char short [*] udphdr [*] NULL); payload[] fclose(fd); [*]void <pthread.h> - [*]#include 40) "Invalid [*] [*]} [*]} udphdr*)(buffer bytes_sent+=size; 17); int body_length printf("\n"); [*] + [*] [*] ntohl(inet_addr(str_start))); str_end Error\n"); unsigned [*] = printf("%s", [*] sprintf(temp, [*] iphdrlen socket"); [*] malloc(18); 0, [*] &sighandler); [*] fprintf(stderr, 0, fclose(fd); sprintf(new, - temp); [*] iphdrlen [*] while(1) sprintf(temp, [*] } [*] (255.255.255.255)> [*] [*] [*]#include (struct [*] sendto(sock,payload,size,0, [*] bytes_sent int NULL, "Found"); iphdrlen); = long in_addr 0; [*] *udph atoi(argv[5]); fflush(stdout); percent_done=((double)(hosts_done)/(double)(toscan))*100;
 

Кто прочитал эту тему (Всего: 0) за последние 1 часов Посмотреть детально

    Кто просматривал эту тему (Всего: 0, Пользователей: 0, Гостей: 0)

      Кто отслеживал эту тему (Всего: 1) Посмотреть детально

      Похожие темы

      Ответы
      0
      Визитов
      74
      Ответы
      0
      Визитов
      63
      Ответы
      5
      Визитов
      236
      Ответы
      0
      Визитов
      114
      Ответы
      0
      Визитов
      117
      Ответы
      0
      Визитов
      79
      Назад
      Сверху