First of all, I would very much appreciate the sharing of the author. It really do me a big favor for research.
By the way, if the result is always be the same string like "ca42f381, b478803f, 60fc4be2, a053ac5a".

Please check the installation location of openssl. In the newspy.cpp, it writes "int fd = open("/usr/local/lib/libcrypto.so", O_RDONLY);". But in the high-version system such as CentOS7, the location is changed to "usr/local/lib64/libcrypto.so". Please check your location.
This solve the problem for me.
First of all, I would very much appreciate the sharing of the author. It really do me a big favor for research.
By the way, if the result is always be the same string like "ca42f381, b478803f, 60fc4be2, a053ac5a".
Please check the installation location of openssl. In the newspy.cpp, it writes "int fd = open("/usr/local/lib/libcrypto.so", O_RDONLY);". But in the high-version system such as CentOS7, the location is changed to "usr/local/lib64/libcrypto.so". Please check your location.
This solve the problem for me.