metasploitable3/chef/cookbooks/metasploitable/recipes/clear_cache.rb
2017-07-20 15:44:38 -05:00

13 lines
228 B
Ruby

#
# Cookbook:: metasploitable
# Recipe:: clear_cache
#
# Copyright:: 2017, Rapid7, All Rights Reserved.
bash 'clear cache and backup that might contain sensitive information' do
code <<-EOH
cd /var/chef
rm -R *
EOH
end