..something cool, we will make a new module and not just some new module, nope let's make a fully automatic injection script! This tutorial is the first step into making this. Let's first..
THC Sscan is a very versatile tool for scanning (html) files
function QuerySplit() {
var pathname = $('input.feedquery').val();
if(!pathname){
return(false);
}
var query = pathname.split('?');
var vals = query[1].split('&');
$(vals).each(function(){
var request = this.split('=');
$('.modright#querysplit').append('<div><b>'+request[0]+'</b> <input type="checkbox" name="'+request[0]+'" value="1" /></div>');
});
return false;
}
$(document).ready(function(){
QuerySplit();
$('.modrow#massscan').hide();
$('.modrow#singlescan').hide();
$('.modrow#allscan').hide();
$(".attacktype").change(function(){
$('.modrow#allscan').show();
if($(this).val()==1){
$('.modrow#massscan').show();
$('.modrow#singlescan').hide();
}
else if($(this).val()==0){
$('.modrow#massscan').hide();
$('.modrow#singlescan').show();
}
else{
$('.modrow#massscan').hide();
$('.modrow#singlescan').hide();
$('.modrow#allscan').hide();
}
});
$(".feedquery").change(function(){
$('.modright#querysplit').html('');
QuerySplit();
});
});