Commit Graph

2466 Commits

Author SHA1 Message Date
dwelch-r7 4705f9c2dc
Adds tests 2020-03-13 13:32:58 +00:00
dwelch-r7 9f76f3ef08
Use rpc specific job status tracker and add default no op tracker 2020-03-13 13:32:57 +00:00
dwelch-r7 34fc7528dd
Re-add original job state tracker code
This reverts commit 908ce3d3
2020-03-13 13:32:57 +00:00
Alan Foster bfd284b349
Add initial layout cops for the module super hash 2020-03-06 10:41:41 +00:00
Alan Foster 3aeb6597a2
Landing #12980, ensure json is always returned from the json rpc api 2020-03-04 12:14:53 +00:00
Adam Galway dd12e65828
adds middleware and application error handlers 2020-03-04 11:56:32 +00:00
Alan Foster 5ed87be78e
Land #12989, internal refactor sanitizing module names before they are loaded 2020-03-04 11:01:26 +00:00
Adam Galway 607b7ae5ae
moves logic for bad paths to common.rb 2020-03-04 10:41:19 +00:00
William Vu ba924b3047
Land #13014, Exchange ECP ViewState exploit 2020-03-03 17:23:17 -06:00
Spencer McIntyre 5574eaa591 Make a new .NET serialization lib 2020-03-03 10:41:59 -05:00
Jeffrey Martin 908ce3d36b
Revert "Land #12960, add ttl to job results instantiated from an RPC request"
This reverts commit ff8bb2e16f, reversing
changes made to ae28463ec6.
2020-03-02 15:58:13 -06:00
h00die 7c86fb8546 fix for #12358 2020-02-29 19:33:11 -05:00
h00die 3d77c48eae almost working 2020-02-29 19:33:11 -05:00
h00die bab5a34b34 progress on ubiquiti 2020-02-29 19:33:11 -05:00
Jeffrey Martin ffd5a0b39d
add cmd/unix/reverse_ssh test stub 2020-02-27 09:07:37 -06:00
dwelch-r7 89bea26763 Replace results count with something that works and added tests 2020-02-26 11:52:45 +00:00
dwelch-r7 5c94910998 Add a cache to handle the ttl of job results
Remove accidental addition of gem

Remove commented out code

Remove commented out code

Remove commented out code

Refactor job tracking code, remove simple framework tests

finish renaming service to job_state_tracker

add missing require and move alias definition

fix private attr declaration

Add rspec tests

Address PR comments

Use let syntax in tests

Finish refactor moving job state tracker
2020-02-25 13:31:28 +00:00
Alan Foster 8a59b8cb1c
Ensure thread cleanup 2020-02-21 17:36:20 +00:00
Alan Foster 9c987b8271
Add json rpc tests for module checks 2020-02-18 21:43:15 +00:00
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
Brent Cook d3a636eb6a
Land #12509, add check result to RPC API 2019-12-02 11:37:43 -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
Brent Cook 9e47bff246
Land #12624, add pingback payload specs 2019-11-26 12:34:23 -06:00
Jeffrey Martin a417919e22
seperate x86 single and staged encrypted 2019-11-25 18:28:02 -06:00
Jeffrey Martin 97dbcc9476
seperate x64 single from staged 2019-11-25 17:19:38 -06:00
Jeffrey Martin ece57f4da6
add pingpack payload specs 2019-11-25 16:50:19 -06:00
Jeffrey Martin e883b07fd6
add helper for payloads not cached 2019-11-25 15:59:32 -06:00
Jeffrey Martin a428c1a4a6
stub test for compiled encrypted payloads 2019-11-25 14:02:34 -06:00
Jeffrey Martin 8d057518ce
add jjs payload tests and set cached sizes 2019-11-21 16:38:18 -06:00
Adam Cammack da81c1600e
Trivial specs on the attrs for now 2019-11-19 00:30:44 -06:00
h00die 6d23059cc0 android hashdump updates 2019-11-09 10:11:45 -05:00
Jeffrey Martin eb07305104
Land #11695, Password Cracker Overhaul(ie hashcat) 2019-11-07 19:09:52 -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
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
h00die b26c5c63e2 add webapp and complete docs 2019-05-31 19:11:01 -04: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
h00die 2cccd50160 creds command working
debuggin hashcat aix

remove word normal

get hashcat working on aix

add deprecated jtr_aix

prettying up crack_aix

custom wordlists should include the words themselves

make format transparent to user

aix cleanup, linux working

linux working, database in progress

