Spencer McIntyre
11ca24e290
Specify the record type for PTR lookups
2024-02-08 11:22:33 -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
8b71afdd53
Land #18759 , Updates MySQL modules to now support the new MySQL session type
2024-02-08 12:39:51 +00:00
cgranleese-r7
02ae96edb0
Addresses RPORT not defaulting correctly
2024-02-07 16:07:15 +00:00
Dean Welch
792708c07b
Remove all references to Msf::SymbolicModule
2024-02-07 15:08:47 +00:00
cgranleese-r7
b060809a8d
Addresses logoff PR feedback
2024-02-07 12:51:04 +00:00
cgranleese-r7
e80f0ef8cd
Removes session logic from mixins and uses client instead of datastore for rhost and rport
2024-02-06 14:11:16 +00:00
cgranleese-r7
0e9cad6d45
Adds MySQL session type
2024-02-02 14:39:37 +00: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
7ac4387d35
Land #18696 , Convert MSSQL mixin to class
2024-02-02 14:14:34 +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
Zach Goldman
35778e92b2
client consolidation
...
convert first module from remote to client
move client to rex
remove metasploit mixin
2024-02-01 17:23:55 -06:00
Dean Welch
10dfe9c428
Remove prefix from alerts
2024-02-01 17:33:31 +00:00
Dean Welch
5193d30db7
Move message order
2024-02-01 17:17:58 +00:00
Dean Welch
764a87fda8
nil check and fix mock
2024-01-30 17:51:40 +00:00
adfoster-r7
4d0ba2fa1d
Land #18742 , Memory search module improvements
2024-01-30 17:39:12 +00:00
Dean Welch
1abaef4945
Move new session information alerts behind a feature flag
2024-01-30 16:38:00 +00:00
Spencer McIntyre
44916e67d5
Check if the SMB share exists before overwriting
2024-01-29 16:55:25 -05:00
Spencer McIntyre
3d476f4ef3
Add the missing #on_client_connect method
2024-01-29 16:44:32 -05:00
Spencer McIntyre
b9cf7ba894
Fix an issue where info would raise an exception
...
Fix instances where the `info` command would raise an exception while
generating the payload to calculate its length.
2024-01-29 16:44:32 -05:00
Spencer McIntyre
1c36d89942
Fix a double deref issue with the HTTP service
2024-01-29 16:44:32 -05:00
Spencer McIntyre
96316a94fe
Initial SMB server for fetch payloads
2024-01-29 16:44:28 -05:00
Spencer McIntyre
b5906418c2
Update the HashCapture mixin
...
Use #srvport instead of the datastore and pull in upstream chanes for
the metasploit-credential gem to enable use within payloads.
2024-01-29 13:35:56 -05:00
Spencer McIntyre
33306fa4dd
The SRVPORT is already registered
...
The SRVPORT datastore option is registered by the Remote::SMB::Server
mixin so including it here is redundant.
2024-01-29 13:35:54 -05:00
Spencer McIntyre
a8c240f671
Refactor existing fetch work
...
* Build the HTTPS server on top of HTTP instead of the other way around
* Set the fetch service to nil after it has been cleaned up
* Don't capitalize the H in the word handler
* Check if the fetch_service is truthy before cleaning it up
* Remove the unused FetchServerName datastore option
* Fixup the description text
* Don't allow slashes in fetch file names
* Also add the #fetch_bindnetloc method
Fix a problem in fetch/tftp.rb
2024-01-29 13:34:56 -05:00
Dean Welch
9a2ec90c16
Add alert to show user the new session options available in Metasploit 6.4
2024-01-29 17:06:21 +00:00
adfoster-r7
7ce13101df
Ensure DNS command config loading does not crash msfconsole
2024-01-29 13:23:18 +00:00
bwatters
d05b85de50
Land #18680 , Shared SMB Service
...
Merge branch 'land-18680' into upstream-master
2024-01-26 14:42:11 -06:00
Gaurav Jain
38c9185564
Add reviewed changes
2024-01-26 22:58:00 +05:30
adfoster-r7
94eeba3521
Update payload to_handler command to support option overrides
2024-01-26 12:37:36 +00:00
adfoster-r7
2f97f86f49
Land #18746 , ensure the generate command does not update the module database
2024-01-25 19:40:28 +00:00
Spencer McIntyre
6ad359ee96
Don't change the main modules datastore options
2024-01-25 13:47:09 -05:00
sjanusz-r7
aac74778b9
Move memory search method to Meterpreter stdapi
2024-01-24 19:53:30 +00:00