Use the target_directory, not base
parent
cd48507aab
commit
a9f9d61f1e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue