diff --git a/modules/browser/detect_lastpass/command.js b/modules/browser/detect_lastpass/command.js new file mode 100644 index 000000000..9486b9210 --- /dev/null +++ b/modules/browser/detect_lastpass/command.js @@ -0,0 +1,29 @@ +// +// 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 result = "Not in use or not installed"; + + var lpdiv = document.getElementById('hiddenlpsubmitdiv'); + if (typeof(lpdiv) != 'undefined' && lpdiv != null) { + //We've got the first detection of LP + result = "Detected LastPass through presence of the