random gallery image
random tutorial
preview

..used one or more modules you must have seen the iframes used for realtime result display. In this tutorial I'm going to show you how to insert them into your module and how they..

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
/* File management for apps and modules

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 03-02-2015
*/
if(!defined('IN_SCRIPT')){
    exit;
}
if(!
function_exists("RecurseDir")){
    
$sDest $_PATHS['functions_root']."/recursedir.php";
    include_once(
$sDest);
}
/* default page */
$sDestX "";
$sType "";
if(isset(
$_GET['apps'])){
    
// manage app
    
$sDest "";
    if(
false!=($iExtra = @count($aExtra))){
        for(
$x=0;$x<$iExtra;$x++){
            if(
$aExtra[$x][0]==$_GET['apps']){
                
$sDest .= $aExtra[$x][1];
                break;
            }
        }
    }
    
$sType "app";
    
$sDestX $_PATHS['root']."/".$sDest;
}
elseif(isset(
$_GET['mod'])){
    
// manage module
    
$sType "module";
    
$sDestX $_PATHS['root']."/Modules/".ExploitFilter($_GET['mod'],0,1);
}
if(!
is_dir($sDestX)){
    
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['error']."Target isn't a (valid) app or module<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
else{
    
// get total file and directory listing
    
$sOutDir RecurseDir(ExploitFilter($sDestX,0,1),true);
    
$sCode .= "                        <div class=\"cc_summary emboss borderr5 border1pxtrans pad5 edgeglow w700 overflw\">\n";
    
$sCode .= "                            <div class=\"embosshdrnocenter border1pxtrans pad5\">".ucfirst($sType)." File Structure</div>\n";
    
$sCode .= "                            <div class=\"cc_record\">\n";
    
$sCode .= "                                <div class=\"flt pad3 w150\">[ file manager ]</div><div class=\"devlistcellright flt pad3 w500 rasterbg\">".$sOutDir."</div>\n";
    
$sCode .= "                            </div>\n";
    
$sCode .= "                            <div class=\"clear\"></div>\n";
    
$sCode .= "                            <div class=\"cc_record\">\n";
    
$sCode .= "                                <div class=\"flt pad3 w150\">[ add root folder ]</div>";
    
$sCode .= "                                <div class=\"flt pad3 w500\">";
    
$sCode .= "                                    <div class=\"formdiv\">\n";
    
$sCode .= "                                    <form method=\"post\" class=\"devform\">\n";
    
$sCode .= "                                        <input type=\"text\" name=\"sNewName\" value=\"\" />\n";
    
$sCode .= "                                        <input type=\"submit\" name=\"submit\" value=\"Add\" />\n";
    
$sCode .= "                                        <input type=\"hidden\" name=\"manager\" value=\"newdir\" />\n";
    
$sCode .= "                                        <input type=\"hidden\" name=\"sValue\" value=\"".$sDestX."\" />\n";
    
$sCode .= "                                    </form>\n";
    
$sCode .= "                                    </div>\n";
    
$sCode .= "                                </div>";
    
$sCode .= "                            </div>\n";
    
$sCode .= "                            </div>\n";
    
$sCode .= "                            <div class=\"clear\"></div>\n";
    
$sCode .= "                        </div>\n";
}
?>
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 4372
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.