Commit Graph

21 Commits

Author SHA1 Message Date
Jeffrey Martin a41f655060 add lotus domino hash extraction spec
Adds a spec targeting a single method in the `lotus_domino_hashes` module. This is a start on
offering example on how a spec can be written to test part of the code in a module using example
responses from a unit testing perspective.
2022-07-05 11:38:25 -05:00
adfoster-r7 13a5d314de Add test for payload option validation 2021-09-02 13:00:03 +01:00
Alan Foster e5241b412a Add tests for aux and exploit cmd_check and cmd_run 2021-07-08 17:32:52 +01:00
Alan Foster 98a935f3cf Fix syntax errors in auxiliary spec modules 2021-05-26 23:15:50 +01:00
Alan Foster 260527076c Require rubocop for new modules 2021-02-23 23:05:48 +00:00
dwelch-r7 1617b3ec9b Use zeitwerk for lib/msf/core folder 2020-12-07 10:31:45 +00:00
Alan Foster 30809787c4 Convert disclosure dates to iso8601 2020-10-02 21:00:37 +01:00
William Vu cfe3e8fba9 Fix tidy auxiliary and payload modules 2019-03-27 09:59:55 -05:00
Brent Cook 6300758c46 use https for metaploit.com links 2017-07-24 06:26:21 -07:00
William Vu df306c1543 Fix spec (the irony!) 2017-04-26 03:56:10 -05:00
David Maloney 9dc4ee57b6 minor fixes to linux example module
fixed a copy paste error in the linux_autotarget
test exploit and added actual linux targets to it
2017-01-03 14:38:52 -06:00
David Maloney a61b92aa3e tweak target selection
the target selection actually adjust the datastore
as if a user selected the target, this prevents
a mismatch between the target and the target index

MS-2325
2017-01-03 14:38:51 -06:00
David Maloney 3d2957dff1 tying it all together
insert our autotarget routine into
the main target selection process

MS-2325
2017-01-03 14:38:50 -06:00
David Maloney f107408389 target_host specs
add specs for finding the 'target host' ie.
the mdm::Host object related to the RHOST value
to see what we know about our target

MS-2325
2017-01-03 14:38:49 -06:00
David Maloney 4060e63b89 add tests for auto target addition
tests to make sure we add auto targets only
in the appropriate conditions

MS-2325
2017-01-03 14:38:49 -06:00
David Maloney 84d5e42e4f start gearing up for testing
start getting auto-targeting test framework in place
so we can have unit tests for this behaviour

MS-2325
2017-01-03 14:38:45 -06:00
Christian Mehlmauer 3123175ac7 use MetasploitModule as a class name 2016-03-08 14:02:44 +01:00
Brent Cook cc436fe438 update to new preferred base class for modules 2016-03-06 17:11:51 -06:00
Jon Hart be84ed13a2 Update msftidy spec to be more easily added to 2015-12-24 10:55:13 -08:00
Jon Hart 5ac4e9aa6b Correct payload fixture 2015-12-23 12:55:01 -08:00
Jon Hart 83f0c2fa05 Add beginnings of rspec coverage for msftidy 2015-12-23 12:53:12 -08:00