removing exception raising because it breaks the framework
git-svn-id: https://beef.googlecode.com/svn/trunk@570 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -122,8 +122,7 @@ module BeEF
|
||||
|
||||
# retrieve the target browser name
|
||||
browser_name = get_browser_detail('BrowserName')
|
||||
raise WEBrick::HTTPStatus::BadRequest, "browser_name is nil" if browser_name.nil?
|
||||
return VERIFIED_UNKNOWN if browser_name.eql? 'UNKNOWN'
|
||||
return VERIFIED_UNKNOWN if browser_name.eql? 'UNKNOWN' or browser_name.nil?
|
||||
|
||||
# check if the browser is targeted
|
||||
all_browsers_targeted = @target['browser_name'].eql? BeEF::Constants::Browsers::ALL
|
||||
|
||||
Reference in New Issue
Block a user