Fix captiolzation of OsName field query
git-svn-id: https://beef.googlecode.com/svn/trunk@675 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -193,10 +193,9 @@ module BeEF
|
||||
browser_match = test_target_attribute(hb_browser_name, hb_browser_version, target_browser_name, target_browser_max_ver, target_browser_min_ver)
|
||||
|
||||
# check if the operating system is a target
|
||||
hb_os_name = get_browser_detail('OSName')
|
||||
hb_os_name = get_browser_detail('OsName')
|
||||
target_os_name = target_definition['os_name']
|
||||
os_match = test_target_attribute(hb_os_name, nil, target_os_name, nil, nil)
|
||||
|
||||
return browser_match && os_match
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user