crack databases working

crack windows working

spaces at eol

spec updates

spec updates

spec working

add version detection

crack_aix fixes and docs

refactoring crack modules

fix syntax error

docs for crackers

markup touchups

osx cracker

jenkins

fix jenkins

remove crypt fix osx for 10.7

doc fixes and osx sha512
2019-05-31 12:18:25 -04: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
Matthew Kienow 63c3404f64
Add test for session_events method 2019-01-08 14:02:40 -05:00
Wei Chen f5210abb55 Add rspec 2018-12-26 11:18:44 -06:00
Matthew Kienow ff8c70f6af
Restore events test for remote DB 2018-12-21 22:19:09 -05: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 4803c889f9
Land #10507, GPP creds for db_import 2018-08-28 11:45:51 -05:00
Matthew Kienow 81ec723f5b
Add test for PJL fsdownload from string data 2018-08-23 15:23:41 -04:00
Matthew Kienow df18e354e1
Add bind_busybox_telnetd payload, misc cleanup 2018-08-23 15:23:39 -04: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 7a20d05fa6
Land #10456, known_hosts fix for SSH modules 2018-08-15 21:28:08 -05:00
William Vu 60c0272270 Make style consistent 2018-08-15 21:27:40 -05:00
Adam Cammack 77bbb517c6
Land #10446, Add missing payload tests
Also adds consideration for IPv6 values needed for some payloads.
2018-08-15 14:46:33 -05:00
Kevin Kirsche 2e75f46d34 Fix failing argument for password based spec test 2018-08-13 22:30:01 -04:00
Kevin Kirsche 3783347d73 Fix failing argument spec test 2018-08-13 22:20:23 -04:00
Jeffrey Martin 2bea3fdb48
verify sizes for ipv6 when payload is ipv6 2018-08-11 10:31:31 -05:00
Wei Chen 76a7a8688a Fix rspec due to missing __attribute__ 2018-08-01 10:45:33 -05:00
Wei Chen 625ea87ea9
Land #10368, PhpMyAdmin Login Scanner Module 2018-07-24 23:25:27 -05:00
Wei Chen 5e427ba2bb Fix rspec for fake_function_collection_spec.rb 2018-07-24 17:08:14 -05:00
Shelby Pace 4f81fcdc87
retn versions in chk_setup, tests to reflect, doc 2018-07-24 14:51:00 -05:00
Shelby Pace e58b2809d4
added tests for all methods 2018-07-24 09:39:56 -05:00
James Barnett e3da0a6828 Merge branch 'master' into remote_creds_data 2018-07-23 16:39:13 -05:00
Wei Chen dc43cc78b0
Land #10341, Add check method Boolean to module cache and info and search commands 2018-07-23 14:45:28 -05:00
Shelby Pace 29277d9c03
added tests for check_setup and get_session_info 2018-07-23 11:27:03 -05:00
Shelby Pace 1473bbd492
created test file for login scanner 2018-07-22 23:37:36 -05:00
James Barnett 65d42380d3
Merge branch 'master' into remote_creds_data 2018-07-19 16:25:06 -05:00
asoto-r7 e9a2a1cdae
Land #10307, Add missing CVE check to msftidy 2018-07-18 18:09:20 -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
Wei Chen 6d3db92fb2 Fix fake_function_collection_spec 2018-07-18 10:23:21 -05:00
William Vu 1f887b3e19 Fix spec to check retval instead of stdout
stdout check is fine for untidy module, since it needs messages.
2018-07-17 18:20:09 -05:00
Wei Chen faf3adaee2 Update 2018-07-12 10:11:45 -05:00
James Barnett b8ae4f5d12
Update rspec tests for creds and add stubs 2018-07-11 17:42:55 -05:00
Wei Chen fd59df83ca Fix rspec 2018-07-09 15:33:45 -05:00
Wei Chen 9d9dee737b Fix rspec 2018-07-06 14:07:10 -05:00
Wei Chen 2beaabb11a Add dep for GetTickCount 2018-06-29 10:22:07 -05:00
Wei Chen 711d859d13 Update utility_spec 2018-06-29 01:42:22 -05:00
Wei Chen 46219303e2 Add uninit_variables_spec 2018-06-28 21:24:35 -05:00
Wei Chen 52047a6c59 Add switch_spec 2018-06-28 21:21:54 -05:00
Wei Chen 0d55412e80 add string_assignments_spec 2018-06-28 21:15:30 -05:00
Wei Chen 066843bb6c Add printf_spec 2018-06-28 21:12:34 -05:00
Wei Chen 39bbfb0c58 Update outputdebugstring rspec 2018-06-28 21:10:26 -05:00
Wei Chen 5c86b836c4 Add rspec for outputdebugstring and correct a few things 2018-06-28 21:08:15 -05:00
Wei Chen 03c3e08167 Add malloc_spec and fix int_assignments_spec 2018-06-28 21:03:27 -05:00
Wei Chen e733e3b62c Add rpsec int_assignments_spec 2018-06-28 20:59:56 -05:00
Wei Chen 87d0bf1dc4 Add rspec for if_spec 2018-06-28 20:57:35 -05:00
Wei Chen 5631e6f89c Update rspec for RandomStatements 2018-06-28 16:52:12 -05:00
Wei Chen 93fca248d6 Add rspec for gettickcount 2018-06-28 16:51:57 -05:00
Wei Chen 8be771f72f Complete base_spec.rb 2018-06-28 14:47:28 -05:00
Wei Chen bc6427e527 Add rspec for CodeFactory::Base (WIP) 2018-06-28 02:20:02 -05:00
Wei Chen cec506421d Add rspec fake_function_collection and update the lib 2018-06-27 18:18:05 -05:00
Wei Chen ad106ffc0d Add rspec for fake_function_spec.rb 2018-06-27 17:45:19 -05:00
Wei Chen 56f38f7720 Add some rspec for modifier 2018-06-27 17:30:21 -05:00
Wei Chen d653115f16 Add parser_spec.rb 2018-06-27 17:18:35 -05:00
Wei Chen ede98ff8db Update random_statements_spec 2018-06-27 17:10:35 -05:00
Jeffrey Martin a9a7197c4a
add missing paylaods 2018-06-27 17:00:09 -05:00
Wei Chen a9427ef9ef Add rspec for RandomStatements class 2018-06-27 16:50:09 -05:00
Wei Chen bc0b42c55b Add utility_spec.rb 2018-06-27 13:49:45 -05:00
Wei Chen 752192bfad Starting rspec 2018-06-27 00:13:56 -05:00
Spencer McIntyre da2666581b Alter the socks5 bind request handling 2018-05-26 19:51:14 -04:00
Spencer McIntyre c85cc9ad9e Refactor SOCKS5 TcpRelay and add packet tests 2018-05-26 13:46:00 -04:00
James Barnett 0472b9df3f
Land #10024, Fix find_or_create_* methods for remote data service
This PR updates the find_or_create_* methods associated with each model to
no longer just proxy to the report_* model. It now performs a lookup through
the DataProxy and returns the found object if it exists, or creates a new
record if needed.
2018-05-22 17:08:46 -05:00
Brent Cook da07113194
Land #10007, add C interface for building Windows shell code (metasm-backed) 2018-05-16 22:58:32 -05:00
bwatters-r7 7e34f27004
Land #9246, Support RHOSTS for exploit modules 2018-05-16 14:40:25 -05:00
Matthew Kienow 7e145a09de
Fix spec tests to match existing methods 2018-05-14 17:43:24 -04:00
Wei Chen 53938422c9 Add rspec for Metasploit::Framework::Compiler::Utils 2018-05-11 14:03:46 -05:00
Wei Chen 6cd59faa69 Namespace update 2018-05-11 10:27:54 -05:00
Wei Chen 76865732c8 Namespace update 2018-05-11 10:26:59 -05:00
Wei Chen 82c8138de0 Update naming and license 2018-05-11 10:08:16 -05:00
Wei Chen 2a7d0ddfd1 Add rspec 2018-05-10 22:45:36 -05:00
Matthew Kienow 70be536b36
Land #9939, add remote data service rspec support 2018-05-07 18:07:02 -04:00
Brent Cook 3b8093f8c7 remove unused tests 2018-05-07 10:17:05 -05:00
christopher lee 94de5a4e42 Add skip message, add event test 2018-05-03 14:20:32 -05:00
christopher lee a7ec7b52b7 Fix error on data server due to unexpected report_exploit call 2018-05-02 14:59:02 -05:00
christopher lee 9c7db375bf Fix broken tests after latest merge with master 2018-04-26 16:39:56 -05:00
christopher lee 516b61ebaa Merged master 2018-04-26 16:02:56 -05:00
christopher lee e97693d056 Cleanup 2018-04-26 16:01:15 -05:00
christopher lee 195b405d69 First pass at all test working, added travis ci build 2018-04-26 15:12:53 -05:00
Jeffrey Martin 2487314821
Land #9869, Add support for shellcode encryption for msfvenom 2018-04-25 15:51:05 -05:00
christopher lee 071a191055 Merge master + workspace removal from http remote data service 2018-04-25 13:39:46 -05:00
James Barnett e141a99f08
Update workspace add test with new output 2018-04-20 13:19:28 -05:00
Wei Chen 4dd9d32d62 Fix rspec 2018-04-17 20:32:29 -05:00
Wei Chen ff9c55207e Move crypto methods to Rex::Crypto namespace 2018-04-17 20:12:26 -05:00
James Barnett 68ad91763a Merge branch 'rapid7/master' into MS-3062_workspaces 2018-04-16 15:33:59 -05:00
James Barnett 2ef451c349
Land #9873, add notes functionality to remote datastore
This PR enables create, update, and delete functionality for the notes
command and data model when using a remote data service.
2018-04-16 15:03:27 -05:00
Matthew Kienow 4e49b99783
Add cmd notes option to sort by column number 2018-04-12 15:56:42 -04:00
Wei Chen ee9f49fa39 Fix a typo 2018-04-12 14:45:54 -05:00
Matthew Kienow 5b2bbe7432
Update test for removed make_sortable method 2018-04-12 15:23:35 -04:00
Wei Chen 4e55724f3f Fix a typo and rspec for payload generator 2018-04-12 14:10:26 -05:00
Matthew Kienow 518d672ad5
Update cmd_notes help message test 2018-04-11 18:09:48 -04:00
Adam Cammack f1d426d257
Land #9833, Remove broken feature detection 2018-04-11 15:02:53 -05:00
James Barnett cd48b47760 Fix failing tests.
-Was accidentally deleting opts[:workspace] instead of processing
-Update notes help text expectations
2018-04-10 17:10:32 -05:00
James Barnett e51f41fa34
Merge remote-tracking branch 'msf_jbarnett/fix_services_bugs' into MS-3062_workspaces 2018-04-10 13:35:33 -05:00
James Barnett f8cbb9d7c0
Update test 2018-04-10 13:14:16 -05:00
James Barnett 90542779ff
Audit models to ensure :workspace is passed only when needed 2018-04-09 14:50:37 -05:00
Brent Cook df6de5b1c3 remove self-evident rspec 2018-04-07 13:00:19 -05:00
James Barnett fe224f628b
Remove update_host_via_sysinfo since it is unused 2018-04-05 14:20:25 -05:00
Brent Cook 226ef160ff
Land #9748, Convert the smbloris DoS into an external module
Help reliability and performance. This some Ruby-specific external module
tooling as a result as well.
2018-04-02 23:25:10 -05:00
christopher lee 3aed6d6666 Initial 2018-04-02 08:08:23 -05:00
James Barnett 7d58b0a5f4 Merge branch 'goliath' into MS-3062_workspaces 2018-03-30 16:35:26 -05:00
Brent Cook b134a33877 Merge branch 'master' into land-9740 2018-03-27 11:59:55 -05:00
christopher lee abf16a4469 fix workspace tests 2018-03-27 10:41:08 -05:00
Adam Cammack c28fe65d98
Exclude Ruby external modules from rspec
The sum of the testing code and loading code assumptions was that all
files with the same extension in the same folder were all loadable with
the same loader. This is no longer the case, and until we are ready to
test the load-ability of external modules we can safely ignore them.
2018-03-23 16:44:58 -05:00
James Barnett 6b3a4a56dc Merge branch 'rapid7/master' into goliath 2018-03-23 11:26:31 -05:00
Christian Mehlmauer 7d873ea7ab
replace factory_girls with factory_bot fixes #9736 2018-03-21 23:21:37 +01:00
Matthew Kienow 553789557b
Merge branch 'goliath' into MS-2910-remote-vuln-read-update-delete 2018-03-21 01:45:58 -04:00
Matthew Kienow ced6707ba6
Fix cmd vulns and DBManager Session spec 2018-03-20 15:25:09 -04:00
Jeffrey Martin 4801021aba
Land #9613, add bind_named_pipe x86 2018-03-17 15:53:06 -05:00
James Barnett 45a6b244a7
Fix services spec 2018-03-16 17:10:02 -05:00
christopher lee 4d04319d2a Merged master 2018-03-15 11:31:44 -05:00
Brent Cook 3f9b124752 update spec 2018-03-12 15:46:03 -05:00
Jeffrey Martin eac7cc63fc
add missing payload tests 2018-03-04 17:54:52 -06:00
UserExistsError 35b66d0e60 added payload tests 2018-02-27 19:24:51 -07:00
James Barnett 3005a8b7ce
Merge branch 'rapid7/master' into goliath 2018-02-21 11:16:05 -06:00
Jeffrey Martin ea9b6d894d
add missing payload specs 2018-02-20 09:38:24 -06:00
Jeffrey Martin 0acc5fed20
add missing payload tests for bind_named_pipe 2018-02-16 18:05:45 -06:00
Brent Cook 2d3aef9031
Land #9533, Add output file support to the vulns command 2018-02-15 15:52:25 -06:00
Jeffrey Martin 3811665b69
Land #7699, Add UDP handlers and payloads (redux) 2018-02-13 14:50:09 -06:00
Jeffrey Martin b80445e448
add missing payload tests 2018-02-13 14:20:43 -06:00
Wei Chen 46a0ea6582 Fix db_spec 2018-02-09 20:06:43 -06:00
Spencer McIntyre c612dbfdbf Also fix GitHub related pull request links 2018-02-09 15:16:10 -05:00
Spencer McIntyre 7a18aaa74a Fix the normalizer_spec to expect the md syntax 2018-02-09 14:56:42 -05:00
Jeffrey Martin 159de817f7
add missing payload tests 2018-01-25 11:09:41 -06:00
Brent Cook 10fde42adc
Land #9431, Fix owa_login to handle inserting credentials for a hostname 2018-01-22 16:46:39 -06:00
Pearce Barry ba75d19d34
Fix failing spec. 2018-01-19 15:52:25 -06:00
christopher lee d5978803eb Fix all failing rspec for goliath 2018-01-19 15:16:19 -06:00
christopher lee 77125230c7 Merged master for module cache changes 2018-01-18 14:30:52 -06:00
Brent Cook 7fe237abe1
Land #9220, Module cache improvements 2018-01-17 22:34:51 -06:00
James Barnett 4aac8f5c39
Merge branch 'rapid7/master' into goliath 2018-01-02 17:34:40 -06:00
Brent Cook c2bb144d0f
Land #9302, Implement ARD auth and add remote CVE-2017-13872 (iamroot) module 2017-12-28 14:11:26 -06:00
Jon Hart 2e62d77e36
Add new method for fetching parsed cookies from an HTTP response
This fixed #9332.
2017-12-20 16:19:44 -08:00
jgor 09772cb08a Add negotiate_auth step to login_scanner test 2017-12-18 12:27:11 -06:00
Brent Cook 90b97d6581 Merge branch 'upstream-master' into land-9151- 2017-12-15 14:15:14 -06:00
jgor 563cb6f18f Update method name in test 2017-12-14 17:17:41 -06:00
Brent Cook 55f56a5350
Land #9110, added -C option to change default hosts columns 2017-11-29 17:48:44 -06:00
christopher lee e0d8f8e8e9 Force cache load before test run 2017-11-21 14:43:44 -06:00
christopher lee a16cd5aade Clean up metadata store logic 2017-11-17 12:42:19 -06:00
christopher lee fe1af35107 First pass at changes needed for module metadata caching 2017-11-15 16:38:01 -06:00
Brent Cook 7895cbc413
Land #9157, Add missing ppce500v2 tests 2017-11-01 12:33:02 -05:00
Jeffrey Martin 553452c19d
add missing ppc500v2 payload specs 2017-11-01 12:00:03 -05:00
Jeffrey Martin cd114c90e0
remove no longer available bundler hack
This address issue #9155 for bundler failures in TravisCI
2017-11-01 11:52:41 -05:00
Pearce Barry 48975a4327
Support multiple suffixes on meterpreter extensions. 2017-10-31 10:04:34 -05:00
Jeffrey Martin cd755b05d5
update powershell specs for rex-powershell 0.1.77 2017-10-26 15:03:10 -05:00
Jeffrey Martin a402686d7a
add missing spec for singles/python/shell_bind_tcp 2017-10-25 14:58:49 -05:00
Jeffrey Martin 386e14828a
Land #8728, Psexec via PSH related fixes 2017-10-24 15:55:18 -05:00
Dave Farrow ecada96585 #9108: fixed unit test 2017-10-20 21:20:36 -07:00
Jeffrey Martin b83787c24c
make powershell spec more specific in expectations 2017-10-09 20:02:32 -05:00