Commit Graph

19 Commits

Author SHA1 Message Date
Jeffrey Martin d20ef7a08b add LDAP to capture plugin 2024-01-23 13:52:35 -06:00
Rory McKinley a967815397 Remove reliance on deprecated print_* methods 2023-06-28 17:56:57 +02:00
Rory McKinley 795fae2b81 Tweak help output to provide more detail 2023-06-28 16:52:07 +02:00
Jeffrey Martin f779f0f482 consolidate the config directory lookups
The user configuration directory can be overridden via environment
variables or configuration files.

In the current implementation `Msf::Config.config_directory` should be
utilized for consistent location reporting. `Msf::Config.get_config_root`
is reserved to generation of a default location and should be considered
`private` as it ignores some injected configuration options. Currently
autoloading does not allow application of the `private` keyword to this method,
requiring guidance during development that module writers should access the
full configured `user` value of `Msf::Config.config_directory`.
2022-07-25 15:27:21 -05:00
Spencer McIntyre e96abb1254 Rename the capture command
Multiple modules provide a "Capture" action that would collide with this
name. Rename it to `captureg` for Capture-Global.
2022-03-21 17:43:11 -04:00
Ashley Donaldson 0abdd55234 Use a file in .msf4, copying it from the data directory if it doesn't exist.
Fixes some bugs relating to pivoting through a session
2022-03-17 09:18:43 +11:00
Ashley Donaldson 9074d7b2bd Reformatted yaml file to be more flexible in future 2022-03-17 08:47:10 +11:00
Ashley Donaldson efaf21cbed Show specific error message if module fails to load 2022-03-15 09:58:45 +11:00
Ashley Donaldson 8c35870a63 Make parsers instance variables to make rubocop happy 2022-03-11 16:56:10 +11:00
Ashley Donaldson 06cc16c4cb Rubocop changes 2022-03-11 16:16:04 +11:00
Ashley Donaldson 538b680e79 Split tab completion into separate methods for each sub-command 2022-03-11 15:18:58 +11:00
Ashley Donaldson b34189e24c Take more parameters from a config file 2022-03-11 15:10:08 +11:00
Ashley Donaldson 1c84c1a314 More suggestions from code review 2022-03-10 17:29:17 +11:00
Ashley Donaldson 0c968cd38b Apply suggestions from code review
Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>
2022-03-10 17:17:45 +11:00
Ashley Donaldson 0733f1e00e Force capture defaults to come from the data file 2022-03-08 11:30:59 +11:00
Ashley Donaldson 02bb5234a3 Update help, fix POP3S port and disable DNS (broken) and WPAD (not actually useful) 2022-03-07 21:40:31 +11:00
Ashley Donaldson a212cd57e5 HTTPS modules should use encryption 2022-03-07 15:12:34 +11:00
Ashley Donaldson 9b7107a711 Close handle to log file once the capture has ended (or a new one has begun) 2022-03-07 11:34:36 +11:00
Ashley Donaldson a31b2ff1d5 Rename capture module 2022-03-03 17:26:04 +11:00