Spencer McIntyre
2b3a723557
Consistently refer to black hole as two words
2024-03-19 20:49:28 -04:00
Spencer McIntyre
b3b6f79594
Update the presentation of static entries
...
Keep the first line blank for consistency with rules and sort hostnames
and addresses.
2024-03-19 12:48:13 -04:00
Spencer McIntyre
5b1d0100d2
Add spell checking for resolvers
2024-03-19 12:48:07 -04:00
adfoster-r7
15c56a870e
Land #18895 , Add upload/download/delete/mkdir/rmdir to smb session
2024-03-14 10:51:48 +00:00
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
689caf4bd1
Add upload/download/delete/mkdir/rmdir to smb session
2024-03-12 11:56:29 +00:00
Spencer McIntyre
65cc577694
Fix saving and loading DNS rules from the config
2024-03-11 14:55:36 -04:00
sjanusz-r7
3c8f43e23e
Align SQL sessions peerhost and peerport
2024-03-04 13:11:32 +00:00
sjanusz-r7
6fe9ef5f8c
Align SQL clients to use current_database
2024-02-29 12:34:54 +00:00
adfoster-r7
d8abd2bcc2
Land #18898 , Add rex proto mysql client wrapper
2024-02-29 10:13:47 +00:00
dwelch-r7
a4543b0f41
Land #18897 , Update smb login to support additional configuration
2024-02-29 10:07:02 +00:00
adfoster-r7
131585235b
Update SMB Login to support additional configuration
2024-02-28 20:24:06 +00:00
sjanusz-r7
55a8d6732f
Add Rex Proto MySQL Client
2024-02-28 18:19:46 +00:00
Jack Heysel
4b54d43db5
Land #18892 , Add AD CS Updates for ESC13
...
This PR adds functionality to enable Metasploit users
to be able to exploit the latest ESC technique, ESC13.
2024-02-28 07:28:16 -08:00
adfoster-r7
787a2cb19e
Land #18872 , add support for boolean datatypes on mssql
2024-02-26 10:51:58 +00:00
adfoster-r7
7c000bc101
Land #18880 , Fix typo in SASL supported mechanisms
2024-02-23 17:12:00 +00:00
Jeffrey Martin
dee2f2aa0d
Fix typo in SASL supported mechanisms
2024-02-23 10:29:47 -06:00
adfoster-r7
9ae9e06017
Land #18879 , update kerberos/inspect_ticket to include PAC credential information
2024-02-23 16:20:57 +00:00
Spencer McIntyre
0ade721bf1
Propagate precise encryption key length errors
2024-02-23 10:28:05 -05:00
Spencer McIntyre
94587433cd
Add a presenter for the PAC credential information
2024-02-23 09:48:09 -05:00
Spencer McIntyre
257ec484c7
Show names for x509 OID constants
2024-02-22 17:36:30 -05:00
Zach Goldman
854dcc5776
add support for boolean datatypes on mssql
2024-02-22 11:08:49 -06:00
sjanusz-r7
1b7c2bbaec
SQL sessions consolidation
2024-02-21 16:16:14 +00:00
cgranleese-r7
4fcb4a4e3a
Land #18863 , Expose MSSQL initial connection info in client
2024-02-20 14:17:34 +00:00
sjanusz-r7
200d03c417
Expose MSSQL initial connection info in client
2024-02-20 11:36:10 +00:00
sjanusz-r7
bc6bf1c4f3
Add Proxies support to creating a session with mssql_login
2024-02-16 20:22:11 +00:00
adfoster-r7
7b56d012e8
Land #18678 , add LDAP capture capabilities
2024-02-15 22:11:04 +00:00
adfoster-r7
40701bf59a
Fix auhtentication typo in lib/rex/proto/ldap/auth.rb
2024-02-15 21:26:45 +00:00
adfoster-r7
1d406cfc2a
Land #18809 , DNS command improvements
2024-02-14 22:12:30 +00:00
Spencer McIntyre
eca99e2c77
Refactor resolver types
2024-02-14 14:40:22 -05:00
Zach Goldman
d18520adc6
update rhost and rport calls
2024-02-13 13:00:38 -06:00
Zach Goldman
c05c6773df
adjust session logic in modules
2024-02-13 11:59:09 -06:00
Spencer McIntyre
5036d28b44
Validate hostnames before storing them
...
This proactively fixes a potential DoS condition where if a user were to
add a hostname containing a ; and followed by data that is not an IP
address that MSF may fail to start.
Example:
dns add-static 'foo;bar' 192.0.2.1
save
2024-02-09 14:52:41 -05:00
Zach Goldman
94223f05fc
update relevant modules to work with sessions
...
separate out optional session logic
fixing session handling
2024-02-09 13:18:49 -06:00
Zach Goldman
2c60780dc0
Add MSSQL session Type
2024-02-09 07:27:01 -06:00
Spencer McIntyre
1b2a2af4d4
Fix unit tests on Ruby 3.2 because IPAddr =~ fails
2024-02-08 17:10:49 -05:00
Spencer McIntyre
56d2dfa46a
Fix removing invalid DNS rule IDs
2024-02-08 17:00:40 -05:00
Spencer McIntyre
630301a0df
Add versioning to the DNS configuration
2024-02-08 16:39:24 -05:00
Spencer McIntyre
1cab98f4c2
Support multiple addresses for a static hostname
2024-02-08 16:05:54 -05:00
Spencer McIntyre
62e960352f
Refactor naming entries as rules
2024-02-08 13:05:53 -05:00
Spencer McIntyre
243ebcb3a6
Add some missing documentation
2024-02-08 13:05:53 -05:00
Spencer McIntyre
c1a08b97d2
Load the termux hosts file path too
2024-02-08 13:05:50 -05:00
Spencer McIntyre
5c9b454291
Change initialization to allow reseting
...
Change how the resolver is initialized so the instance can be reset to
sane default values loaded from the operating system.
2024-02-08 11:22:33 -05:00
Spencer McIntyre
2653a180e4
Update tests add new initialization methods
2024-02-08 11:22:33 -05:00
Spencer McIntyre
648a7b394d
Update configuration saving and loading
2024-02-08 11:22:33 -05:00
Spencer McIntyre
bd7d4f0099
Add commands to manage static hostname records
2024-02-08 11:22:33 -05:00
Spencer McIntyre
fcd84a41aa
Add a DNS resolver for static entries
...
Move support for static entries out of the cache so it can be controlled
like the other resolvers.
2024-02-08 11:22:33 -05:00
Spencer McIntyre
2cf706e91f
Use the dns entry index instead of unique IDs
2024-02-08 11:22:33 -05:00
Spencer McIntyre
43a7993215
Show the matching rule for DNS resolution
2024-02-08 11:22:33 -05:00
Spencer McIntyre
3c716041bd
Add the blackhole resolver
2024-02-08 11:22:33 -05:00