droberson / ssh-honeypot

Fake sshd that logs ip addresses, usernames, and passwords.
MIT License
620 stars 240 forks source link

MD5 Error #29

Closed CyberScopeToday closed 3 days ago

CyberScopeToday commented 8 months ago

root@ubuntu~/ssh-honeypot# make cc -Wall -o bin/ssh-honeypot src/ssh-honeypot.c -lssh -ljson-c -lpcap -lssl -lcrypto src/ssh-honeypot.c: In function ‘parse_hassh’: src/ssh-honeypot.c:484:9: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 484 | MD5_Init(&ctx); | ^~~~ In file included from src/ssh-honeypot.c:39: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX c); | ^~~~ src/ssh-honeypot.c:485:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 485 | MD5_Update(&ctx, hassh, strlen(hassh)); | ^~~~~~ In file included from src/ssh-honeypot.c:39: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX c, const void data, size_t len); | ^~~~~~ src/ssh-honeypot.c:486:9: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 486 | MD5_Final(digest, &ctx); | ^~~~~ In file included from src/ssh-honeypot.c:39: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char md, MD5_CTX *c); | ^~~~~