Add notes for Lab 09

This commit is contained in:
Manuel Thalmann 2023-12-15 15:31:21 +01:00
parent c86a091787
commit f97eec55df
2 changed files with 31 additions and 0 deletions

2
Lab 9 - Authentication/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
rockyou.txt
steve_passwords.kdbx

View file

@ -0,0 +1,29 @@
# Authentication
## Download Wordlist
```sh
wget https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt -O rockyou.txt
```
## Password Cracking
Crack Password using `john`:
```sh
#!/bin/bash
john --wordlist=./rockyou.txt --format=crypt <(echo '$1$randsalt$1FzqFfQs5tCdStIZl215/.')
```
As a result we get the password: `topgunner2k7`
## KeePass Cracking
Download KeePass database:
<https://courses.fit.cvut.cz/BIE-ASB/tutorials/files/steve_passwords.kdbx>
Crack KeePass database password:
```sh
#!/bin/bash
john --wordlist=./rockyou.txt <(keepass2john steve_passwords.kdbx)
```
As a result, we get the password: `dancingdiva11195`