Use the target_directory, not base

GSoC/Meterpreter_Web_Console
HD Moore 2018-05-06 22:56:59 -05:00
parent cd48507aab
commit a9f9d61f1e
1 changed files with 1 additions and 1 deletions

View File

@ -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