random gallery image
random tutorial
preview

..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 the..

read more

random information gathering
THC Sscan

THC Sscan is a very versatile tool for scanning (html) files

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.
<?php
/* Create widgets based on data file

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 14-11-2014
*/
if(!defined('IN_SCRIPT')){
    exit;
}
if(
$_CONTEXT['rightdisplay']['show_widgets']){
    
$_CONTEXT['htmlo'] .= "            <div class=\"subname\" id=\"wdgts\">search widgets</div>\n";
    
$_CONTEXT['htmlo'] .= "            <div class=\"wdgts\">\n";
    
$_CONTEXT['htmlo'] .= "                <div class=\"lnk\">\n";
    
// widgets
    
$iActive 0;
    if(isset(
$_CONTEXT['widgets'])){
        foreach(
$_CONTEXT['widgets'] as $sLabel=>$aValues){
            
// only display active widgets
            
if($_CONTEXT['widgets'][$sLabel]['active']==1){
                
$iActive++;
                
$_CONTEXT['htmlo'] .= "                <div class=\"widgets\">\n";
                
$_CONTEXT['htmlo'] .= "                    <form method=\"".$_CONTEXT['widgets'][$sLabel]['form']['method']."\" action=\"".$_CONTEXT['widgets'][$sLabel]['form']['action']."\" target=\"".$_CONTEXT['widgets'][$sLabel]['form']['target']."\">\n";
                
// construct input fields
                
for($i=0;$i<count($_CONTEXT['widgets'][$sLabel]['form']['fields']);$i++){
                    
$_CONTEXT['htmlo'] .= "                        <input size=\"15\" type=\"".$_CONTEXT['widgets'][$sLabel]['form']['fields'][$i]['type']."\"";
                    
// does it have a name?
                    
$_CONTEXT['htmlo'] .= (isset($_CONTEXT['widgets'][$sLabel]['form']['fields'][$i]['name']) ? " name=\"".$_CONTEXT['widgets'][$sLabel]['form']['fields'][$i]['name']."\"" "");
                    
// does it have a value?
                    
$_CONTEXT['htmlo'] .= (isset($_CONTEXT['widgets'][$sLabel]['form']['fields'][$i]['value']) ? " value=\"".$_CONTEXT['widgets'][$sLabel]['form']['fields'][$i]['value']."\"" " value=\"\"");
                    
// does it have a title?
                    
$_CONTEXT['htmlo'] .= (isset($_CONTEXT['widgets'][$sLabel]['form']['fields'][$i]['title']) ? " title=\"".$_CONTEXT['widgets'][$sLabel]['form']['fields'][$i]['title']."\"" "");
                    
// do we have a submisison button image?
                    
$_CONTEXT['htmlo'] .= (isset($_CONTEXT['widgets'][$sLabel]['form']['fields'][$i]['location']) && $_CONTEXT['widgets'][$sLabel]['form']['fields'][$i]['type']=="image" " src=\"".$_PATHS['style_root_http']."/images/".$_CONTEXT['widgets'][$sLabel]['form']['fields'][$i]['location']."\" align=\"absmiddle\"" "");
                    
// if the field is ordinary input field add a new line
                    
$_CONTEXT['htmlo'] .= $_CONTEXT['widgets'][$sLabel]['form']['fields'][$i]['type']=="input" " /><br />\n" " />";
                }
                
$_CONTEXT['htmlo'] .= "                    </form>\n";
                
$_CONTEXT['htmlo'] .= "                </div>\n";
            }
        }
        if(
$iActive==0){
            
$_CONTEXT['htmlo'] .= "            <div class=\"lnk\">no active widgets</div>\n";
        }
    }
    
$_CONTEXT['htmlo'] .= "                </div>\n";
    
$_CONTEXT['htmlo'] .= "            </div>\n";
}
?>
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 4380
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.