Skip to content

Commit

Permalink
updated according to suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pUrGe12 committed Mar 6, 2025
1 parent f4ba0c8 commit 083a321
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nettacker/core/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ def __init__(
self.module_inputs[module_extra_args] = self.module_inputs["modules_extra_args"][
module_extra_args
]
if options.user_wordlist:
self.module_inputs["read_from_file"] = options.user_wordlist

self.target = target

self.scan_id = scan_id
Expand Down
1 change: 1 addition & 0 deletions nettacker/locale/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ cannot_run_api_server: You can't run API Server through itself!
error_target: Cannot specify the target(s)
error_target_file: "Cannot specify the target(s), unable to open file: {0}"
error_username: "Cannot specify the username(s), unable to open file: {0}"
error_wordlist: "Unable to open wordlist file: {0}"
exclude_scan_method: choose scan method to exclude {0}
file_write_error: file "{0}" is not writable!
library_not_supported: library [{0}] is not support!
Expand Down

0 comments on commit 083a321

Please sign in to comment.