diff --git a/modules/exploits/linux/http/panos_readsessionvars.rb b/modules/exploits/linux/http/panos_readsessionvars.rb index c588dbf0eb..8a042e0584 100644 --- a/modules/exploits/linux/http/panos_readsessionvars.rb +++ b/modules/exploits/linux/http/panos_readsessionvars.rb @@ -125,7 +125,7 @@ class MetasploitModule < Msf::Exploit::Remote return end - register_dirs_for_cleanup(base_directory) + register_dirs_for_cleanup(target_directory) print_status("Waiting up to 20 minutes for the cronjob to fire and execute...") expiry = Time.at(Time.now.to_i + (60*20)).to_i