Christophe De La Fuente
bdef9a6b46
Fix msfdb startup
2025-11-19 18:50:26 +01:00
cgranleese-r7
6659684fdf
Land #18440 , Add remote webservice deletion notice
2023-11-10 10:24:34 +00:00
adfoster-r7
edfa1e6011
Add remote webservice deletion notice
2023-10-31 22:45:34 +00:00
adfoster-r7
5efaa32bd0
No longer clear msfdb creds by default
2023-10-23 11:55:24 +01:00
adfoster-r7
0875cc8f73
Improve UX for databse management prompts
2023-10-09 11:04:34 +01:00
cgranleese-r7
8d131f0a95
Updates the msfdb prompts for webservice
2023-05-19 12:57:35 +01:00
Grant Willcox
09ea05754c
Land #16094 , Fix msfdb init command failure in systems that use the 'pg_ctl.rb' msfdb helper
2022-07-27 12:15:37 -05:00
Jeffrey Martin
f779f0f482
consolidate the config directory lookups
...
The user configuration directory can be overridden via environment
variables or configuration files.
In the current implementation `Msf::Config.config_directory` should be
utilized for consistent location reporting. `Msf::Config.get_config_root`
is reserved to generation of a default location and should be considered
`private` as it ignores some injected configuration options. Currently
autoloading does not allow application of the `private` keyword to this method,
requiring guidance during development that module writers should access the
full configured `user` value of `Msf::Config.config_directory`.
2022-07-25 15:27:21 -05:00
3V3RYONE
75a76a52f4
check for NOEXEC flags before creating db socket file
2022-06-23 16:50:23 +05:30
adfoster-r7
76ede9ef8f
Add ruby 3.1 support
2022-03-24 21:59:02 +00:00
3V3RYONE
19ef3eb8aa
delete extra parameter in msfdb
2022-01-25 20:24:14 +05:30
3V3RYONE
bba97a70ed
update unix_socket_directories path for psql cmds
2022-01-23 21:01:11 +05:30
3V3RYONE
c47ea05d2a
make msf_cmd syntax more maintainable
2022-01-05 10:47:58 +05:30
3V3RYONE
30b1b4f47e
normalize msf_cmd syntax
2022-01-05 10:08:11 +05:30
Alan Foster
ae7a978889
Ensure msfdb reinit can be used for starting the database
2021-06-18 09:13:48 +01:00
adfoster-r7
f83b21e85c
Land #15187 , no longer create msfdb webservice by default
2021-06-11 11:14:46 +01:00
dwelch-r7
8b61498ebb
Remove unused variables
2021-06-09 13:06:22 +01:00
dwelch-r7
5d421688a2
Refactor prompts and rework clearing of stored database
2021-06-09 10:55:15 +01:00
dwelch-r7
962dcf1ae7
Clear the default database connection if using database only
2021-05-20 01:08:47 +01:00
dwelch-r7
2c94c7cd85
Ask the user if they wish to start the webservice
2021-05-19 13:15:32 +01:00
dwelch-r7
aab54892b3
Use the correct ssl key path instead of always the default
2021-05-18 12:14:27 +01:00
dwelch-r7
2ec037226c
allow spaces in input
2021-05-13 16:44:17 +01:00
dwelch-r7
086f2961dc
msfdb default to database only
2021-05-12 11:48:56 +01:00
dwelch-r7
bd28452391
Add connection string example
2021-04-30 14:32:05 +01:00
dwelch-r7
bccb3becc9
add namespacing
2021-04-30 14:24:56 +01:00
dwelch-r7
5de6ba9253
remove admin name/password options
2021-04-30 12:49:39 +01:00
dwelch-r7
f5cb8279de
Add info for when the correct tools are not installed
2021-04-29 12:55:28 +01:00
dwelch-r7
9c19f1ad2c
Use connection string for standalone setups
2021-04-29 12:20:29 +01:00
dwelch-r7
5154000f6e
Add support for standalone db
2021-04-26 02:24:11 +01:00
dwelch-r7
e5efcc5f3b
remove _db suffix
2021-04-20 14:02:34 +01:00
dwelch-r7
ee7ad8cef3
add requirements check
2021-04-20 13:47:47 +01:00
dwelch-r7
f11129349b
rename installed to installed?
2021-04-20 12:29:17 +01:00
dwelch-r7
45db5c178a
move db helpers to /lib folder
2021-04-20 12:26:42 +01:00
dwelch-r7
9ae0c204da
Add ability to use pg_ctlcluster for db management
2021-04-16 14:09:41 +01:00
Alan Foster
12c5dd6f44
Fix db connection support for rpc service
2021-04-02 05:30:34 +01:00
dwelch-r7
0301b95597
Add require 'msfenv' to msfdb script
2021-01-22 14:01:18 +00:00
dwelch-r7
d6896dadc0
remove msf folder requires
2021-01-18 14:21:54 +00:00
Alan Foster
d74e8f7ad9
Fix executable bit on msfdb
2020-11-10 12:29:14 +00:00
A Galway
0aead044e3
cleans up logging for multiple component commands
2020-11-05 16:21:03 +00:00
Erin Bleiweiss
cff6231aa5
Don't delete ssl key and cert if a user asked not to
2019-03-05 15:25:53 -06:00
Brent Cook
d19ad1a725
change default database web service port to 5443
...
The current default is port 8080, which in addition to conflicting with almost any local web app/server you might be running, also makes it seem like this is a plaintext connection, when this is really TLS. Switching to 5443 is somewhat unique (it's not in /etc/services), complements the default database port of 5343, and also decodes to TLS by default in Wireshark.
2019-02-21 04:04:42 -06:00
Erin Bleiweiss
6802bee911
Update data service configuration message
2019-01-25 14:42:27 -06:00
Erin Bleiweiss
e6dc397516
Actually delete files on a web service delete
2019-01-25 13:15:49 -06:00
Erin Bleiweiss
7c108a141d
Don't prompt to add a data service connection
2019-01-25 12:08:28 -06:00
Erin Bleiweiss
b497b88834
Update delete_existing_data to always be a boolean
2019-01-24 13:55:05 -06:00
Erin Bleiweiss
1fe205af12
Add command line option for data service name
2019-01-24 13:45:44 -06:00
Erin Bleiweiss
424c249200
Use rex for color output
2019-01-23 17:21:07 -06:00
Erin Bleiweiss
b3b7d5205b
Don't regenerate SSL unless the user said to so do
2019-01-23 16:08:15 -06:00
Erin Bleiweiss
0bd21e9ba1
Skip prompts with new use-defaults option
2019-01-22 16:26:29 -06:00
Erin Bleiweiss
9ecc4b9d1c
Simplify bash colors
2019-01-22 13:56:02 -06:00