adfoster-r7
298e03b1cd
Land #18885 , update the sessions command to be consistent
2024-03-20 18:49:33 +00:00
Spencer McIntyre
b363f6f87d
Alias blackhole to black-hole in the UI
2024-03-20 10:57:04 -04:00
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
Gaurav Jain
287b07281d
Use Rex Parser to parse options for sessions command
2024-03-15 18:50:19 +05:30
cgranleese-r7
d2c599eaf4
Land #18954 , Ensure modules honor spooler settings
2024-03-13 16:48:30 +00:00
Christophe De La Fuente
8989b3226f
Update the wording for the DNS feature warning restart message
2024-03-12 20:14:22 +01:00
adfoster-r7
4292488925
Ensure modules honor spooler settings
2024-03-12 18:01:23 +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
cgranleese-r7
64831b67f1
Update new session to have a consistent local fs API
2024-03-06 15:52:09 +00:00
cgranleese-r7
9b2b042e19
Land #18875 , Add conditional option validation depending on SESSION/RHOST connection
2024-03-04 17:36:52 +00:00
cgranleese-r7
0c1bcbf275
Adds support for searching by session types
2024-02-29 15:15:40 +00:00
Gaurav Jain
597807316e
Add -i option to Session mixin's sessions command
2024-02-25 15:32:46 +05:30
adfoster-r7
9ae9e06017
Land #18879 , update kerberos/inspect_ticket to include PAC credential information
2024-02-23 16:20:57 +00:00
Spencer McIntyre
ca562a95d8
Truncate private data at 88 chars
...
Truncating at 87 was the exact length to trim the last byte of an AES256
kerberos key. Furthermore, adding the (TRUNCATED) string to the end
caused the resuting value to be larger than the original trucated value.
2024-02-23 09:46:44 -05:00
Dean Welch
8bc50c1d3a
Add conditional option validation depending on SESSION or RHOST connection
2024-02-22 17:57:20 +00:00
adfoster-r7
d76dd4a7fb
Improve visual indentation logic for tables
2024-02-22 14:43:29 +00:00
sjanusz-r7
1b7c2bbaec
SQL sessions consolidation
2024-02-21 16:16:14 +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
Spencer McIntyre
27ccb26de1
Adjust the confirmation logic before resetting
2024-02-14 14:27:05 -05: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
adfoster-r7
72932bdae1
Fix broken hosts and services help command
2024-02-09 16:28:47 +00:00
Spencer McIntyre
99b2bfec1f
Support -1 in the --session argument
2024-02-09 08:57:23 -05:00
Spencer McIntyre
56d2dfa46a
Fix removing invalid DNS rule IDs
2024-02-08 17:00:40 -05:00
Spencer McIntyre
934b10a626
Fix a bug when dns -h is run
2024-02-08 16:52:45 -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
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
d940bfd312
Show the number of cached dns records
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
470a28921e
Add dedicated help menus for subcommands with args
2024-02-08 11:22:33 -05:00
Spencer McIntyre
3c716041bd
Add the blackhole resolver
2024-02-08 11:22:33 -05:00
Spencer McIntyre
3445c1b588
Add the system resolver for A and AAAA queries
2024-02-08 11:22:33 -05:00
Spencer McIntyre
a5dc63617f
Refactor resolver entries to unify them
...
Now resolution will match a single rule, but that rule can have multiple
servers.
2024-02-08 11:22:33 -05:00
Spencer McIntyre
7fe10d8613
Switch to a more generic upstream resolvers model
...
Upstream resolvers can be DNS servers or something else.
2024-02-08 11:22:33 -05:00
Spencer McIntyre
282f97ba2d
Add the flush-cache subcommand
...
Also rename purge to flush-entries and update descriptions to clarify
what exactly is being flushed.
2024-02-08 11:22:33 -05:00
Spencer McIntyre
fd943f1401
Make the resolve subcommand more like Meterpreter
...
Make the dns resolve subcommand more like the resolve command in
Meterpreter. Also alphabetize things.
2024-02-08 11:22:33 -05:00
Spencer McIntyre
c780bfcb66
Add a DNS query command for inspection
2024-02-08 11:22:32 -05:00
Spencer McIntyre
20f73867ca
Print the default domain and search list too
2024-02-08 11:22:32 -05:00
Spencer McIntyre
6fdfd7147c
Print the system nameservers too
2024-02-08 11:22:32 -05:00
adfoster-r7
48221e594d
Land #18704 , Leverage the module metadata cache in the module_sets
2024-02-02 14:16:46 +00:00
adfoster-r7
372b792b8c
Land #18761 , Add alert to show user the new session options available in Metasploit 6.4
2024-02-02 10:25:32 +00:00
Dean Welch
5193d30db7
Move message order
2024-02-01 17:17:58 +00:00