Commit Graph

806 Commits

Author SHA1 Message Date
Brent Cook f4a0ef2ee9 Land #12640, improve Wordpress check versions
Merge remote-tracking branch 'upstream/pr/12640' into upstream-master
2019-12-26 13:47:04 -06:00
Christophe De La Fuente 857677f39d Update log message 2019-11-29 11:35:14 +01:00
Christophe De La Fuente 6a7c2835ec Update specs... again 2019-11-28 16:05:51 +01:00
Christophe De La Fuente 127e1d451f Update specs 2019-11-28 14:58:25 +01:00
Adam Cammack da81c1600e Trivial specs on the attrs for now 2019-11-19 00:30:44 -06:00
Phil Pirozhkov 87d0fa46f8 Get rid of RSpec implicit block expectation syntax
The syntax was removed in rspec-expectations 3.8.5.
Related:
https://blog.rubystyle.guide/rspec/2019/07/17/rspec-implicit-block-syntax.html
https://github.com/rspec/rspec-expectations/pull/1125
https://github.com/rubocop-hq/rspec-style-guide/issues/76

This is a follow-up to #12397 and unpins `rspec-expectations`.
2019-10-04 23:12:34 +03:00
Brent Cook fd66829cbb remove unneeded change in workspace variable 2019-09-25 03:47:14 -05:00
Brent Cook 27f5720055 use unique Dummy*Class per test 2019-09-25 03:46:11 -05:00
Brent Cook 75c58d39a9 Land #12314, Clarify file: handling with the RHOSTS parameter 2019-09-24 06:10:29 -05:00
Brent Cook 0ed09cc9bf Land #11927, Add Brocade post module and config parser 2019-09-24 05:59:21 -05:00
Clément Notin ecb5eec969 RHOSTS: test for accept both "file://<path>" and "file:<path>" syntax 2019-09-11 19:04:53 +02:00
Adam Cammack 6a8f6d7a57 Unify spec and lib 2019-08-22 18:03:13 -05:00
h00die a2160c84c6 juniper config parser tests 2019-08-10 09:39:26 -04:00
h00die 0c510ca428 cisco spec w/ more usernames 2019-07-21 21:59:04 -04:00
Brent Cook 42c0a3b96a deprecate the db_rebuild_cache command, add reload_search
For a while, Metasploit has not used the old database-backed module cache in favor of the lightweight JSON data store. This also means that the db_rebuild_cache command has been broken.

While the base module cache usually stays up to date, if you delete a module as a developer, there's currently no great way to make the search function forget about that module unless you rebuild the cache manually (a procedure mostly documented inside of an automated build job).

This moves the logic from that build job into the a new reload_search command, and deprecates the old one.
2019-06-29 03:36:39 -05:00
h00die 4d60f38177 brocade working 2019-06-09 15:10:05 -04:00
Brent Cook 621d404a27 fix tests, handle stdin properly 2019-05-31 15:02:59 -05:00
Jacob Robles 37f5a419b7 Update spec with new intended cmd_creds behavior
Creds behavior was changed in PR #11742
2019-04-18 05:53:23 -05:00
Brent Cook 930d1fb78a Land #11351, many new John the Ripper module improvements 2019-02-13 03:05:14 -06:00
h00die d3e7396c32 fix up cisco spec for jtr_format 2019-02-07 14:54:33 -05:00
h00die ed0a3ea084 more spec modification for creds 2019-02-03 14:04:38 -05:00
h00die 53b488ce08 fix creds spec for jtr improvements 2019-02-03 12:58:35 -05:00
h00die 25d3695864 spec for cisco config eater with new host data 2019-01-27 21:10:01 -05:00
Wei Chen 0051caf6ce Update java_deserialization_spec to rescue the right exception 2019-01-16 10:47:52 -06:00
Wei Chen f5210abb55 Add rspec 2018-12-26 11:18:44 -06:00
bwatters-r7 08ec8e1ef9 Land #10553, add x86/xor_dynamic and x64/xor_dynamic encoders
Merge branch 'land-10553' into upstream-master
2018-10-30 09:56:15 -05:00
William Vu 1737935dc0 Convert reverse_relative_name to a class method
It'll be easier to use this way if someone uses it externally.
2018-10-10 13:21:18 -05:00
Brent Cook eb0febc86c Land #10729, Namespace modules using full name instead of hex 2018-10-05 11:40:50 -04:00
William Vu 9f30512532 Land #10707, module traits to augment module rank 2018-10-04 13:26:14 -05:00
Wei Chen b2d0b580cf Fix rspec 2018-10-04 04:24:53 -05:00
William Vu 46e7b8ac98 Namespace modules using full name instead of hex 2018-10-01 18:32:23 -05:00
Brent Cook 572d430429 Land #10682, add JSON RPC framework and msfrpc v1.0 API endpoints 2018-09-28 15:21:02 -05:00
Green-m b5df80d64b Add require readline to fix uninit issue. 2018-09-25 14:07:54 +08:00
Green-m dfb6f1f554 Fix undefined method session issue, thx wchen-r7 2018-09-25 11:53:24 +08:00
Matthew Kienow ab443831a9 Add RSpec for Msf::RPC::JSON::Dispatcher 2018-09-24 17:27:06 -04:00
Green-m f404b7e699 Improve the context to be more percise. 2018-09-23 11:29:05 +08:00
Green-m 37335ed282 Add spec test for cmd_set_tabs. 2018-09-20 18:36:23 +08:00
phra 8404cbea3c test: chooses x86/call4_dword_xor => x86/xor_dynamic #2 2018-09-04 00:22:05 +02:00
phra 82d25a0fcd test: improve test message 2018-09-03 23:08:01 +02:00
phra 360b09c244 test: use meterpreter_bind_tcp instead of meterpreter_reverse_tcp 2018-09-03 23:05:45 +02:00
phra e2ba0ac9b9 Revert "test: chooses x86/call4_dword_xor => x86/xor_dynamic"
This reverts commit 7516be4147.
2018-09-03 22:52:55 +02:00
Matthew Kienow 34f87efb2b Land #10532, enhance db_connect for data services 2018-09-03 09:43:34 -04:00
phra 7516be4147 test: chooses x86/call4_dword_xor => x86/xor_dynamic 2018-09-01 03:34:50 +02:00
phra 16f2cd6910 test: add x86/xor_dynamic badchars test 2018-09-01 03:17:18 +02:00
James Barnett 1c24dabdb1 Update test for text changes 2018-08-29 14:13:35 -05:00
William Vu 2891255549 Clarify what is being imported currently
Since the parser is focused on creds.
2018-08-22 15:53:19 -05:00
William Vu b1c633faf6 Add Group Policy Preferences support to db_import
And take the Jaden Smith approach, as @busterb quipped to me. :)

This one's a little weird, since you normally import scans into
Metasploit, but now that creds are first-class in the database, it makes
more sense to be able to import them.

Currently, your alternatives are post/windows/gather/credentials/gpp,
which requires a session, and auxiliary/scanner/smb/smb_enum_gpp, which
requires a network scan.
2018-08-21 23:44:39 -05:00
William Vu 74b74b89d1 Fix spec for modules not defining check
It's no longer necessary, and we handle this and return the right thing.
2018-07-18 17:39:38 -05:00
bwatters-r7 7e34f27004 Land #9246, Support RHOSTS for exploit modules 2018-05-16 14:40:25 -05:00
christopher lee 516b61ebaa Merged master 2018-04-26 16:02:56 -05:00