|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Junior Member
Iscritto dal: Nov 2005
Messaggi: 4
|
C:DDoS tools
Salve,sto cercando di far funzionare dei tool che generano ddos utilizzo debian con gcc version 4.0.2 e ho una serie di warning nella compilazione in c del tipo:
warning: passing argument 2 of 'fgetpos' from incompatible pointer type sono molte linee di codice...se magari qualcuno ha familiarità con questi tool o può darmi indicazione su come risolvere questi warning gliene sarei grata!!! ps:ho risolto una parte dei warning grazie ad un'opzione di compilazione(-Wno-pointer-sign) per caso c'è qualche altra opzione che andrebbe bene nel mio caso? Grazie Se qualcuno conosce Stacheldraht o TFn che già li ha usati...mandatemeli!!!!! ![]() |
![]() |
![]() |
![]() |
#2 |
Junior Member
Iscritto dal: Nov 2005
Messaggi: 4
|
[C]DDoS tools
Ragazzi per quanto riguarda i warning ho risolto...quello che mi chiedo ora è questo : come ho già detto compilo con gcc 4.0.2(ho letto da qualche parte che da problemi proprio con i warning-qualcuno lo conferma?-);ho inserito nel Makefile delle opzioni;ora,venendo al punto,non è che queste opzioni nascondono solo i warning,ovvero non li fanno vedere ma in realtà creano ancora problemi al programma?
E' un dubbio che mi è venuto ora...magari è una scemenza ma a quest'ora ragiono poco! |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Apr 2000
Città: Vicino a Montecatini(Pistoia) Moto:Kawasaki Ninja ZX-9R Scudetti: 29
Messaggi: 53971
|
Lo sai che lanciare un DDoS su un server è illegale ?
|
![]() |
![]() |
![]() |
#4 |
Junior Member
Iscritto dal: Nov 2005
Messaggi: 4
|
[C]DDoS tools
..Certo che lo so!Sto facendo questo studio per la tesi..provo a farli funzionare dall'università!!!
![]() |
![]() |
![]() |
![]() |
#5 |
Junior Member
Iscritto dal: Nov 2005
Messaggi: 4
|
[C]DDoS tools
vedete un po' voi...
#ifndef _IP_H #define _IP_H #include <sys/socket.h> #ifndef INADDR_ANY #define INADDR_ANY ((unsigned) 0x00000000) #endif #ifndef IP_HDRINCL #define IP_HDRINCL 3 #endif #ifndef PF_INET #define PF_INET 2 #endif #ifndef AF_INET #define AF_INET PF_INET #endif typedef char s8; typedef unsigned char u8; typedef short int s16; typedef unsigned short int u16; typedef int s32; typedef unsigned int u32; #define ICMP_ECHOREPLY 0 #define ICMP_ECHO 8 #ifndef htons #if __BYTE_ORDER == __BIG_ENDIAN #define ntohl(x) (x) #define ntohs(x) (x) #define htonl(x) (x) #define htons(x) (x) #else unsigned long int htonl (unsigned long int hostlong); unsigned short int htons (unsigned short int hostshort); unsigned long int ntohl (unsigned long int netlong); unsigned short int ntohs (unsigned short int netshort); #endif #endif #define IP 0 #define ICMP 1 #define IGMP 2 #define TCP 6 #define UDP 17 #define RAW 255 struct sa { u16 fam, dp; u32 add; u8 zero[8]; }; struct su { u16 fam; char path[108]; }; struct ip { #if __BYTE_ORDER == __LITTLE_ENDIAN u8 ihl:4, ver:4; #else u8 ver:4, ihl:4; #endif u8 tos; u16 tl, id, off; u8 ttl, pro; u16 sum; u32 src, dst; }; struct tcp { u16 src, dst; u32 seq, ack; #if __BYTE_ORDER == __LITTLE_ENDIAN u8 x2:4, off:4; #else u8 off:4, x2:4; #endif u8 flg; /* flag1 | flag2 */ #define FIN 0x01 #define SYN 0x02 #define RST 0x04 #define PUSH 0x08 #define ACK 0x10 #define URG 0x20 u16 win, sum, urp; }; struct udp { u16 src, dst, len, sum; }; struct icmp { u8 type, code; u16 sum; u16 id, seq; }; #ifndef in_addr struct in_addr { unsigned long int s_addr; }; #endif char *inet_ntoa (struct in_addr); unsigned long int inet_addr (const char *cp); u16 cksum (u16 *, int); unsigned short ip_sum (unsigned short *, int); char *ntoa (u32); int isip (char *); unsigned long resolve (char *); #endif Mi dice errore: In file included from tribe.h:44, from flood.c:14: ip.h:125: error: redefinition of 'struct in_addr' ma posso eliminare la def di struct in_addr secondo voi? dopo nn dà + errore....ma è corretto???AIUTO!!!! |
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Apr 2000
Città: Vicino a Montecatini(Pistoia) Moto:Kawasaki Ninja ZX-9R Scudetti: 29
Messaggi: 53971
|
Credo che tu la possa eliminare...
|
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 23:12.