mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-08-26 00:00:09 +02:00
17 lines
291 B
Ruby
17 lines
291 B
Ruby
#
|
|
# Cookbook:: metasploitable
|
|
# Recipe:: mysql
|
|
#
|
|
# Copyright:: 2017, Rapid7, All Rights Reserved.
|
|
|
|
execute "apt-get update" do
|
|
command "apt-get update"
|
|
end
|
|
|
|
mysql_service 'default' do
|
|
initial_root_password 'sploitme'
|
|
bind_address '0.0.0.0'
|
|
port '3306'
|
|
action [:create, :start]
|
|
end
|