random gallery image
random tutorial
preview

..cool, we will make a new module and not just some new module, nope let's make a fully automatic injection script! This tutorial is the first step into making this. Let's first..

read more

random generators
THC xMap

Creates a blueprint/map of a server folder

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
/* Handle errors that may have occured */
if(!defined('IN_SCRIPT')){
    exit;
}
// is logging enabled?
if($_CONTEXT['log']==true && !defined('LOG_SKIP') ){
    
// now if we call IsThere we might just bump into an infinite loop, so let's include the log handler
    
@include_once($_PATHS['includes_root']."/log_error.php");
}
if(
$_CONTEXT['silent']==true){
    
// keep output empty
    
exit;
}
include_once(
$_PATHS['style_root']."/head.php");
// what if the headers already are sent?
$iErrors count($_CONTEXT['errors']);
/* output error */
if($iErrors!=0){
    
$sCode "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['error'];
    for(
$x=0;$x<$iErrors;$x++){
        
$sCode .= "<b>error message:</b> ".(@strlen($_CONTEXT['errors'][$x])>strip_tags($_CONTEXT['errors'][$x],"<p><a><b><i><u>") : "no error defined")."<br>\n";
        if(
$x==($iErrors-1)){
            
// ok this is the last item, if there was a fatal set then show it now
            
if($_CONTEXT['fatal']){
                
$sCode .= "<b>type of error:</b> fatal<br>\n";
                break;
            }
        }
        
$sCode .= "<b>type of error:</b> not critical<br>\n";
    }
    
$sCode .= "</div>";
    include_once(
$_PATHS['style_root']."/body.php");
    include_once(
$_PATHS['style_root']."/footer.php");
    
/* make sure we don't go ahead with more code parsing */
    
exit;
}
// no errors occured, still it's strange and it will be logged, always make sure you set the error in the array $_CONTEXT['errors']
$_CONTEXT['errors'][] = "No text defined for an error.. continue parsing..";
?>
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 4384
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.