-
Notifications
You must be signed in to change notification settings - Fork 0
Description
root@utshin:/tmp/.ICE-unix/brokepkg/Diamorphine/rootkit-linux5x-idt-syscall/Process-Protection-Rootkit/linux-rootkit/server/JynxKit# make all
gcc -Wall -o bc bc.c -lpcap -lssl -lcrypto
bc.c: In function ‘enterpass’:
bc.c:160:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
160 | sprintf(tmp, "%d",strlen(buf));
| ~^ ~~~~~~~~~~~
| | |
| | size_t {aka long unsigned int}
| int
| %ld
bc.c: In function ‘getMD5’:
bc.c:189:6: warning: pointer targets in passing argument 1 of ‘MD5’ differ in signedness [-Wpointer-sign]
189 | MD5(ori,len,md);
| ^~~
| |
| const char *
In file included from bc.c:35:
/usr/local/include/openssl/md5.h:43:16: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’
43 | unsigned char *MD5(const unsigned char *d, size_t n, unsigned char md);
| ^~~
bc.c: In function ‘InitCTX’:
bc.c:225:14: warning: implicit declaration of function ‘SSLv3_client_method’; did you mean ‘SSLv23_client_method’? [-Wimplicit-function-declaration]
225 | method = SSLv3_client_method(); / Create new client-method instance */
| ^~~~~~~~~~~~~~~~~~~
| SSLv23_client_method
bc.c:225:12: warning: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
225 | method = SSLv3_client_method(); / Create new client-method instance */
| ^
bc.c: In function ‘got_packet’:
bc.c:369:15: warning: variable ‘r_urp’ set but not used [-Wunused-but-set-variable]
369 | unsigned int r_urp;
| ^~~~~
bc.c: In function ‘main’:
bc.c:488:3: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
488 | dev = pcap_lookupdev(errbuf);
| ^~~
In file included from /usr/include/pcap.h:43,
from bc.c:16:
/usr/include/pcap/pcap.h:328:16: note: declared here
328 | PCAP_API char *pcap_lookupdev(char *)
| ^~~~~~~~~~~~~~
bc.c:518:2: warning: implicit declaration of function ‘umask’ [-Wimplicit-function-declaration]
518 | umask(0);
| ^~~~~
bc.c: In function ‘enterpass’:
bc.c:149:2: warning: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation]
149 | strncpy(trans,SALT,SALT_LENGTH);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccuBGIvW.o: in function InitCTX': bc.c:(.text+0x39f): undefined reference to SSLv3_client_method'
collect2: error: ld returned 1 exit status
make: *** [Makefile:7: bc] 오류 1
root@utshin:/tmp/.ICE-unix/brokepkg/Diamorphine/rootkit-linux5x-idt-syscall/Process-Protection-Rootkit/linux-rootkit/server/JynxKit#