Commit Graph

1699 Commits

Author SHA1 Message Date
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 39aae367a5 Land #11765, Update NUUO mixin, move code to Rex 2019-04-25 09:35:47 -05:00
Jacob Robles f3a820b475 Remove protocol option
Only tcp is supported for the mixin.
2019-04-24 14:24:30 -05:00
Brent Cook d207038ab8 Land #11722, expand password hash identification library 2019-04-24 05:09:30 -05:00
Jacob Robles d7c8c9ffff Add nuuo response spec 2019-04-22 08:14:25 -05:00
Jacob Robles 01b1c42b1a Update nuuo client spec 2019-04-22 08:13:59 -05:00
Jacob Robles 7b807d4dce Add nuuo client rex and spec 2019-04-19 06:28:56 -05:00
Jacob Robles f0dfc82803 Add nuuo client request rex and spec 2019-04-19 06:26:41 -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
h00die 20934f114a check for a few more bad inputs 2019-04-17 20:33:50 -04:00
h00die dcc1a21251 add osx to hash identify 2019-04-14 10:12:26 -04:00
h00die 1e5253b0eb add python and generate bcrypt on fly 2019-04-13 10:36:56 -04:00
h00die 0739f5080a expand hashes identify library and add spec 2019-04-12 17:08:19 -04: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