Spencer McIntyre
a366f6a819
The DNS feature requires a restart, so flag it
...
Also rename DNS_FEATURE to simply DNS because in this context, the
FEATURE suffix is redundant.
2024-03-12 09:58:52 -04:00
Dean Welch
216cc6762f
Put custom dns resolver behind feature flag
2024-01-04 11:18:47 +00:00
Ashley Donaldson
ef9a165d22
Changes from code review
2023-11-22 16:43:02 +11:00
Ashley Donaldson
34bd661d3f
Fall back to other server if first one fails
2023-11-22 09:06:06 +11:00
Ashley Donaldson
f351d7b5e1
Don't create DNS cached resolver on every test, because it'll exhaust the OS's resources
2023-11-10 12:07:37 +11:00
Ashley Donaldson
1a7eefd972
Support saving and loading DNS in the MSF config file
2023-11-08 07:38:12 +11:00
Ashley Donaldson
a7c4b29748
Register nameserver with framework
2023-11-07 06:46:06 +11:00
adfoster-r7
a60e048e78
Fix msfrpc hanging when updating saved command history
2023-09-15 12:42:40 +01:00
adfoster-r7
069ad805c1
Fix ruby 3.1 crashes when garbage collecting meterpreter resources
2023-05-05 14:04:17 +01:00
adfoster-r7
3a281234df
Add feature flagged datastore rewrite, with support for option fallback lookups
2022-09-16 12:59:02 +01:00
sjanusz
bbf9e3163a
Fix file reads on Windows for binary files
2022-03-21 12:47:39 +00:00
A Galway
81a86379d7
handles unverified shells & warns db/mingw not installed
2021-09-10 17:56:08 +01:00
dwelch-r7
7fbbe23426
Remove more requires that were missed before
2021-02-08 14:51:58 +00:00
dwelch-r7
d437a32374
remove msf/util requires
2021-01-18 14:21:54 +00:00
dwelch-r7
319e718a95
zeitwerk lib/msf folder, eager loading works
2021-01-18 14:20:57 +00:00
dwelch-r7
bad5ccbc49
Remove msf/base requires
2021-01-05 14:59:46 +00:00
cgranleese-r7
0433700a01
Land #14444 , Adds in a couple of missing methods from the remote data services for adding/deleting routes
2020-12-18 14:41:21 +00:00
dwelch-r7
f4e0278125
Add remote data service support for autoroute
2020-12-18 11:00:55 +00:00
dwelch-r7
ee32393b41
Address code review comments
2020-12-10 17:24:30 +00:00
dwelch-r7
dae27fb3ba
Make the EICAR canary useful again
2020-12-09 14:47:22 +00:00
dwelch-r7
1617b3ec9b
Use zeitwerk for lib/msf/core folder
2020-12-07 10:31:45 +00:00
Alan Foster
baa33df45d
Always use module cache for searching
2020-08-14 19:14:54 +01: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
adfoster-r7
fceb96e659
Land #13608 , update elog calls to be consistent across
2020-06-23 09:47:01 +01:00
Adam Galway
1a2bf98222
creates standard elog & updates exisiting usages
2020-06-22 12:48:39 +01:00
cn-kali-team
3aa48528ed
sorry Forget about it
2020-05-19 21:38:21 +08:00
cn-kali-team
eb39c14a53
Fix Events rest api Encoding
2020-05-01 21:45:38 +08:00
Shelby Pace
41bc3851a2
remove mingw check, add general dependency check
2019-11-18 09:33:43 -06:00
Shelby Pace
7342a4579a
add dependency check code
2019-10-10 12:16:09 -05:00
Jeffrey Martin
d1895b3db9
restore analyze on framework object
2019-05-23 11:49:43 -05:00
Aaron Soto
822f5357a2
Land #10675 , DB manager for payloads: Resolve conflicts, add 'create!' to trigger database write
2019-03-04 14:58:03 -06:00
Jeffrey Martin
f93497de8f
refactor to allow analyze via rpc
2019-01-09 16:48:54 -06:00
Erin Bleiweiss
f6f3ef1194
Remove uuid_db declarations
2018-09-13 12:30:59 -05:00
Wei Chen
f176dd03b5
Add a new module type to support evasion (WIP)
2018-08-02 11:54:38 -05:00
Matthew Kienow
e639fda53c
Fix DB initialization with no database YAML
2018-04-11 09:15:38 -04:00
christopher lee
5a899d5126
Renamed msfdb to avoid omnibus collision, removed inline data service startup code
2018-02-01 16:28:36 -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
809d3d28c7
Merge branch 'rapid7/master' into goliath
2018-01-11 16:18:41 -06:00
RageLtMan
c32ef4a3be
Require msf/core/cert_provider in framework.rb
...
Add an explicit require for the new cert_provider in framework.rb
in case it has not yet been loaded.
This should address the Travis failure on initial PR, although the
gem version in socket has not been updated, so this might take a
bit to propagate. In the end, if the dependency already gives us
this functionality by the time we call Rex::Socket::Ssl then this
commit can safely be dropped
2017-12-29 02:14:48 -05:00
RageLtMan
18f3815147
Update TLS certificate generation routines
...
Msf relies on Rex::Socket to create TLS certificates for services
hosted in the framework and used by some payloads. These certs are
flagged by NIDS - snort sid 1-34864 and such.
Now that Rex::Socket can accept a @@cert_provider from the Msf
namespace, a more robust generation routine can be used by all TLS
socket services, provided down from Msf to Rex, using dependencies
which Rex does not include.
This work adds the faker gem into runtime dependencies, creates an
Msf::Exploit::Remote::Ssl::CertProvider namespace, and provides
API compatible method invocations with the Rex version, but able
to generate higher entropy certs with more variables, options, etc.
This should reduce the hit rate against NIDS on the wire, reducing
pesky blue team interference until we slip up some other way. Also,
with the ability to generate different cert types, we may want to
look at extending this effort to probide a more comprehensive key
oracle to Framework and consumers.
Testing:
None yet, internal tests pending.
Travis should fail as this requires rex-socket #8 .
2017-12-28 21:00:03 -05: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
christopher lee
43ddc66350
Initial fix for non db cache
2017-11-07 10:33:47 -06:00
christopher lee
2c8f27cd98
More general cleanup including is_local db check
2017-10-16 17:07:26 -05:00
christopher lee
c09796ea7e
Merge master
2017-08-23 11:37:04 -05:00
christopher lee
b81e9a4d2a
Pass 1: externalize database
2017-07-07 13:33:42 -05:00
Brent Cook
06aa239d47
pass loggger conditionally to common search function
2017-07-03 16:22:47 -05:00