Skip to content

Commit 9dddb13

Browse files
committed
Slow down on killing exploits
Jobs aren't thread safe, so we kind of have to take it easy.
1 parent 2264efa commit 9dddb13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/msf/core/exploit/browser_autopwnv2.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def browser_profile_prefix
8787
def rm_exploit_jobs
8888
exploit_job_ids.each do |id|
8989
framework.jobs.stop_job(id) if framework.jobs[id.to_s]
90+
sleep(0.1)
9091
end
9192
end
9293

@@ -107,6 +108,7 @@ def rm_payload_jobs
107108
# @see #Msf::Exploit::Remote::BrowserProfileManager#clear_browser_profiles The method for removing target information.
108109
# @return [void]
109110
def cleanup
111+
print_status("Cleaning up jobs...")
110112
super
111113
configure_job_output(false)
112114
clear_browser_profiles

0 commit comments

Comments
 (0)