Fix unquoted path in cleanup script

bug/bundler_fix
William Vu 2014-04-30 16:34:33 -05:00
parent 9b32ed4004
commit 8b138b2d37
No known key found for this signature in database
GPG Key ID: E761DCB4C1629024
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class Metasploit3 < Msf::Exploit::Local
begin
write_file(tempvbs, vbs)
print_good("Persistent Script written to #{tempvbs}")
@clean_up_rc << "rm #{tempvbs}\n"
@clean_up_rc << "rm '#{tempvbs}'\n"
rescue
print_error("Could not write the payload on the target hosts.")
# return nil since we could not write the file on the target host.