Skip to content

Commit

Permalink
fix case of variable
Browse files Browse the repository at this point in the history
  • Loading branch information
h00die committed Mar 22, 2019
1 parent 14febf6 commit 49b936f
Show file tree
Hide file tree
Showing 17 changed files with 49 additions and 9 deletions.
5 changes: 5 additions & 0 deletions documentation/modules/auxiliary/analyze/apply_pot.md
Expand Up @@ -29,6 +29,11 @@
records cracked password hashes. Kali linux's default location is `/root/.john/john.pot`.
Default is `~/.msf4/john.pot`.

**DeleteTempFiles**

This option will prevent deletion of the wordlist and file containing hashes. This may be useful for
running the hashes through john if it wasn't cracked, or for debugging. Default is `false`.

## Scenarios

In this scenario, we fill a bunch of different hash types into the creds db. You'll need a
Expand Down
5 changes: 5 additions & 0 deletions documentation/modules/auxiliary/analyze/jtr_aix.md
Expand Up @@ -28,6 +28,11 @@
The path to an optional custom wordlist. This file is added to the new wordlist which may include the other
`USE` items like `USE_CREDS`, and have `MUTATE` or `KORELOGIC` applied to it.

**DeleteTempFiles**

This option will prevent deletion of the wordlist and file containing hashes. This may be useful for
running the hashes through john if it wasn't cracked, or for debugging. Default is `false`.

**ITERATION_TIMEOUT**

The max-run-time for each iteration of cracking
Expand Down
5 changes: 5 additions & 0 deletions documentation/modules/auxiliary/analyze/jtr_linux.md
Expand Up @@ -36,6 +36,11 @@

Include `blowfish` and `SHA`(256/512) passwords.

**DeleteTempFiles**

This option will prevent deletion of the wordlist and file containing hashes. This may be useful for
running the hashes through john if it wasn't cracked, or for debugging. Default is `false`.

**CUSTOM_WORDLIST**

The path to an optional custom wordlist. This file is added to the new wordlist which may include the other
Expand Down
5 changes: 5 additions & 0 deletions documentation/modules/auxiliary/analyze/jtr_mssql_fast.md
Expand Up @@ -30,6 +30,11 @@
The path to an optional custom wordlist. This file is added to the new wordlist which may include the other
`USE` items like `USE_CREDS`, and have `MUTATE` or `KORELOGIC` applied to it.

**DeleteTempFiles**

This option will prevent deletion of the wordlist and file containing hashes. This may be useful for
running the hashes through john if it wasn't cracked, or for debugging. Default is `false`.

**ITERATION_TIMEOUT**

The max-run-time for each iteration of cracking
Expand Down
5 changes: 5 additions & 0 deletions documentation/modules/auxiliary/analyze/jtr_mysql_fast.md
Expand Up @@ -29,6 +29,11 @@
The path to an optional custom wordlist. This file is added to the new wordlist which may include the other
`USE` items like `USE_CREDS`, and have `MUTATE` or `KORELOGIC` applied to it.

**DeleteTempFiles**

This option will prevent deletion of the wordlist and file containing hashes. This may be useful for
running the hashes through john if it wasn't cracked, or for debugging. Default is `false`.

**ITERATION_TIMEOUT**

The max-run-time for each iteration of cracking
Expand Down
5 changes: 5 additions & 0 deletions documentation/modules/auxiliary/analyze/jtr_oracle_fast.md
Expand Up @@ -37,6 +37,11 @@
The path to an optional custom wordlist. This file is added to the new wordlist which may include the other
`USE` items like `USE_CREDS`, and have `MUTATE` or `KORELOGIC` applied to it.

**DeleteTempFiles**

This option will prevent deletion of the wordlist and file containing hashes. This may be useful for
running the hashes through john if it wasn't cracked, or for debugging. Default is `false`.

**ITERATION_TIMEOUT**

The max-run-time for each iteration of cracking
Expand Down
5 changes: 5 additions & 0 deletions documentation/modules/auxiliary/analyze/jtr_postgres_fast.md
Expand Up @@ -32,6 +32,11 @@
The path to an optional custom wordlist. This file is added to the new wordlist which may include the other
`USE` items like `USE_CREDS`, and have `MUTATE` or `KORELOGIC` applied to it.

