GSoC/Meterpreter_Web_Console
Green-m 2018-08-21 03:08:14 +00:00
parent edb85614ff
commit 808e2f2e25
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ module Msf
framework.jobs.each_key do |i|
framework.jobs.stop_job(i)
end
File.truncate(Msf::Config.persist_file,0)
File.truncate(Msf::Config.persist_file,0) if File.exist?(Msf::Config.persist_file)
when "-i"
# Defer printing anything until the end of option parsing
# so we can check for the verbose flag.