mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-09-13 00:00:48 +02:00
13 lines
228 B
Ruby
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
|