mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-06-25 22:35:48 +02:00
Updated mysql.rb
This commit is contained in:
parent
97e5e7ede6
commit
6acb359c09
|
@ -2,11 +2,13 @@ control "mysql" do
|
|||
title "MySQL"
|
||||
desc "Check if MySQL is running properly. Installation script available at /scripts/installs/setup_mysql.bat"
|
||||
|
||||
describe command('sc query wampmysqld') do
|
||||
its('stdout') { should match "STATE : 4 RUNNING" }
|
||||
describe service('wampmysqld') do
|
||||
it { should be_installed }
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
end
|
||||
|
||||
describe command('netstat -aob | findstr :3306') do
|
||||
its('stdout') { should match "LISTENING" }
|
||||
describe port('3306') do
|
||||
it { should be_listening }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user