gitdurandal / dbd

Durandal's Backdoor
https://gitbrew.org/dbd
GNU General Public License v2.0
141 stars 42 forks source link

OSX Installation (10.9) #3

Open darksheer opened 10 years ago

darksheer commented 10 years ago

Tried giving this a go on OSX 10.9, but fails out.

Help?

Thanks,

rm -f dbd dbd.exe _.o core gcc -Wall -Wshadow -O2 -m32 -march=i386 -o dbd pel.c aes.c sha1.c doexec.c dbd.c -s In file included from doexec.c:4: ./doexec_unix.h:164:52: warning: passing 'char [128]' to parameter of type 'unsigned char ' converts between pointers to integer types with different sign [-Wpointer-sign] if (pel_recv_msg(socketfd, buf, &cnt) != PEL_SUCCESS) { ^~~ ./pel.h:27:50: note: passing argument to parameter 'msg' here int pel_recv_msg( int sockfd, unsigned char msg, int length ); ^ In file included from doexec.c:4: ./doexec_unix.h:199:52: warning: passing 'char [128]' to parameter of type 'unsigned char ' converts between pointers to integer types with different sign [-Wpointer-sign] if (pel_send_msg(socketfd, buf, cnt) != PEL_SUCCESS) { ^~~ ./pel.h:26:50: note: passing argument to parameter 'msg' here int pel_send_msg( int sockfd, unsigned char msg, int length ); ^ 2 warnings generated. In file included from dbd.c:246: ./misc.h:150:28: warning: passing 'unsigned char ' to parameter of type 'const char ' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(idstart = strstr(string, Id_string))) { ^~ /usr/include/string.h:89:26: note: passing argument to parameter here char strstr(const char , const char ); ^ In file included from dbd.c:247: ./readwrite.h:223:50: warning: passing 'char [128]' to parameter of type 'unsigned char ' converts between pointers to integer types with different sign [-Wpointer-sign] if (pel_send_msg(peersd, stackbuf, strlen(stackbuf)) != PEL_SUCCESS) { ^~~~ ./pel.h:26:50: note: passing argument to parameter 'msg' here int pel_send_msg( int sockfd, unsigned char msg, int length ); ^ In file included from dbd.c:247: ./readwrite.h:230:46: warning: passing 'char [128]' to parameter of type 'unsigned char ' converts between pointers to integer types with different sign [-Wpointer-sign] if (pel_send_msg(peersd, buf, cnt) != PEL_SUCCESS) { ^~~ ./pel.h:26:50: note: passing argument to parameter 'msg' here int pel_send_msg( int sockfd, unsigned char msg, int length ); ^ In file included from dbd.c:247: ./readwrite.h:250:46: warning: passing 'char [128]' to parameter of type 'unsigned char ' converts between pointers to integer types with different sign [-Wpointer-sign] if (pel_recv_msg(peersd, buf, &cnt) != PEL_SUCCESS) { ^~~ ./pel.h:27:50: note: passing argument to parameter 'msg' here int pel_recv_msg( int sockfd, unsigned char msg, int length ); ^ In file included from dbd.c:262: ./socket_code.h:247:58: warning: passing 'int ' to parameter of type 'socklent ' (aka 'unsigned int ') converts between pointers to integer types with different sign [-Wpointer-sign] if ((clisd = accept(sd, (struct sockaddr) &cliAddr, &clilen)) < 0) { ^~~ /usr/include/sys/socket.h:555:69: note: passing argument to parameter here int accept(int, struct sockaddr * restrict, socklen_t * restrict) ^ In file included from dbd.c:262: ./socketcode.h:291:61: warning: passing 'int ' to parameter of type 'socklent ' (aka 'unsigned int ') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(clisd, (struct sockaddr) &gsnAddr, &gsnlen)) { ^~~ /usr/include/sys/socket.h:561:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * restrict, socklen_t * restrict) ^

darksheer commented 10 years ago

Any help with this?