Skip to content

Commit

Permalink
Extract default options
Browse files Browse the repository at this point in the history
  • Loading branch information
adfoster-r7 committed Apr 15, 2024
1 parent 1168f5d commit 1374d75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/extract_module_info.rc
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,13 @@ _, total_time = record_time do
path: mod.file_path.sub(/^#{Msf::Config.install_root}/, ''),
ref_name: mod.class.refname,
check: mod.has_check?,
postAuth: mod.post_auth?,
post_auth: mod.post_auth?,
default_credential: mod.default_cred?,
notes: mod.notes,
needs_cleanup: (
mod.respond_to?(:needs_cleanup?) ? mod.needs_cleanup? : nil
),
default_options: mod.send(:module_info)['DefaultOptions'],
options: options
}

Expand Down

0 comments on commit 1374d75

Please sign in to comment.