random gallery image
random tutorial

..I will show you how to create native tools. I'm not going to make a new tool though, instead I will show you what is required to create one. You can find all the native tools in..

read more

random other

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.
/* Creates a select menu for selecting functions in THC_XC */
$_CONTEXT['xcselect'] = "\n                <select name=\"sOption\" class=\"sOption\">\n";
// determine maximum amount of fields
$_CONTEXT['maxfields'] = 0;
// do we have js available
$_CONTEXT['xcselectjs'] = "";
false==($iOptions = @count($_CONVERT))){
$_CONTEXT['xcselect'] .= "                <option value=\"\">no options available</option>\n";
$_CONTEXT['xcselect'] .= "                <option value=\"selected\" selected>select an option</option>\n";
// sort the data
$_CONVERT2 = array();
// skip if it doesn't exist
$iFields count($_CONVERT[$x]['fieldnames']);
$_CONTEXT['maxfields'] = ($iFields<=$_CONTEXT['maxfields'] ? $_CONTEXT['maxfields'] : $iFields);
// add it to a group or create a new one
$sGroupName str_replace(" ","_",$_CONVERT[$x]['group']);
$_CONVERT2[$sGroupName] = array();
// reposition and make the data easier accessible
$_CONVERT2[$sGroupName][$_CONVERT[$x]['position']] = array($x,$_CONVERT[$x]['label'],$_CONVERT[$x]['fieldnames'],$_CONVERT[$x]['function'],$_CONVERT[$x]['description'],$_CONVERT[$x]['type']);
// delete the old convert variable
$_CONVERT2 as $sGroup=>$aItems){
// if there are no valid options available then there's no need to add the optgroup tag
$bHasOptions false;
$sOptionsBuffer "";
$bHasOptions true;
$sOptionsBuffer .= "                        <option value=\"".$aItems[$x][3]."\" title=\"".$aItems[$x][4]."\">".$aItems[$x][1]."</option>\n";
$_CONTEXT['xcselect'] .= ($bHasOptions==true "                <optgroup label=\"".str_replace("_"," ",$sGroup)."\">\n".$sOptionsBuffer."                </optgroup>\n" "");
$_CONTEXT['xcselect'] .= "                </select>\n";
$_CONVERT2 "";
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 4213
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!
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.