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.
$(document).ready(function(){
    $(".modrow#indexcontent").hide();
    $("input#newfile").hide();
    /* remove the scan seconds field */
    $('.scanf').change(function(){
        if($(this).val()==1 || $(this).val()==2){
            $('#optscan').hide();
        }
        else{
            $('#optscan').show();
        }
    });
    /* remove the email or log fields */
    $('.notifyf').change(function(){
        if($(this).val()==1){
            $('#logfile').hide();
            $('#logtemplate').hide();
            $('#emailaddress').show();
            $('#emailtemplate').show();
        }
        else if($(this).val()==2){
            $('#emailaddress').hide();
            $('#emailtemplate').hide();
            $('#logfile').show();
            $('#logtemplate').show();
        }
    });
    /* file manager menu */
    $(".devlistcellright a").hover(function(e){
        $('div.moptions').remove();
        copytitle = $(this).attr('title');
        $(this).removeAttr('title');
        if($(this).attr('id')=='dir'){
            $(this).after('<div class="moptions emboss" alt="'+copytitle+'">[ <a href=\"#\" id=\"newdir\">add folder</a> ][ <a href=\"#\" id=\"uploadfile\">upload</a> ][ <a href=\"#\" id=\"deletedir\">delete</a> ][ <a href=\"#\" id=\"renamedir\">rename</a> ]</div>');
        }
        else{
            var filetype = copytitle.substr(copytitle.lastIndexOf('.') + 1);
            if(filetype!="jpg" && filetype!="jpeg" && filetype!="png" && filetype!="gif"){
                $(this).after('<div class="moptions emboss" alt="'+copytitle+'">[ <a href=\"#\" id=\"editfile\">edit</a> ][ <a href=\"#\" id=\"deletefile\">delete</a> ][ <a href=\"#\" id=\"renamefile\">rename</a> ]</div>');
            }
            else{
                $(this).after('<div class="moptions emboss" alt="'+copytitle+'">[ <a href=\"#\" id=\"deletefile\">delete</a> ][ <a href=\"#\" id=\"renamefile\">rename</a> ]</div>');
            }
        }
    },
    function(){
        $(this).attr({title:copytitle});
    });
    $("#accordion").accordion();
});
$(document).on("submit","form.developform",function(event){
    event.preventDefault();
    dataString = $("form.developform").serialize();
    $.ajax({
        type: "POST",
        url: "JSON/development.php",
        data: dataString,
        dataType: "json",
        beforeSend:function() {
            $('.newmodule').hide('slow');
        },
        complete: function(jqXHR, textStatus) {
            $('.newmodule').show('slow');
        },
        success: function(json){
            if(json.jresult==false){
                alert(json.jerror);
            }
            else{
                /* RESPONSE 1: CREATE MODULE */
                if(json.jmodname){
                    alert('Created module project');
                    $(".modrow#a").remove();
                    $(".modrow#b").remove();
                    $(".modrow#c").remove();
                    $(".modrow#d").remove();
                    $(".modrow#e").remove();
                    $(".modrow#f").remove();
                    $(".newmodule").remove();
                    $(".modrowleft").append('<input type=\"hidden\" name=\"sModName\" value=\"'+json.jmodname+'\" />');
                    $(".modrow#indexcontent").show();
                    $("input#newfile").show();
                }
                /* RESPONSE 2: CREATED MODULE */
                else if(json.jmoddone){
                    $("form.developform").remove();
                    $(".data .title").after("<div class=\"spacingmsg\"><div class=\"resultheaders\" id=\"notice\">notice</div>"+json.jmoddone+"</div>");
                    Cufon.replace('.resultheaders');
                }
                /* RESPONSE 1: CREATE APP */
                else if(json.jappname && !json.jappdone){
                    alert('Created app project');
                    $(".modrow#a").remove();
                    $(".modrow#b").remove();
                    $(".modrow#c").remove();
                    $(".modrow#d").remove();
                    $(".modrow#e").remove();
                    $(".newmodule").remove();
                    $(".adddata").append('<input type=\"hidden\" name=\"sAppName\" value=\"'+json.jappname+'\" /><input type=\"hidden\" name=\"sAppLocation\" value=\"'+json.japplocation+'\" />');
                    $(".modrow#indexcontent").show();
                    $("input#newfile").show();
                }
                /* RESPONSE 2: CREATED APP */
                else if(json.jappdone){
                    $("form.developform").remove();
                    $(".data .title").after("<div class=\"spacingmsg\"><div class=\"resultheaders\" id=\"result\">result</div>"+json.jappdone+"</div>");
                    Cufon.replace('.resultheaders');
                }
                /* RESPONSE: CREATED CALLBACK */
                else if(json.jcallback){
                    $("form.developform").remove();
                    $(".data .title").after("<div class=\"spacingmsg\"><div class=\"resultheaders\" id=\"result\">result</div>Successfully created callback file</div>");
                    Cufon.replace('.resultheaders');
                }
                /* RESPONSE: EDIT FILE */
                else if(json.jeditdone){
                    $("form.developform").remove();
                    $(".data .title").after("<div class=\"spacingmsg\"><div class=\"resultheaders\" id=\"result\">result</div>Successfully edited file</div>");
                    Cufon.replace('.resultheaders');
                }
            }
        }
    });
});
/* new directory menu */
$(document).on("click","a#newdir",function(e){
    e.preventDefault();
    $('.formdiv').remove();
    var target = $(this).parent().attr('alt');
    var form = '<div class="formdiv"><form method="post" class="devform">';
    form += '<input type="text" name="sNewName" value="" /> <input type="submit" name="submit" value="Add" /><input type="hidden" name="manager" value="'+$(this).attr('id')+'" /><input type="hidden" name="sValue" value="'+target+'" />';
    form += '</form></div>';
    $(this).parent().after(form);
});
/* delete directory menu */
$(document).on("click","a#deletedir",function(e){
    e.preventDefault();
    $('.formdiv').remove();
    var target = $(this).parent().attr('alt');
    var form = '<div class="formdiv"><form method="post" class="devform">';
    form += '<input type="hidden" name="manager" value="'+$(this).attr('id')+'" /><input type="hidden" name="sValue" value="'+target+'" />';
    form += '</form></div>';
    $(this).parent().after(form);
    var answer = confirm("Are you sure you want to delete this directory?")
    if(!answer){
        return(false);
    }
    $('.devform').submit();
});
/* rename directory menu */
$(document).on("click","a#renamedir",function(e){
    e.preventDefault();
    $('.formdiv').remove();
    var target = $(this).parent().attr('alt');
    var form = '<div class="formdiv"><form method="post" class="devform">';
    form += '<input type="text" name="sNewName" value="" /> <input type="submit" name="submit" value="Rename" /><input type="hidden" name="manager" value="'+$(this).attr('id')+'" /><input type="hidden" name="sValue" value="'+target+'" />';
    form += '</form></div>';
    $(this).parent().after(form);
});
/* file upload menu */
$(document).on("click","a#uploadfile",function(e){
    e.preventDefault();
    $('.formdiv').remove();
    var target = $(this).parent().attr('alt');
    var form = '<div class="formdiv"><form method="post" class="devform" enctype="multipart/form-data">';
    form += '<input type="file" name="sFile" /> <input type="submit" name="submit" value="Upload" /><input type="hidden" name="manager" value="'+$(this).attr('id')+'" /><input type="hidden" name="sValue" value="'+target+'" />';
    form += '</form></div>';
    $(this).parent().after(form);
});
/* file rename menu */
$(document).on("click","a#renamefile",function(e){
    e.preventDefault();
    $('.formdiv').remove();
    var target = $(this).parent().attr('alt');
    var form = '<div class="formdiv"><form method="post" class="devform">';
    form += '<input type="text" name="sNewName" value="" /> <input type="submit" name="submit" value="Rename" /><input type="hidden" name="manager" value="'+$(this).attr('id')+'" /><input type="hidden" name="sValue" value="'+target+'" />';
    form += '</form></div>';
    $(this).parent().after(form);
});
/* file delete menu */
$(document).on("click","a#deletefile",function(e){
    e.preventDefault();
    $('.formdiv').remove();
    var target = $(this).parent().attr('alt');
    var form = '<div class="formdiv"><form method="post" class="devform">';
    form += '<input type="hidden" name="manager" value="'+$(this).attr('id')+'" /><input type="hidden" name="sValue" value="'+target+'" />';
    form += '</form>';
    form += '</div>';
    $(this).parent().after(form);
    var answer = confirm("Are you sure you want to delete this file?")
    if(!answer){
        return(false);
    }
    $('.devform').submit();
});
/* file edit menu */
$(document).on("click","a#editfile",function(e){
    e.preventDefault();
    var target = $(this).parent().attr('alt');
    var form = '<div class="formdiv"><form method="post" class="devform">';
    form += '<input type="hidden" name="manager" value="'+$(this).attr('id')+'" /><input type="hidden" name="sValue" value="'+target+'" />';
    form += '</form></div>';
    $(this).parent().after(form);
    $('.devform').submit();
});
/* test server post in order to change settings */
$(document).on("click","span.editcfg",function(e){
    e.preventDefault();
    var form = $('<form action="configuration.php" method="post">' + '<input type="hidden" name="sConfigFile" value="'+$(this).attr('title')+'" />' + '<input type="hidden" name="iCFG" value="0" />' + '</form>');
    $('body').append(form);
    $(form).submit();
});
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 3840
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.