forked from p15670423/monkey
Agent: Fix formatting in utils/brute_force.py with Black
This commit is contained in:
parent
66d9549507
commit
e5acdf4cb7
|
@ -41,13 +41,12 @@ def generate_username_password_or_ntlm_hash_combinations(
|
|||
|
||||
|
||||
def generate_brute_force_combinations(options: dict):
|
||||
return generate_username_password_or_ntlm_hash_combinations(usernames=options["credentials"]["exploit_user_list"],
|
||||
passwords=options["credentials"][
|
||||
"exploit_password_list"],
|
||||
lm_hashes=options["credentials"][
|
||||
"exploit_lm_hash_list"],
|
||||
nt_hashes=options["credentials"][
|
||||
"exploit_ntlm_hash_list"])
|
||||
return generate_username_password_or_ntlm_hash_combinations(
|
||||
usernames=options["credentials"]["exploit_user_list"],
|
||||
passwords=options["credentials"]["exploit_password_list"],
|
||||
lm_hashes=options["credentials"]["exploit_lm_hash_list"],
|
||||
nt_hashes=options["credentials"]["exploit_ntlm_hash_list"],
|
||||
)
|
||||
|
||||
|
||||
# Expects a list of username, password, lm hash and nt hash in that order
|
||||
|
|
Loading…
Reference in New Issue