Main
Hash functions
Practical example why hash is necessary
- Java code to perform md5 hashing - you have to remove the salt
- Hash function database for md5
- hash of word “password”
5f4dcc3b5aa765d61d8327deb882cf99
- Linux Mint set hash function location
/etc/login.defs
- linux lcrypt example
- crypt function first parameter - password chosen
- crypt function second parameter - $key$salt
- In this case
- password - password1
- key - 1 (means md5)
- salt - NBSmdW0E
- result - $1$NBSmdW0E$PTcjork/6DMui1ogc2g/0.
~~~
#define _XOPEN_SOURCE
#include
#include
int main() { printf(“%s\n”, crypt(“password1”,”$1$NBSmdW0E”)); } ~~~
Cracking passwords with John
PROXY
If you are very interested
- This tutorial involves understanding the booting process very thoroughly. It involves crypting the hardrive and setting up the booting manually to work with the encrypted harddrive. System Administration practical 2