Burpsuite-Parser
view release on metacpan or search on metacpan
t/test1.xml view on Meta::CPAN
<script>
// ---[ BEEF_ERROR
function beef_error(error_string) {
new Effect.Shake('beef_icon');
alert(error_string);
}
// ---[ SUBMIT_CONFIG
function submit_config(config, passwd) {
new Ajax.Updater('config_results', 'submit_config.php?config=' + config + '&passwd=' + passwd, {asynchronous:true});
}
</script>
</head>
<body>
<!-- SIDEBAR -->
<div id="sidebar">
<!-- BEEF HEADER - LINK AND IMAGE-->
t/test1.xml view on Meta::CPAN
onSuccess: function(transport){
// update div
if( (update_div != undefined) && (update_div != null) ) {
$(update_div).innerHTML = transport.responseText;
}
// onsuccess fuction
if( (on_success_function != undefined) && (on_success_function != null) ) {
on_success_function(transport.responseText);
}
},
asynchronous:true
});
}
// --[ MSF EXPLOIT
// after a delay direct selected zombies to the exploit
function msf_exploit(responseText)
{
window.setTimeout('Element.Methods.construct_code("' + responseText + '")', exploit_delay);
}
t/test1.xml view on Meta::CPAN
var Module = Class.create();
Module.prototype = {
initialize: function(frequency) {
this.version = '0.1',
this.authors = 'Wade Alcorn <wade@bindshell.net>',
this.frequency = frequency,
this.id = 0;
},
heartbeat: function() {
new Ajax.Updater('module_results_section', 'get_module_details.php?action=get&result_id=' + this.id, {asynchronous:true});
},
delete_results: function() {
new Ajax.Updater('module_results_section', 'get_module_details.php?action=delete&result_id=' + this.id, {asynchronous:true});
this.heartbeat();
},
set_results_id: function(id) {
this.id = id;
}
}
]]></response>
</requestresponse>
</issue>
<issue>
t/test1.xml view on Meta::CPAN
Accept-Ranges: bytes
Content-Length: 6477
Connection: close
Content-Type: application/javascript
// Copyright (c) 2006-2009, Wade Alcorn
// All Rights Reserved
// wade@bindshell.net - http://www.bindshell.net
function update_zombie_div(div, id, detail) {
new Ajax.Updater(div, 'get_zombie_details.php?zombie=' + id + '&detail=' + detail, {asynchronous:true});
}
// --[ ZOMBIE CLASS
var Zombie = Class.create();
Zombie.prototype = {
initialize: function(id, frequency) {
this.version = '0.1',
this.authors = 'Wade Alcorn <wade@bindshell.net>, Alexios Fakos <beef.20.alfa@spamgourmet.com>',
this.frequency = frequency,
this.id = id,
t/test1.xml view on Meta::CPAN
this.expired_zombies = new Array();
this.current_zombie = 'none';
this.zombie = new Zombie(this.current_zombie, this.frequency);
},
update: function() {
var x = new Ajax.Request(
'get_zombie_details.php?zombie=all&detail=list',
{
method: 'get',
asynchronous: false,
evalScripts: false,
// parameters: 'func=' + func + '&zombie=' + this.zombie
}
);
var raw_zom_id_str = x.transport.responseText;
if(raw_zom_id_str.match(/none/)) {
$('zombiesdyn').innerHTML = "No Zombies Available";
return;
} else if (this.zombie_ids.length == 0) {
t/test1.xml view on Meta::CPAN
$('zombiesdyn').removeChild(this.zombie_data[this.expired_zombies[i]]['button_element']);
}
},
add: function(zombie_id) {
this.zombie_data[zombie_id] = new Array();
var x = new Ajax.Request(
'get_zombie_details.php?zombie=' + zombie_id + '&detail=metadata',
{
method: 'get',
asynchronous: false,
evalScripts: false,
}
);
var raw_zom_id_str = x.transport.responseText;
zombie_details_arr = raw_zom_id_str.split(',');
this.zombie_data[zombie_id]['ip'] = zombie_details_arr[0];
this.zombie_data[zombie_id]['agent_image'] = zombie_details_arr[1];
this.zombie_data[zombie_id]['os_image'] = zombie_details_arr[2];
t/test1.xml view on Meta::CPAN
// this is a work-around for a bug in Ajax.Updater - it doens't like '==' in a get param
if(decode64(code).length%3 == 1) {
tmp_code = decode64(code);
tmp_code += ";";
code = encode64(tmp_code);
}
this.selected_zombies.each( function(id) {
var params = 'data='+code;
new Ajax.Updater('module_status', 'send_cmds.php?action=cmd&zombie=' + id, {method:'post',parameters:params,asynchronous:false});
});
},
heartbeat: function() {
this.update();
this.zombie.heartbeat();
// update menu
update_zombie_div('zombie_menu', 'none', 'menu');
},
set_current_zombie: function(zombie_id) {
t/test1.xml view on Meta::CPAN
<script>
// ---[ BEEF_ERROR
function beef_error(error_string) {
new Effect.Shake('beef_icon');
alert(error_string);
}
// ---[ SUBMIT_CONFIG
function submit_config(config, passwd) {
new Ajax.Updater('config_results', 'submit_config.php?config=' + config + '&passwd=' + passwd, {asynchronous:true});
}
</script>
</head>
<body>
<!-- SIDEBAR -->
<div id="sidebar">
<!-- BEEF HEADER - LINK AND IMAGE-->
t/test1.xml view on Meta::CPAN
onComplete: function() {
Ajax.activeRequestCount--;
}
});
Ajax.Base = function() {};
Ajax.Base.prototype = {
setOptions: function(options) {
this.options = {
method: 'post',
asynchronous: true,
contentType: 'application/x-www-form-urlencoded',
parameters: ''
}
Object.extend(this.options, options || {});
},
responseIsSuccess: function() {
return this.transport.status == undefined
|| this.transport.status == 0
|| (this.transport.status >= 200 && this.transport.status < 300);
t/test1.xml view on Meta::CPAN
if (parameters.length > 0) parameters += '&_=';
try {
this.url = url;
if (this.options.method == 'get' && parameters.length > 0)
this.url += (this.url.match(/\?/) ? '&' : '?') + parameters;
Ajax.Responders.dispatch('onCreate', this, this.transport);
this.transport.open(this.options.method, this.url,
this.options.asynchronous);
if (this.options.asynchronous) {
this.transport.onreadystatechange = this.onStateChange.bind(this);
setTimeout((function() {this.respondToReadyState(1)}).bind(this), 10);
}
this.setRequestHeaders();
var body = this.options.postBody ? this.options.postBody : parameters;
this.transport.send(this.options.method == 'post' ? body : null);
} catch (e) {
t/test1.xml view on Meta::CPAN
Accept-Ranges: bytes
Content-Length: 782
Connection: close
Content-Type: application/javascript
// Copyright (c) 2006-2009, Wade Alcorn
// All Rights Reserved
// wade@bindshell.net - http://www.bindshell.net
function refreshlog() {
new Ajax.Updater('logdata', 'logcontrol.php?action=refresh', {asynchronous:true});
update_log_div('logdyn', 'summary');
}
function clearlog() {
new Ajax.Updater('logdata', 'logcontrol.php?action=clear', {asynchronous:false});
refreshlog();
}
function update_log_div(div, action) {
new Ajax.Updater(div, 'logcontrol.php?action=' + action, {asynchronous:true});
}
// --[ LOG CLASS
var Log = Class.create();
Log.prototype = {
initialize: function(frequency) {
this.version = '0.1',
this.authors = 'Wade Alcorn <wade@bindshell.net>',
this.frequency = frequency
},
t/test1.xml view on Meta::CPAN
this.version = '0.1',
this.authors = 'Wade Alcorn <wade@bindshell.net>',
this.enabled = false,
this.module = '',
this.code = ''
},
// params: string to be displayed in sidebar, base64 encode code
enable: function(module_name, code) {
this.code = code;
var params = 'data='+code;
new Ajax.Updater('module_status', 'send_cmds.php?action=autorun', {method:'post',parameters:params,asynchronous:false});
this.enabled = true;
this.module = module_name;
$('autorun_dyn').innerHTML = this.module + ' Module Enabled';
},
disable: function() {
var params = 'data=disable';
new Ajax.Updater('module_status', 'send_cmds.php?action=autorun', {method:'post',parameters:params,asynchronous:false});
this.enabled = false;
this.module = '';
this.status = 'Disabled';
$('autorun_dyn').innerHTML = this.status;
}
}]]></response>
</requestresponse>
</issue>
<issue>
<serialNumber>4408084536896053248</serialNumber>
t/test1.xml view on Meta::CPAN
<script>
// ---[ BEEF_ERROR
function beef_error(error_string) {
new Effect.Shake('beef_icon');
alert(error_string);
}
// ---[ SUBMIT_CONFIG
function submit_config(config, passwd) {
new Ajax.Updater('config_results', 'submit_config.php?config=' + config + '&passwd=' + passwd, {asynchronous:true});
}
</script>
</head>
<body>
<!-- SIDEBAR -->
<div id="sidebar">
<!-- BEEF HEADER - LINK AND IMAGE-->
( run in 0.252 second using v1.01-cache-2.11-cpan-0d8aa00de5b )