**DeleteTempFiles**

This option will prevent deletion of the wordlist and file containing hashes. This may be useful for
running the hashes through john if it wasn't cracked, or for debugging. Default is `false`.

**ITERATION_TIMEOUT**

The max-run-time for each iteration of cracking
Expand Down
5 changes: 5 additions & 0 deletions documentation/modules/auxiliary/analyze/jtr_windows_fast.md
Expand Up @@ -29,6 +29,11 @@
The path to an optional custom wordlist. This file is added to the new wordlist which may include the other
`USE` items like `USE_CREDS`, and have `MUTATE` or `KORELOGIC` applied to it.

**DeleteTempFiles**

This option will prevent deletion of the wordlist and file containing hashes. This may be useful for
running the hashes through john if it wasn't cracked, or for debugging. Default is `false`.

**ITERATION_TIMEOUT**

The max-run-time for each iteration of cracking
Expand Down
2 changes: 1 addition & 1 deletion lib/msf/core/auxiliary/jtr.rb
Expand Up @@ -42,7 +42,7 @@ def initialize(info = {})

register_advanced_options(
[
OptBool.new('DELETE_TEMP_FILES', [false, 'Delete temporary wordlist and hash files', true])
OptBool.new('DeleteTempFiles', [false, 'Delete temporary wordlist and hash files', true])
], Msf::Auxiliary::JohnTheRipper
)
end
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/analyze/apply_pot.rb
Expand Up @@ -157,7 +157,7 @@ def run
end
end
end
if datastore['DELETE_TEMP_FILES']
if datastore['DeleteTempFiles']
cleanup_files.each do |f|
File.delete(f)
end
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/analyze/jtr_aix.rb
Expand Up @@ -87,7 +87,7 @@ def run
create_cracked_credential( username: username, password: password, core_id: core_id)
end
end
if datastore['DELETE_TEMP_FILES']
if datastore['DeleteTempFiles']
cleanup_files.each do |f|
File.delete(f)
end
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/analyze/jtr_linux.rb
Expand Up @@ -88,7 +88,7 @@ def run
create_cracked_credential( username: username, password: password, core_id: core_id)
end
end
if datastore['DELETE_TEMP_FILES']
if datastore['DeleteTempFiles']
cleanup_files.each do |f|
File.delete(f)
end
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/analyze/jtr_mssql_fast.rb
Expand Up @@ -87,7 +87,7 @@ def run
create_cracked_credential( username: username, password: password, core_id: core_id)
end
end
if datastore['DELETE_TEMP_FILES']
if datastore['DeleteTempFiles']
cleanup_files.each do |f|
File.delete(f)
end
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/analyze/jtr_mysql_fast.rb
Expand Up @@ -85,7 +85,7 @@ def run
create_cracked_credential( username: username, password: password, core_id: core_id)
end
end
if datastore['DELETE_TEMP_FILES']
if datastore['DeleteTempFiles']
cleanup_files.each do |f|
File.delete(f)
end
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/analyze/jtr_oracle_fast.rb
Expand Up @@ -86,7 +86,7 @@ def run
create_cracked_credential( username: username, password: password, core_id: core_id)
end
end
if datastore['DELETE_TEMP_FILES']
if datastore['DeleteTempFiles']
cleanup_files.each do |f|
File.delete(f)
end
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/analyze/jtr_postgres_fast.rb
Expand Up @@ -124,7 +124,7 @@ def run
end
end
end
if datastore['DELETE_TEMP_FILES']
if datastore['DeleteTempFiles']
cleanup_files.each do |f|
File.delete(f)
end
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/analyze/jtr_windows_fast.rb
Expand Up @@ -127,7 +127,7 @@ def run
create_cracked_credential( username: username, password: password, core_id: core_id)
end
end
if datastore['DELETE_TEMP_FILES']
if datastore['DeleteTempFiles']
cleanup_files.each do |f|
File.delete(f)
end
Expand Down

0 comments on commit 49b936f

Please sign in to comment.