Commit Graph

1911 Commits

Author SHA1 Message Date
bwatters 5dafb52922 Land #14564, Switch to using mod parameter for tab completion
Merge branch 'land-14564' into upstream-master
2021-01-25 14:57:20 -06:00
Grant Willcox 940042ecbb Land #14647, Fix run command tab completions by using the correct value 2021-01-22 13:44:57 -06:00
Spencer McIntyre f3746be8c6 Fix tab completions by using the correct value 2021-01-22 11:45:03 -05:00
adfoster-r7 ff6a1f135c Land #14629, migrate msf folder to Zeitwerk 2021-01-22 14:21:26 +00:00
Alan Foster ad8891dff6 Switch to using mod parameter for tab completion 2021-01-21 22:59:36 +00:00
cgranleese-r7 d5204cf68f Land #14583, Add check for nmap requiring sudo permissions 2021-01-18 15:31:40 +00:00
dwelch-r7 da50c257b5 Fix typo in regex 2021-01-18 15:07:49 +00:00
dwelch-r7 d6896dadc0 remove msf folder requires 2021-01-18 14:21:54 +00:00
dwelch-r7 d437a32374 remove msf/util requires 2021-01-18 14:21:54 +00:00
dwelch-r7 b816373b94 remove msf/ui requires 2021-01-18 14:21:54 +00:00
adfoster-r7 da7a51fbca Land #14584, implement the zeitwerk autoloader within lib/msf/base 2021-01-18 13:11:08 +00:00
Spencer McIntyre a9804727d5 Update the VHOST datastore option for modules
This fixes handling the VHOST datastore option for modules that use the
HTTP Client mixin whereby the IP address was being used since RHOSTS is
resolved.
2021-01-11 10:31:36 -05:00
Spencer McIntyre 10b4c7b4da Fix a command precedence and parsing extra options 2021-01-07 15:16:40 -05:00
Spencer McIntyre fc7953c50e Use super in #method_missing for future mixins 2021-01-07 12:05:59 -05:00
dwelch-r7 a5cfa5175e Match against more specific error messages 2021-01-07 16:29:41 +00:00
dwelch-r7 992bcbfac4 Add coverage for other nmap scans which require root 2021-01-06 11:14:29 +00:00
dwelch-r7 c0912b358c Fix tests 2021-01-05 16:20:42 +00:00
dwelch-r7 bad5ccbc49 Remove msf/base requires 2021-01-05 14:59:46 +00:00
dwelch-r7 0d29b8d66c Add check for nmap requiring sudo permissions 2021-01-05 11:39:43 +00:00
Spencer McIntyre 11ca76cacc Support post actions as commands too 2020-12-29 16:54:09 -05:00
Spencer McIntyre 2f979757e3 Refactor the action commands dispatching logic into a nice mixin 2020-12-29 14:59:06 -05:00
dwelch-r7 06fab92329 Remove dead link 2020-12-14 15:20:15 +00:00
dwelch-r7 ee32393b41 Address code review comments 2020-12-10 17:24:30 +00:00
dwelch-r7 dae27fb3ba Make the EICAR canary useful again 2020-12-09 14:47:22 +00:00
dwelch-r7 1617b3ec9b Use zeitwerk for lib/msf/core folder 2020-12-07 10:31:45 +00:00
Grant Willcox 21bfb41b48 Land #14417, Line wrap Metasploit tips at 60 columns 2020-11-21 23:17:50 -06:00
Brendan Coles 27f0cf341f Line wrap Metasploit tips at 60 columns 2020-11-21 14:26:38 +00:00
Jeffrey Martin 49fac19692 guard persist on handler existence
Short term fix to only persist jobs with handlers. More work should
be done to improve job persistence to allow more jobs types to persist.
2020-11-13 17:08:10 -06:00
Alan Foster 832e2263b0 Ensure consistent tab completes 2020-10-15 19:55:54 +01:00
cgranleese-r7 9e16fb8c4f Add module option tab completion to run command 2020-10-09 14:35:48 +01:00
Spencer McIntyre 9cb3d3e091 Land #14070, Tab-completion improvements for modules with conditional OPTIONS 2020-10-07 16:33:55 -04:00
Spencer McIntyre e1b4d17de6 Use Array#delete_if like suggested 2020-10-07 15:57:28 -04:00
Alan Foster 94fcd808fb Show correct rank for show exploits command 2020-09-23 11:34:46 +01:00
Alan Foster 437f11bf56 Updates search command to always show additional usage details 2020-09-08 13:30:56 +01:00
cgranleese-r7 2e19c9ec83 Add example of info 3 to the search results 2020-09-04 10:53:04 +01:00
Spencer McIntyre e54d6857ea Land #13919, [GSoC] Ev2 - Easier actions interaction system for modules implemented 2020-09-01 09:23:06 -04:00
María Belén Tualombo Chimbo 9eca457358 avoid using the datastore and use kwarg 2020-09-01 04:30:14 -04:00
María Belén Tualombo Chimbo 887a84ecf9 if added 2020-09-01 04:09:03 -04:00
María Belén Tualombo Chimbo 256096dd03 minor fix 2020-08-29 17:43:16 -04:00
María Belén Tualombo Chimbo 30bebdba26 some minor changes 2020-08-29 17:38:19 -04:00
María Belén Tualombo Chimbo db4de72be8 lowercase added to help output for action commands 2020-08-29 14:00:15 -04:00
María Belén Tualombo Chimbo b4e555c7cc Tab-completion improved for module OPTIONS not available 2020-08-29 13:31:52 -04:00
María Belén Tualombo Chimbo 769b4ab5dc help output for action commands updated 2020-08-29 05:51:53 -04:00
adfoster-r7 763448c971 Land #14053, Add the ability to use numerics with the info command 2020-08-28 11:07:34 +01:00
cgranleese-r7 e094a55ff2 Add the ability to use numerics with info command 2020-08-28 10:28:07 +01:00
adfoster-r7 177f720f80 Land #14021, when searching modules for multiple text terms, the search will now require for all words to be matched 2020-08-27 20:02:55 +01:00
dwelch-r7 4ace8e39c1 Pass args through to search for cmd_use 2020-08-27 17:39:43 +01:00
María Belén Tualombo Chimbo bbb032b83d minor fix 2020-08-27 11:42:12 -04:00
María Belén Tualombo Chimbo ddfc554026 Some improvements suggested for code optimization 2020-08-27 11:29:25 -04:00
Alan Foster 37fd5dee27 Reload module after toggling features 2020-08-25 12:27:25 +01:00