adfoster-r7
76ede9ef8f
Add ruby 3.1 support
2022-03-24 21:59:02 +00:00
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
Erin Bleiweiss
3e949a49c7
Skip attempts to restart database on failures
2019-01-22 13:55:06 -06:00
Erin Bleiweiss
60a69f086b
Refactor web service status methods
2019-01-18 12:40:49 -06:00
Erin Bleiweiss
309437c9bc
Remove accidental debug statement
2019-01-16 17:21:12 -06:00
Erin Bleiweiss
1975bbf160
Add password option to prompt
2019-01-16 17:01:09 -06:00
Erin Bleiweiss
49fd266442
Add colors and formatting
2019-01-16 15:40:59 -06:00
Erin Bleiweiss
0b37214123
Simplify deletion-related questions in msfdb
2019-01-16 15:40:50 -06:00
Matthew Kienow
c1fe334006
Remove unused code
2019-01-14 23:30:48 -05:00
Matthew Kienow
7f20c75cb3
Use static rackup file from framework directory
2019-01-14 23:30:48 -05:00
Matthew Kienow
97f57cd96a
Get MSF config root dir rather than a fixed value
2019-01-10 12:29:08 -05:00
James Barnett
4ea2c5bc49
Update msfdb to use POST generate-token
2019-01-04 15:22:32 -06:00
Matthew Kienow
ebc7a3a315
Replace sysrandom with ruby default securerandom
2018-12-26 13:40:44 -05:00