random gallery image
random tutorial
preview

..we are going to create a new app for the hacksuite. We're not going to do anything fancy here, we will make a simple app to get familiar how to write compatible scripts for the..

read more

random debugging
xAnalyze

xAnalyze is a module that can search through corrupt data and configuration files in order to find the exact position of errors

more about this module
more of this category
more modules

HackSuite File Library
File Library
Here you can find the latest files and structure of the THC HackSuite, note that if you have an earlier version of the suite it's not recommended to update files manually. Instead you should overwrite your existing HackSuite environment.
/* creates selection forms */
$(document).on("change","select.selectitem",function(e){
    e.preventDefault();
    var form = '';
    if($(this).val()=='-1'){
        alert('Make a selection from the selection menu');
    }
    else{
        if($(this).val()=='Dork Remove'){
            form += '<div class="cc_record"><div class="flt pad3 w150">remove dork</div><div class="dorkx flt pad3"></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3"><input type="hidden" name="iCFG" value="8" /><input type="submit" name="submit" value="Dork Remove" /></div>';
        }
        else if($(this).val()=='Dork Add'){
            form += '<div class="cc_record"><div class="flt pad3 w150">add dork</div><div class="flt pad3"><input type="text" name="sDork" value="" /></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3"><input type="hidden" name="iCFG" value="8" /><input type="submit" name="submit" value="Dork Add" /></div>';
        }
        else if($(this).val()=='SQL Remove'){
            form += '<div class="cc_record"><div class="flt pad3 w150">remove sql</div><div class="sql flt pad3"></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3"><input type="hidden" name="iCFG" value="8" /><input type="submit" name="submit" value="SQL Remove" /></div>';
        }
        else if($(this).val()=='SQL Add'){
            form += '<div class="cc_record"><div class="flt pad3 w150">add sql</div><div class="flt pad3"><input type="text" name="sSQL" value="" /></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3"><input type="hidden" name="iCFG" value="8" /><input type="submit" name="submit" value="SQL Add" /></div>';
        }
        if(form!=''){
            $('form.dynamicform').html("<div class=\"clear\"></div><div class=\"emboss borderr5 border1pxtrans pad5 edgeglow overflw\">"+form+'<div class="clear"></div></div>');
            $.ajax({
                type: "GET",
                url: "JSON/dorks.php",
                dataType: "json",
                success: function(json){
                    if(json.jselectsql!=''){
                        $('.sql').html(json.jselectsql);
                    }
                    if(json.jselectdork!=''){
                        $('.dorkx').html(json.jselectdork);
                    }
                    $('form.staticform').html(json.jselectitem+'<input type="hidden" name="iCFG" value="8" />');
                },
                error: function(xhr){
                    alert("An error occured, please try again");
                }
            });
        }
    }
});
/* sends request for file edit */
$(document).on("submit","form.dynamicform",function(e){
    e.preventDefault();
    dataString = $("form.dynamicform").serialize();
    $.ajax({
        type: "POST",
        url: "JSON/dorks.php",
        data: dataString,
        dataType: "json",
        beforeSend:function(){
            $('input[type="submit"]').attr('disabled','disabled');
        },
        success: function(json){
            $('input[type="submit"]').removeAttr('disabled');
            if(json.jresult){
                $('form.dynamicform').html("<div class=\"clear\"></div><div class=\"emboss borderr5 border1pxtrans pad5 edgeglow overflw\">Successfully edited target file<div class=\"clear\"></div></div>");
            }
            else{
                alert(json.jmessage);
            }
        },
        error: function(xhr){
            alert("An error occured, please try again");
            $('input[type="submit"]').removeAttr('disabled');
        }
    });
});
/* obtain selection menu */
function GetSelect(){
    $.ajax({
        type: "GET",
        url: "JSON/dorks.php",
        dataType: "json",
        success: function(json){
            $('form.staticform').html(json.jselectitem+'<input type="hidden" name="iCFG" value="8" />');
        },
        error: function(xhr){
            alert("An error occured, please try again");
        }
    });
}
/* set selection menu items */
$(document).ready(function(){
    GetSelect();
});
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 4381
native: 26
modules: 21
apps: 2
support development
It takes lots of calories in order to create new things for the hacksuite, so it would be grand if you could buy me a protein shake or extra energy to keep me going. Thanks!
disclaimer
We are not responsible for any direct or indirect damage caused by abusing the tools provided on hacksuite.com. The suite is developed for educational purposes, use at your own risk!
Created by Remco Kouw. Powered by protein shakes and a high calorie diet.