Mic*_*ene 5 encryption c openssl
我跑:
gcc bruteforce.c -o bruteforce -lcrypto
Run Code Online (Sandbox Code Playgroud)
有一个头文件代码#include <openssl/evp.h>
在另一台机器上完美运行但在我当前的电脑上有以下错误。
bruteforce.c:1:25: fatal error: openssl/evp.h: No such file or directory
compilation terminated.
Run Code Online (Sandbox Code Playgroud)
另一个答案几乎是正确的,但只有在您已经解决了问题的情况下才有效。它让我找到了这个解决方案:
sudo apt install -y libssl-dev
Run Code Online (Sandbox Code Playgroud)
询问包装系统:
walt@bat:~(0)$ dpkg -S /usr/include/openssl/evp.h
libssl-dev:amd64: /usr/include/openssl/evp.h
Run Code Online (Sandbox Code Playgroud)