Browse Source

added chapter "formats" to john the ripper

Hans Martin 5 years ago
parent
commit
99a8b9c17d
1 changed files with 31 additions and 0 deletions
  1. 31 0
      cheatsheets/security/passwords/cracking_john-the-ripper.md

+ 31 - 0
cheatsheets/security/passwords/cracking_john-the-ripper.md

@@ -7,6 +7,7 @@ tags: [cracking, passwords, john]
 # Password/Hash Cracking - John the Ripper
 
 * [Basic Usage](#basic-usage)
+    - [Common Formats](#common-formats)
 * [Advanced Usage](#advanced-usage)
     - [Modes](#modes)
         - [Wordlist Mode](#wordlist-mode)
@@ -37,9 +38,39 @@ john --show hash.txt
 ```
 john --restore
 ```
+* Start in incremental mode
+```
+john --incremental=<MODE> hash.txt
+```
+* Start in external mode
+```
+john --external=<MODE> hash.txt
+```
+
 
 * ² Session Information is stored in `$HOME/.john/`.
 
+### Common Formats
+
+By default, john will try to detect the hash(es) that are supplied.
+This mode can be overwritten by specifying the format with the `--format` flag.
+
+Common formats are:
+
+- raw-md5 (MD5)
+- raw-sha1 (SHA1)
+- raw-sha256 (SHA256)
+- crypt (Linux /etc/shadow hash)
+- wpapsk (WPA PSK Hash)
+- bcrypt/scrypt
+- ...
+
+
+* All formats can be viewed with the following command:
+```
+john --list=formats
+```
+
 
 ## Advanced Usage: