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()=='Insert'){
            form += '<div class="cc_record"><div class="flt pad3 w150">proxy address</div><div class="flt pad3"><input type="text" name="sProxyAddress" value="" class="proxyinp" title="address without a port number" /></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3 w150">port number</div><div class="flt pad3"><input type="text" name="iProxyPort" value="" class="proxyp" title="port where the service listens on" /></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3 w150"><i>user:pass</i></div><div class="flt pad3"><input type="text" name="sCredentials" value="" class="credent" title="user:pass, leave empty if no password is required" /></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3"><input type="hidden" name="iCFG" value="7" /><input type="submit" name="submit" value="Insert" /></div>';
        }
        else if($(this).val()=='Remove'){
            form += '<div class="cc_record"><div class="flt pad3 w150">select proxy</div><div class="selectproxies flt pad3"></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3"><input type="hidden" name="iCFG" value="7" /><input type="submit" name="submit" value="Remove" /></div>';
        }
        else if($(this).val()=='Import'){
            form += '<div class="cc_record"><div class="flt pad3 w150">import</div><div class="flt pad3"><textarea rows="25" cols="40" name="sProxyList" class="proxyimp" title="list of proxies (proxy_address:port) separated by new lines"></textarea></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3"><input type="hidden" name="iCFG" value="7" /><input type="submit" name="submit" value="Import" /></div>';
        }
        else if($(this).val()=='Scrape'){
            form += '<div class="cc_record"><div class="flt pad3 w150">url</div><div class="flt pad3"><input type="text" name="sUrl" class="proxysc" value="" title="will search for urls that look like address:port" /></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3"><input type="hidden" name="iCFG" value="7" /><input type="submit" name="submit" value="Scrape" /></div>';
        }
        else if($(this).val()=='Test'){
            form += '<div class="cc_record"><div class="flt pad3 w150">proxy address</div><div class="flt pad3"><input type="text" name="sProxyAddressT" value="" class="proxyinp" title="address without a port number" /></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3 w150">port number</div><div class="flt pad3"><input type="text" name="iProxyPort" value="" class="proxyp" title="port where the service listens on" /></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3 w150"><i>user:pass</i></div><div class="flt pad3"><input type="text" name="sCredentials" value="" class="credent" title="user:pass, leave empty if no password is required" /></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3 w150">save in log</div><div class="flt pad3"><input type="checkbox" name="iLogProxy" class="proxysv" value="1" title="if the connection succeeds it wil be logged to the proxy file" /></div></div><div class="clear"></div>';
            form += '<div class="cc_record"><div class="flt pad3"><input type="hidden" name="iCFG" value="7" /><input type="submit" name="submit" value="Test" /></div>';
        }
        if(form!=''){
            $('form.dynamicform').html('');
            $('form.dynamicform').html("<div class=\"clear\"></div><div class=\"emboss borderr5 border1pxtrans pad5 edgeglow overflw\"><div class=\"embosshdrnocenter border1pxtrans pad10\">"+$(this).val()+" Proxies</div><div class=\"emboss borderr5 border1pxtrans pad5 edgeglow overflw\">"+form+'<div class="clear"></div></div></div>');
            $.ajax({
                type: "GET",
                url: "JSON/proxy_manager.php",
                dataType: "json",
                success: function(json){
                    $('div.selectproxies').html(json.jselectproxy);
                    $('div.optionsset').html(json.jselectoption+'<input type="hidden" name="iCFG" value="7" />');
                },
                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/proxy_manager.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\">"+json.jmessage+"<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/proxy_manager.php",
        dataType: "json",
        success: function(json){
            $('div.optionsset').html(json.jselectoption+'<input type="hidden" name="iCFG" value="7" />');
        },
        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.