1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00
Commit Graph

47 Commits

Author SHA1 Message Date
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
asoto-r7
c2c8066f09
msfdb: Reverted back to unless and nil? 2018-12-20 13:28:47 -06:00
asoto-r7
30b914e4f0
msfdb: Added verbosity to 'missing requirements' error 2018-12-20 12:07:35 -06:00
Matthew Kienow
4cc9959e3f
Move MSF API App and associated servlets
The modules interact with the DbManager, however, are not a part of it
and belong in a more meaningful location for web services.
2018-11-19 18:46:15 -05:00
Matthew Kienow
c3a2b72836
Use Msf::Util::Helper.which method 2018-09-28 14:48:23 -04:00
Matthew Kienow
55cf17bf15
Add check for required commands 2018-09-28 13:41:03 -04:00
Matthew Kienow
14f2907d73
Update to handle new db_connect format 2018-08-31 23:12:23 -04:00
Matthew Kienow
5a14974f78
Prompt user to persist data service connection 2018-08-29 18:11:42 -04:00
Matthew Kienow
d32297871a
Update data_services cmd to new db_connect cmd 2018-08-29 18:11:42 -04:00
Matthew Kienow
f8bef79ba5
Add environment variable hash for cmd being run
Convert input to keyword argument
2018-08-29 18:11:31 -04:00
Matthew Kienow
cb96b628b3
Improve usage help
Style correction to prefer single-quoted strings
2018-08-20 11:43:12 -04:00
Matthew Kienow
d5b9826f9e
Add default workspace via web service 2018-08-15 16:40:40 -04:00
Matthew Kienow
75249d82d8
Improve web service status messages 2018-08-07 18:37:18 -04:00
Matthew Kienow
d9eae8e113
Enhance init handling of existing database config 2018-08-07 17:37:01 -04:00
Matthew Kienow
9b93e0cfcd
Style correction to prefer single-quoted strings 2018-08-07 15:31:44 -04:00
Matthew Kienow
f7a4593392
Make web service init and start more robust
Remove PID check code since thin will stop and cleanup the PID under
certain circumstances after it has started and a PID file is written.
Reuse web service online check for this purpose.
2018-08-07 15:29:41 -04:00
Matthew Kienow
956bc2fa4f
Prompt user before deleting all DB data 2018-08-06 17:44:44 -04:00
Matthew Kienow
c6a976820f
Make web service init and start more robust 2018-08-06 16:26:36 -04:00
Matthew Kienow
0844a205f6
Correct predicate method names per style guide 2018-08-06 16:16:47 -04:00
Matthew Kienow
8a5d396fdc
Fix dependency issue 2018-08-06 14:27:16 -04:00
Matthew Kienow
b4085e6a5f
Add required env to fix unexpected behavior 2018-08-03 18:43:50 -04:00
Matthew Kienow
70b29824bc
Output web service information to help user 2018-08-03 12:30:03 -04:00
Matthew Kienow
be2ad2b947
Rework client authentication configuration file
Restore the md5 auth-method for the postgres DB, msftest user. Use the
default client authentication config to create roles and databases
before writing our own config.
2018-08-03 00:29:47 -04:00
Matthew Kienow
ca1359bda3
Reword prompt from original script 2018-08-01 17:44:45 -04:00
Matthew Kienow
2c2af114c4
Fix database name typo in privs for development
Also updates authentication method to trust, but verify. Change made
to original script in parallel see rapid7/metasploit-omnibus/#73.
2018-08-01 17:42:03 -04:00
Matthew Kienow
f458031798
Add enhanced msfdb with web service support
Derived from the msfdb script in the metasploit-omnibus repo.
2018-08-01 02:29:39 -04:00