dwelch-r7
844e2f70d0
Land #14801 , Bump rex-text version to Re add color to search command
2021-02-24 17:04:36 +00:00
Alan Foster
45e22d53d2
Re-add color to search command
2021-02-24 16:28:45 +00:00
Grant Willcox
abd7117a5f
Land #14735 , Require rubocop for new modules
2021-02-23 21:12:04 -06:00
Alan Foster
260527076c
Require rubocop for new modules
2021-02-23 23:05:48 +00:00
Alan Foster
f3ce9082b6
Enable word wrapped rex tables by default
2021-02-19 13:23:31 +00:00
agalway-r7
275e9c5454
Land #14696 , Further Zeitwerk lands to improve boot speed
...
Zeitwerk rex folder
2021-02-19 10:33:37 +00:00
Alan Foster
ecf8180538
Add custom whitespace cop for ignoring bindata
2021-02-15 20:26:05 +00:00
dwelch-r7
7fbbe23426
Remove more requires that were missed before
2021-02-08 14:51:58 +00:00
dwelch-r7
b95be3ed10
Zeitwerk `rex` folder
2021-02-08 12:24:12 +00:00
dwelch-r7
4c43a8081a
Land #14480 , Improve handling of external modules when missing runtime dependencies
2021-02-05 13:51:11 +00:00
dwelch-r7
3b8d87bdcb
Fix missing vhost in rhost http url feature
2021-02-04 16:52:43 +00:00
cgranleese-r7
98349a6823
Improve handling of external modules when missing runtime dependencies
2021-02-02 14:49:16 +00:00
dwelch-r7
8f83de865c
Revert "Fix bug where vhost wasn't being set correctly when using rhost http url"
2021-02-01 16:33:18 +00:00
adfoster-r7
ff6a1f135c
Land #14629 , migrate msf folder to Zeitwerk
2021-01-22 14:21:26 +00:00
Grant Willcox
0fc8df31f2
Land #14609 , Fix bug where vhost wasn't being set correctly when using rhost http url
2021-01-19 11:10:50 -06:00
dwelch-r7
2d9e25d431
Add test case for vhost priority
2021-01-19 14:09:45 +00:00
dwelch-r7
2eb5208ae0
Rename shared example files to remove warnings
2021-01-19 12:32:58 +00:00
dwelch-r7
d437a32374
remove `msf/util` requires
2021-01-18 14:21:54 +00:00
dwelch-r7
b816373b94
remove `msf/ui` requires
2021-01-18 14:21:54 +00:00
adfoster-r7
da7a51fbca
Land #14584 , implement the zeitwerk autoloader within lib/msf/base
2021-01-18 13:11:08 +00:00
Alan Foster
714db8bf43
Remove travis config files
2021-01-11 10:28:14 +00:00
dwelch-r7
bad5ccbc49
Remove `msf/base` requires
2021-01-05 14:59:46 +00:00
Jeffrey Martin
377a64f8ab
do not test iface in macOS for IPv6 inconsistency
2020-12-18 16:58:18 -06:00
Spencer McIntyre
90a99ae7c3
Land #14423 , Expand wordpress_scanner to look for themes & plugins
2020-12-09 09:12:28 -05:00
Spencer McIntyre
15fb9a1760
Remove the details from the wordpress checkcode tests
2020-12-08 17:05:27 -05:00
dwelch-r7
49a6b1b257
Remove requires that sneaked in while the PR was up
2020-12-07 11:02:10 +00:00
dwelch-r7
1617b3ec9b
Use zeitwerk for lib/msf/core folder
2020-12-07 10:31:45 +00:00
Alan Foster
76e967353e
Add auxiliary support to autocheck mixin
2020-12-03 01:09:06 +00:00
h00die
bf60c4678d
to be to to eq
2020-11-22 08:47:10 -05:00
h00die
ac8f729d36
fix up some spec
2020-11-22 08:44:40 -05:00
Jeffrey Martin
d99db6ac0e
refactor test for ruby 2.7 deprecations
...
addresses `warning: deprecated Object#=~ is called on Array; it always returns nil`
2020-11-20 10:59:04 -06:00
adfoster-r7
2eb2fad212
Land #14294 , Allow adding details to CheckCodes, and update ms17_010_eternalblue to validate the target is x64
2020-11-19 14:09:55 +00:00
adfoster-r7
6aa2efca13
Land #14381 , Fixes rhost_http_url crashes when running the check method
2020-11-13 09:51:33 +00:00
cgranleese-r7
7599bd4964
Adds tests for valid? method
2020-11-12 17:20:49 +00:00
A Galway
4114dc596c
Land #14387 , ensures AutoCheck is always prepended
2020-11-12 15:44:34 +00:00
Alan Foster
79a3328cd3
Validate that AutoCheck is prepended
2020-11-11 22:15:40 +00:00
Jeffrey Martin
5a6a530623
use more explicit date set in Timecop
2020-11-11 12:41:05 -06:00
Spencer McIntyre
708de57499
Land #14297 , Modified zabbix login to work with newer versions of zabbix
2020-11-02 15:59:22 -05:00
Grant Willcox
c62001c210
Improve the zabbix session gathering code as per Spencer's recommendation and update the spec checks accordingly
2020-10-30 14:14:14 -05:00
Alan Foster
2b306abfee
Update debug command connection name logging
2020-10-27 12:54:27 +00:00
Spencer McIntyre
8b2227004d
Move the details back into the struct field for the array interface
2020-10-23 10:10:36 -04:00
Alan Foster
30809787c4
Convert disclosure dates to iso8601
2020-10-02 21:00:37 +01:00
Alan Foster
c4c551fdef
Add disclosure date rubocop linting rule
2020-10-02 21:00:32 +01:00
Adam Cammack
d612962ef4
Land #14197 , start testing on Ruby 2.7
2020-10-02 11:26:20 -05:00
Jeffrey Martin
66f04a95b7
better enforcement of binary mode on test fixtures
2020-10-01 14:29:10 -05:00
Spencer McIntyre
c0b42ff7a2
Land #13995 , Add a Windows Secrets Dump module
2020-09-30 11:47:59 -04:00
Grant Willcox
5986bc98f1
Land #14171 , Replace erroneous calls to get_service with calls to service
2020-09-30 10:05:13 -05:00
Christophe De La Fuente
67821e32c4
Password cracking integration
2020-09-29 20:36:39 +02:00
Jeffrey Martin
dceaf1d47c
force res and expected encoding in smb tests
2020-09-29 08:57:20 -05:00
adfoster-r7
0785e535aa
Land #14183 , update the debug command to additionally extract the web server logs
2020-09-29 12:48:55 +01:00
Grant Willcox
1a598b747d
Land #14186 , Add missing payload tests to rake spec file
2020-09-28 12:45:45 -05:00
Christophe De La Fuente
9cb419ae8c
Resync with master branch
2020-09-28 15:45:02 +02:00
Jeffrey Martin
894ce6b72b
ignore cache size for peinject stage
2020-09-25 16:12:44 -05:00
h00die
2c9e2f79d9
optional user level
2020-09-25 15:48:31 -04:00
Adam Galway
bccc17e4ae
updates tests to consider msf-ws.log
2020-09-25 14:45:33 +01:00
Jeffrey Martin
b790d697ac
add missing peinject stage payloads
2020-09-25 08:23:08 -05:00
h00die
92e41b2678
review comments
2020-09-23 10:36:26 -04:00
Adam Galway
571504642a
fixes get_service calls
2020-09-22 12:54:58 +01:00
h00die
5eb2884c7e
fix tests
2020-09-21 19:35:46 -04:00
h00die
610d4d86d2
initial vyos implementation
2020-09-20 19:48:20 -04:00
adfoster-r7
9ef5822d3a
Revert "Replaces erroneous calls to get_service"
2020-09-18 19:09:25 +01:00
Grant Willcox
a5c30be10b
Land #14143 , Replace erroneous calls to get_service
2020-09-17 10:41:15 -05:00
Adam Galway
14b233f957
fixes broken tests
2020-09-16 15:20:16 +01:00
Christophe De La Fuente
e11840c2a5
land #14031 , F5 processor
2020-09-14 18:38:58 +02:00
h00die
daa10ea735
enhance user data parsing
2020-09-12 10:07:23 -04:00
adfoster-r7
177f720f80
Land #14021 , when searching modules for multiple text terms, the search will now require for all words to be matched
2020-08-27 20:02:55 +01:00
h00die
bba98d4f16
fix spec
2020-08-21 11:32:26 -04:00
Jeffrey Martin
9a64e3cd38
Land #13913 , [GSoC] Specs for the SQLi library
2020-08-20 17:43:11 -05:00
h00die
26a83d5d5c
rubocop
2020-08-20 14:31:18 -04:00
h00die
c8a541c187
pre rubocop
2020-08-20 14:27:51 -04:00
h00die
14e0ebe7f6
handle md5 and plaintext passwords
2020-08-20 10:25:08 -05:00
h00die
43fabcad53
arista
2020-08-20 10:25:08 -05:00
Alan Foster
43ecb41575
Use and semantics when searching for text
2020-08-19 15:08:55 +01:00
dwelch-r7
3d1eba2b22
Land #13998 , Always use module cache for searching
...
Always use module cache for searching
2020-08-19 12:36:17 +01:00
Alan Foster
f8523cb3e2
Add additional tests for edge cases
2020-08-19 09:37:03 +01:00
dwelch-r7
e7061439ef
Adds rhost url support behind a feature flag
...
Tidy up test
Return a string instead of a URI object
Code review comments
Rubcocop
2020-08-18 12:25:27 +01:00
Alan Foster
baa33df45d
Always use module cache for searching
2020-08-14 19:14:54 +01:00
Christophe De La Fuente
24d002b9e0
Fix Msf::Post::Windows::Priv#decrypt_secret_data
...
Fix the size caclculation of the decrypted data
2020-08-13 17:47:50 +02:00
Niboucha Redouane
e4b77616fa
Minor formatting (rubocop -a)
2020-08-08 03:49:29 +02:00
Niboucha Redouane
1f17b07746
use Timecop, separate query_proc from sqli_obj, and address other issues in the specs
2020-08-08 03:30:12 +02:00
bwatters
231ad83773
Land #13860,Mikrotik Processing
...
Merge branch 'land-13860' into upstream-master
2020-08-07 14:48:22 -05:00
Alan Foster
a1d7bb62a9
Add feature configuration persistence
2020-08-07 16:42:57 +01:00
Alan Foster
d417f43b8d
Add WrappedTable support with feature flag integration
2020-08-07 16:42:54 +01:00
Jeffrey Martin
35017886b8
Land #13935 , Preliminary Version 6
2020-08-06 10:19:34 -05:00
Jeffrey Martin
9aa26d1208
Merge upstream into 6.x
2020-08-03 11:43:47 -05:00
Jeffrey Martin
8a86cad4a0
remove commented lines not needed
2020-07-31 11:56:52 -05:00
Jeffrey Martin
10e6c7a242
add missing fixture
2020-07-31 11:56:52 -05:00
Jeffrey Martin
0b65266ac1
adjust migration to proxy call to ActiveRecord
...
By adding proxy method the call to ActiveRecord::Migrator.migrations_paths
is decoupled from the migration task allowing more flexibility for the
underlying migration set selection to change in future Rails versions.
2020-07-31 11:56:51 -05:00
Jeffrey Martin
2c92d17ed9
refactor migration process for Rails 5
...
As noted in https://github.com/rails/rails/issues/36544 using
ActiveRecord migrations internally is not truly supported. This
workaround is valid for Rails 5 and might be easily adjusted
in Rails 6 although that is still TBD.
2020-07-31 11:56:51 -05:00
Jeffrey Martin
41776f093c
adjust xml spec to use FactoryBot for workspace
2020-07-31 11:56:51 -05:00
Jeffrey Martin
89d010a533
remove rails_bigdecimal_fix with rails 5 bump
2020-07-31 11:56:50 -05:00
Jeffrey Martin
772a24cb25
enforce json_rpc_spec to treat db as disabled
2020-07-31 11:56:50 -05:00
Jeffrey Martin
5d1c4dafa1
begin adjust migrations and remove old test
...
removed connection tests are from rails 3 expectations
2020-07-31 11:56:50 -05:00
Jeffrey Martin
07cbe426e2
Rails 5, all models inherit from ApplicationRecord
...
ApplicationRecord is a new superclass for all app models, analogous to app controllers subclassing ApplicationController instead of ActionController::Base. This gives apps a single spot to configure app-wide model behavior.
https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#active-record-models-now-inherit-from-applicationrecord-by-default
Deprecated Relation#uniq use Relation#distinct instead.
https://edgeguides.rubyonrails.org/5_0_release_notes.html#active-record-deprecations
2020-07-31 11:56:49 -05:00
h00die
d366666418
add Mikrotik SwOS
2020-07-30 11:29:25 -04:00
Niboucha Redouane
f48ed5027f
test #call_function, and not methods that might be implemented on specific DBMS only
2020-07-27 16:38:07 +02:00
Spencer McIntyre
50281473f1
Remove tests for removed functions
2020-07-27 09:57:41 -04:00
Niboucha Redouane
89fef9f9fe
Refactor and fix some specs, avoid sleeping in time-based shared examples
2020-07-27 03:15:16 +02:00
Niboucha Redouane
854df7e93b
Add shared examples for SQLi::Common, and some tests for MySQLi
2020-07-23 18:54:20 +02:00
adfoster-r7
a7e12bfa50
Land #13822 , update to the latest rubocop version
2020-07-22 10:18:31 +01:00
h00die
61a4fa61e5
simplify wifi block
2020-07-19 11:58:49 -04:00
h00die
e5e5faf084
add new field processors
2020-07-18 12:20:33 -04:00
h00die
eaf7161cae
mikrotik
2020-07-18 07:45:24 -04:00
Jeffrey Martin
65039a5091
Merge upstream into 6.x
2020-07-15 09:58:07 -05:00
Brendan Coles
384a71b06a
Land #13271 , Update auxiliary/server/capture/smtp to store credentials
2020-07-11 17:30:06 +00:00
Jeffrey Martin
20a5688a11
add specific error class to remove warning
2020-07-07 15:44:16 -05:00
Alan Foster
4604488c05
Update rubocop version
2020-07-07 19:19:37 +01:00
Alan Foster
2509bbfbc3
Remove rspec test focus, and ensure all tests run
2020-07-07 17:29:50 +01:00
William Vu
ffc07d6c8f
Merge remote-tracking branch 'upstream/master' into pr/13787
2020-07-01 14:42:16 -05:00
William Vu
89f7be3ef0
Improve error message
2020-07-01 14:20:04 -05:00
Alan Foster
3737c6810c
Fix typo in debug command
2020-07-01 14:18:51 +01:00
William Vu
4b78de5416
Refactor AutoCheck a bit more
2020-06-30 11:58:42 -05:00
Alan Foster
b841246536
Update autocheck to use prepend instead of include, add ForceExploit functionality
2020-06-30 11:40:46 +01:00
Adam Galway
babaee8c8e
adds debug command with spec tests
2020-06-29 15:38:56 +01:00
Alan Foster
6007e13379
Fix edgecase in rubocop module description rule
2020-06-10 12:11:49 +01:00
Brent Cook
5b69fe9757
reverse_python_ssl has has apparently stabilized in size
2020-06-09 08:59:52 +10:00
OJ
c08e86434b
Fix more specs
2020-06-09 08:58:27 +10:00
OJ
616fdaeb60
Fix up packe spec tests
2020-06-09 08:58:27 +10:00
Adam Cammack
5f8181efa7
Avoid auto-encoding payloads free of badchars
...
Payloads without any of the specified badchars will no longer be encoded
by default. This should hopefully lead to less surprising results when
using simple payloads (especially commands. Things that had incomplete
badchar analysis may break as a result, since not everything will be
encoded by default anymore. Sorry in advance if they do.
2020-05-07 10:58:03 -05:00
William Vu
437a056f67
Land #13364 , .NET deserialization tool
2020-05-05 11:02:31 -05:00
Jeffrey Martin
e5be9ee9ef
add test for reverse_tcp_uuid stager with osx
2020-05-01 11:20:20 -05:00
Spencer McIntyre
b38648db12
Only fail on fatal XML syntax errors for the SoapFormatter
...
The library name in the XML needs to contain a space so it is not a valid URI.
2020-04-30 08:40:31 -04:00
L
d31882fe15
Modify unkown to unknown
2020-04-27 10:50:34 -05:00
L
48ed0ba3c5
Update java_deserialization_spec
2020-04-27 10:50:09 -05:00
Christophe De La Fuente
af239303d2
Land #13257 , .NET Deserialization Library Improvements
2020-04-27 13:05:38 +02:00
Spencer McIntyre
090cf259ee
Add some additional unit testing through rspec
2020-04-22 15:53:59 -04:00
h00die
22e2a17873
cram-md5
2020-04-17 16:51:25 -04:00
bwatters-r7
15f4f7ea95
Land #13049 , Add fileformat exploit for libnotify plugin
...
Merge branch 'land-13049' into upstream-master
2020-04-16 16:03:14 -05:00
Spencer McIntyre
a13580bfd2
Fix the payload size tests for real this time
2020-04-16 15:35:38 -04:00
Spencer McIntyre
23319489b9
Remove unnecessary logic from ClassWithId
2020-04-15 18:11:45 -04:00
Spencer McIntyre
49580a48ac
Refactor exceptions and add more unit testing
2020-04-15 15:13:41 -04:00
Spencer McIntyre
82dc28e2c4
Use gadget chain classes for identification
2020-04-15 15:13:41 -04:00
Spencer McIntyre
46d5628d79
Add the WindowsIdentity gadget chain
2020-04-15 15:13:41 -04:00
Spencer McIntyre
f808121c84
Refactor formatters into modules
2020-04-15 15:13:41 -04:00
Spencer McIntyre
d6c2375eb8
Add chain consistency checks to the spec file
2020-04-15 15:13:41 -04:00
h00die
6a2561d2d1
remove excessive store_loot from cisco lib
2020-04-10 09:45:18 -04:00
Spencer McIntyre
d6d939b2ed
Land #12594 , add a Ubiquiti config importer mixin
2020-04-08 17:52:28 -04:00
Brendan Coles
89e257c722
Add spec
2020-03-26 06:55:05 +00:00
Alan Foster
bf07b1c897
Landing #13039 , add color to search text matches and module ranks
2020-03-23 18:26:17 +00:00
Adam Galway
04903daa4c
highlights search text & color codes module ranks
2020-03-23 17:42:17 +00:00
dwelch-r7
682653e9d9
PR comments
2020-03-13 13:32:59 +00:00
Alan Foster
1137036ecb
Tidy up results tracking
2020-03-13 13:32:59 +00:00
dwelch-r7
55bd3f45be
run rubocop -a on new files
2020-03-13 13:32:58 +00:00
dwelch-r7
6762a7b147
Fix all the tests
2020-03-13 13:32:58 +00:00
dwelch-r7
54928c0e7b
fix tests
2020-03-13 13:32:58 +00:00
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