Add notes for Lab 09
This commit is contained in:
parent
c86a091787
commit
f97eec55df
2
Lab 9 - Authentication/.gitignore
vendored
Normal file
2
Lab 9 - Authentication/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
rockyou.txt
|
||||
steve_passwords.kdbx
|
29
Lab 9 - Authentication/README.md
Normal file
29
Lab 9 - Authentication/README.md
Normal 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`
|
Loading…
Reference in a new issue