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
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
648a7b394d
Update configuration saving and loading
2024-02-08 11:22:33 -05:00
adfoster-r7
7ce13101df
Ensure DNS command config loading does not crash msfconsole
2024-01-29 13:23:18 +00:00
sjanusz-r7
ff6db7f337
Enable Metasploit Payloads file warning messages by default
2023-12-14 12:55:43 +00: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
dd209deeb3
Initial syntax handling for DNS command
2023-11-03 12:04:41 +11:00
Dean Welch
d60993f7e8
Enable using modules when deferred loading is turned on
2023-10-06 16:04:34 +01:00
sjanusz-r7
e70f356239
Show errors on inaccessible payload files
2023-10-02 14:46:25 +01:00
Dean Welch
d17ab39748
Remove active database check for module cache rebuild
2023-04-17 23:55:37 +01:00
adfoster-r7
ccf1a82664
Fix undefiend method word_wrap error on msfconsole boot
2023-03-13 17:24:57 +00:00
adfoster-r7
3a281234df
Add feature flagged datastore rewrite, with support for option fallback lookups
2022-09-16 12:59:02 +01:00
sjanusz
3b313b4ebe
Fix setg sessiontlvlogging crashing on non-Meterpreter sessions
2022-04-04 18:31:50 +01:00
sjanusz
869f073a1b
Add setg option to log TLV packets to console or file
2022-03-01 12:50:35 +00:00
Simon Janusz
732bd3a71c
Land #16173 , Add readline option to msfconsole
...
Add readline option to msfconsole
2022-02-14 16:11:15 +00:00
alanfoster
d45783a5a0
Add readline option to msfconsole
2022-02-13 23:47:08 +00:00
Brenton O'Loughlin
e0d0514814
relocate status output
2021-12-24 17:51:04 +07:00
Tim W
5631959eff
Fix #12895 , fix console.read does not return command output
2021-12-24 07:51:25 +00:00
Tim W
b1922c305b
Revert "Land #15941 , fix command output in rpc console.write"
...
This reverts commit 8d808d11c0 , reversing
changes made to c1f06eace8 .
2021-12-24 07:32:29 +00:00
Tim W
8d808d11c0
Land #15941 , fix command output in rpc console.write
2021-12-21 06:07:29 +00:00
adfoster-r7
9c94a052bd
Support go 1.17 and remove startup errors for modules
2021-12-15 13:45:10 +00:00
Tim
cfd2d4d114
improve passthrough to capture stderr ( #1 )
2021-12-14 15:35:25 +11:00
Brenton O'Loughlin
bb688e12b8
capture passthrough system command output to output handler
2021-12-14 15:35:25 +11:00
Spencer McIntyre
0ea33ffee0
Consolidate session and shell context changes
2021-05-27 20:08:14 +05:30
Spencer McIntyre
f2b69a559b
Add and use a #with_context method
2021-05-27 20:08:09 +05:30
Alan Foster
12c5dd6f44
Fix db connection support for rpc service
2021-04-02 05:30:34 +01:00
dwelch-r7
b816373b94
remove msf/ui requires
2021-01-18 14:21:54 +00:00
dwelch-r7
bad5ccbc49
Remove msf/base requires
2021-01-05 14:59:46 +00:00
dwelch-r7
06fab92329
Remove dead link
2020-12-14 15:20:15 +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
a1d7bb62a9
Add feature configuration persistence
2020-08-07 16:42:57 +01:00
Jeffrey Martin
0bd2a295d0
make default prompt always display running major #
2020-07-29 11:40:37 -05:00
Adam Galway
babaee8c8e
adds debug command with spec tests
2020-06-29 15:38:56 +01:00
Brent Cook
8e701e4956
warnings are warnings, errors are errors
...
Since MSF5 we've said 'WARNING' with print_error about an issue a lot of
users don't really care about (whether there's a database.yaml). While
they lose some functionality, it anecodtally doesn't seem to make a
whole lot of difference in anyone's behavior. Save a few bits and switch
these warning messages to be logged as warnings (which are quiet by
default).
2020-04-14 15:08:58 -05:00
Alan Foster
66acec6a57
Cut command missing time in half
2020-03-06 23:32:09 +00:00
William Vu
40b040b3e6
Cache "show payloads" and set PAYLOAD by index
2019-07-24 20:15:12 -05:00
William Vu
77c0dacba2
Restore unknown_command passthrough to the shell
...
This continues to prefer system over popen, but it restores the original
behavior of shelling out, allowing the use of shell metacharacters, etc.
2019-07-12 13:39:37 -05:00
Adam Cammack
b419ab018c
Gracefully handle passthrough commands
...
The `system` method handles input and output as appropriate, allowing
programs that need user input to execute properly without racing
msfconsole over STDIN
2019-07-10 17:40:49 -05:00
William Vu
b020e3232b
Move warning suppression
2019-06-06 12:33:54 -05:00
William Vu
19bd0f2183
Add comments
2019-06-06 10:50:26 -05:00
William Vu
e11cc621ea
Add ensures
2019-06-03 03:51:08 -05:00
William Vu
ad2ece1489
Actually set the client identification string
2019-06-02 20:01:04 -05:00
William Vu
2318100a12
Rename SSHVersion to SSH_IDENT for now
...
1. Not to be confused with protocol version
2. We'll want to CamelCase the advanced options
2019-06-02 18:26:25 -05:00
William Vu
f70eac785d
Update comment
2019-06-02 17:04:31 -05:00
William Vu
3107339c6b
Add prints
2019-06-02 17:02:07 -05:00
William Vu
776061cc28
Fix style again
2019-06-02 16:55:48 -05:00
William Vu
75f1f0e331
Revert method name
2019-06-02 16:54:03 -05:00
William Vu
44ac458407
Simplify error check
2019-06-02 16:53:02 -05:00