C Programming: Cracking Passwords Using Brute-Force

preview_player
Показать описание
In this session we'll learn how to crack MD5 hashes using brute force, in which all permutations of passwords are tried. Along the way we'll see how a tool like Valgrind can help track down memory leaks.
Рекомендации по теме
Комментарии
Автор

Thank you I watched the whole video and your explanation about malloc was very helpful

fizruk
Автор

I believe libcrypto should be the same lib name for openssl across Linux distros. But if someone does have an issue, they can always check "pkg-config --libs openssl" to get the linker flags, or better yet, use it directly in the compile statement like:
gcc name.c `pkg-config --libs openssl` -o name
or as an alternative to backticks:
gcc name.c $(pkg-config --libs openssl) -o name

pkg-config is also available on Windows with MSYS2/mingw and cygwin as well, and the above methods work there also. It's probably a good idea to also add the --cflags option as well, but I believe it still works without. I'm not too sure about Mac OS, however it looks like pkg-config is available with brew, so it should work there as well, but I don't know if it's installed by default or not. I have little experience with Mac and don't have one to test it.

nunyobiznez
Автор

I think parallel programming would be more efficient in brute force approach

abdulwasay