random gallery image
random tutorial
preview

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

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
/* Edit File handler

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 04-03-2015
*/
if(!defined('IN_SCRIPT')){
    exit;
}
if(!
file_exists($sDest)){
    
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['error']."Invalid source file<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
else{
    if(!
function_exists("GetFileData")){
        @include_once(
$_PATHS['functions_root']."/get_file_data.php");
    }
    if(!isset(
$_POST['sNewData'])){
        
$sCode "            <form method=\"post\">\n";
        
$sCode .= "            <div class=\"emboss borderr5 border1pxtrans pad5 edgeglow overflw\">\n";
        
$sCode .= "                <div class=\"embosshdrnocenter border1pxtrans pad10\">edit file</div>\n";
        
$sCode .= "                <div class=\"cc_record\">\n";
        
$sCode .= "                    <div class=\"flt pad3\">[ edit ]</div><div class=\"flt pad3\"><input type=\"hidden\" name=\"manager\" value=\"editfile\" /><input type=\"hidden\" name=\"sValue\" value=\"".$sDest."\" /><textarea rows=\"15\" cols=\"50\" name=\"sNewData\">".GetFileData($sDest)."</textarea><br /><input type=\"submit\" name=\"submit\" value=\"Edit\" /></div>\n";
        
$sCode .= "                </div>\n";
        
$sCode .= "                <div class=\"clear\"></div>\n";
        
$sCode .= "            </div>\n";
        
$sCode .= "            </form>\n";
    }
    else{
        if(!
function_exists("WriteF")){
            include_once(
$_PATHS['functions_root']."/fwrite.php");
        }
        
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['result'].(WriteF($sDest,$_POST['sNewData'],"w") ? "Successfully edited file" "Failed to edit file")."<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
    }
}
?>
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 4381
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.