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
Brent Cook
e4992c6817
move bigdecimal fix to separate file, include for specs
...
This fixes some noisy warnings about bignum when running specs, making it easier to see the real problems.
2019-09-10 18:40:14 -05:00
Adam Cammack
6a8f6d7a57
Unify spec and lib
2019-08-22 18:03:13 -05:00
Brent Cook
40d11b2fdd
explicitly require factory_bot, see #12181
2019-08-20 06:54:34 -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
18b8974761
Land #11969 , deprecate db_rebuild_cache command
2019-07-11 11:02:17 -05:00
Matthew Kienow
4e11dcfee1
Fix import issue caused by missing wspace key
...
Modify import module to follow pattern used in other Msf::DBManager
import modules. Test module updated for method name changes.
2019-07-01 15:58:36 -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
Brent Cook
4e544fe733
Land #11968 , only enable UDP stagers for compatible payloads
2019-06-29 03:34:15 -05:00
Jeffrey Martin
b6aa04bbe4
add missing bind_tcp_rc4 payload tests
2019-06-14 16:18:31 -05:00
Brent Cook
f11a205b41
remove patchupdllinject
2019-06-12 17:39:56 -05:00
Brent Cook
c13cf63f2d
remove dllinject
2019-06-11 17:58:57 -05:00
Brent Cook
20d21bb7cc
update specs, add a few more compat modules
2019-06-11 12:56:11 -05:00
h00die
4d60f38177
brocade working
2019-06-09 15:10:05 -04:00
Brent Cook
5aed1f7dfe
Land #11914 , Fix external file import via web service
2019-06-07 06:03:42 -05:00
Jacob Robles
bf6a62fba8
Add workspace arg to spec
2019-06-05 08:47:13 -05:00
bwatters-r7
c28b15e9fe
Land #11823 , Handle invalid payloads more clearly
...
Merge branch 'land-11823' into upstream-master
2019-06-04 08:34:41 -05:00
Brent Cook
621d404a27
fix tests, handle stdin properly
2019-05-31 15:02:59 -05:00
Jeffrey Martin
bd67ecd0dc
add missing cmd/unix/reverse_bash_udp test
2019-05-31 13:53:12 -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
Jeffrey Martin
a53ce7539d
add missing payload specs
2019-04-01 18:23:52 -05:00
William Vu
cfe3e8fba9
Fix tidy auxiliary and payload modules
2019-03-27 09:59:55 -05:00
Brent Cook
930d1fb78a
Land #11351 , many new John the Ripper module improvements
2019-02-13 03:05:14 -06:00
Brent Cook
4a4717c3db
Land #10937 , remove server/client from module cache
2019-02-12 21:28: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
Jeffrey Martin
3c6e2160b9
remove spec tests nolonger valid after app removed
2019-01-31 12:14:30 -06:00
h00die
25d3695864
spec for cisco config eater with new host data
2019-01-27 21:10:01 -05:00
Matthew Kienow
35f95e4b04
Update test for new cred methods
...
Correct remote data service test behavior.
2019-01-18 12:34:29 -05:00
Wei Chen
0051caf6ce
Update java_deserialization_spec to rescue the right exception
2019-01-16 10:47:52 -06:00
Wei Chen
27d6fffdad
Land #11125 , Import/generate ysoserial Java serialization objects
2019-01-15 17:09:56 -06:00
Matthew Kienow
5e28bccda9
Move msfdb_ws since it is deprecated by msfdb
2019-01-09 23:40:02 -05:00