random gallery image
random tutorial
preview

..index page for the suite. It's very easy because the only thing you need to do is change the content of default.php. I don't want to create something like hello world or..

read more

random other
xConverter

THC xConverter is a tool that makes use of (php) functions in order to calculate, fetch, convert and encrypt data

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).on("change","select.updateme",function(event){
    /* default selection */
    if($(this).val()==-1){
        alert('Please select an option');
    }
    /* enable or disable maintenance scans */
    else if($(this).val()==0){
        $('.dholder').html('<div class="datawrap">');
        $('.datawrap').append('    <div class="datarowh">variable allow_maintenance</div>');
        $('.datawrap').append('    <div class="datarow">');
        $('.datarow').append('        <div class="datafieldl w200">maintenance scan</div>');
        $('.datarow').append('        <div class="datafieldr">'+($('.defvals .allow_maintenance_scan').html()=='1' ? 'disable' : 'enable')+' <input type="checkbox" name="iUpdate" value="1" /><br />- selection inverts current setting!</div>');
        $('.datarow').append('    </div');
        $('.datawrap').append('</div>');
    }
    /* scan for log,configuration and data files that became bigger than $_CONTEXT['maxflsz'] */
    else if($(this).val()==1){
        $('.dholder').html('<div class="datawrap">');
        $('.datawrap').append('    <div class="datarowh">variable allow_filesizescan</div>');
        $('.datawrap').append('    <div class="datarow">');
        $('.datarow').append('        <div class="datafieldl w200">file scan</div>');
        $('.datarow').append('        <div class="datafieldr">'+($('.defvals .allow_filesizescan').html()=='1' ? 'disable' : 'enable')+' <input type="checkbox" name="iUpdate" value="1" /><br />- selection inverts current setting!</div>');
        $('.datarow').append('    </div');
        $('.datawrap').append('</div>');
    }
    /* maximum filesize of log,configuration and data files in KB */
    else if($(this).val()==2){
        $('.dholder').html('<div class="datawrap">');
        $('.datawrap').append('    <div class="datarowh">variable maxflsz</div>');
        $('.datawrap').append('    <div class="datarow">');
        $('.datarow').append('        <div class="datafieldl w200">file size</div>');
        $('.datarow').append('        <div class="datafieldr"><input type="text" size="35" name="iFileSize" value="'+$('.defvals .maxflsz').html()+'" /><br />- size must be integer<br />- size is in KB</div>');
        $('.datarow').append('    </div');
        $('.datawrap').append('</div>');
    }
    /* analyzes logfiles */
    else if($(this).val()==3){
        $('.dholder').html('<div class="datawrap">');
        $('.datawrap').append('    <div class="datarowh">variable allow_logfileanalyze</div>');
        $('.datawrap').append('    <div class="datarow">');
        $('.datarow').append('        <div class="datafieldl w200">file scan</div>');
        $('.datarow').append('        <div class="datafieldr">'+($('.defvals .allow_filesizescan').html()=='1' ? 'disable' : 'enable')+' <input type="checkbox" name="iUpdate" value="1" /><br />- selection inverts current setting!</div>');
        $('.datarow').append('    </div');
        $('.datawrap').append('</div>');
    }
    /* checks if all required functions are there */
    else if($(this).val()==4){
        $('.dholder').html('<div class="datawrap">');
        $('.datawrap').append('    <div class="datarowh">variable allow_functcheck</div>');
        $('.datawrap').append('    <div class="datarow">');
        $('.datarow').append('        <div class="datafieldl w200">file scan</div>');
        $('.datarow').append('        <div class="datafieldr">'+($('.defvals .allow_filesizescan').html()=='1' ? 'disable' : 'enable')+' <input type="checkbox" name="iUpdate" value="1" /><br />- selection inverts current setting!</div>');
        $('.datarow').append('    </div');
        $('.datawrap').append('<div class="clear"></div>');
    }
    /* count the files in specific folders in order to minimize the amount of garbage */
    else if($(this).val()==5){
        $('.dholder').html('<div class="datawrap">');
        $('.datawrap').append('    <div class="datarowh">variable allow_filesindirscan</div>');
        $('.datawrap').append('    <div class="datarow">');
        $('.datarow').append('        <div class="datafieldl w200">file scan</div>');
        $('.datarow').append('        <div class="datafieldr">'+($('.defvals .allow_filesizescan').html()=='1' ? 'disable' : 'enable')+' <input type="checkbox" name="iUpdate" value="1" /><br />- selection inverts current setting!</div>');
        $('.datarow').append('    </div');
        $('.datawrap').append('</div>');
    }
    /* maximum files in dir before reporting */
    else if($(this).val()==6){
        $('.dholder').html('<div class="datawrap">');
        $('.datawrap').append('    <div class="datarowh">variable maxflsindir</div>');
        $('.datawrap').append('    <div class="datarow">');
        $('.datarow').append('        <div class="datafieldl w200">file amount</div>');
        $('.datarow').append('        <div class="datafieldr"><input type="text" name="iFiles" value="'+$('.defvals .maxflsindir').html()+'" /><br />- maximum files before sending report</div>');
        $('.datarow').append('    </div');
        $('.datawrap').append('</div>');
    }
    /* the global interval between a next maintenance scan */
    else if($(this).val()==7){
        $('.dholder').html('<div class="datawrap">');
        $('.datawrap').append('    <div class="datarowh">variable nextscanseconds</div>');
        $('.datawrap').append('    <div class="datarow">');
        $('.datarow').append('        <div class="datafieldl w200">scan interval</div>');
        $('.datarow').append('        <div class="datafieldr"><input type="text" name="iAmount" value="'+$('.defvals .nextscanseconds').html()+'" /><br />- minimum amount of seconds before next scan</div>');
        $('.datarow').append('    </div');
        $('.datawrap').append('</div>');
    }
    /* invalid choice */
    else{
        alert('Invalid selection, please make a valid selection');
    }
});
$(document).on("submit","form.security",function(event){
    event.preventDefault();
    dataString = $("form.security").serialize();
    $.ajax({
        type: "POST",
        url: "JSON/maintenance_scan.php",
        data: dataString,
        dataType: "json",
        beforeSend:function() {
            $('.newmodule').hide('slow');
        },
        success: function(json){
            if(json.jresult==false){
                alert(json.jmessage);
            }
            else{
                if(json.jref){
                    $("."+$('div.datarowh').html()).html(json.jref);
                }
                if(json.jredirect){
                    document.location.href = 'setup.php';
                }
                $('.datawrap').remove();
                $('.dholder').html('<div class="datawrap">');
                $('.datawrap').append('    <div class="datarow">'+json.jmessage+'</div');
                $('.datarow').append('</div');
            }
        }
    });
});
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 3914
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.