mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-22 19:58:03 +00:00
18 lines
372 B
Ruby
18 lines
372 B
Ruby
require_relative '../../../../../lib/post_provision_test'
|
|
|
|
|
|
class ShellshockTest < PostProvisionTest
|
|
def initialize
|
|
self.module_name = 'shellshock'
|
|
self.module_path = get_module_path(__FILE__)
|
|
super
|
|
end
|
|
|
|
def test_module
|
|
super
|
|
test_local_command('correct /bin/bash version?','/bin/bash --version', 'version 4.1')
|
|
end
|
|
|
|
end
|
|
|
|
ShellshockTest.new.run |