random gallery image
random tutorial
preview

..tutorial we 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..

read more

random stress testing
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
/* Tool development */
include_once("header.php");
$_CONTEXT['page_title'] = "THC HackSuite CMS: DEVELOPMENT";
$sJSDev "<script type=\"text/javascript\" src=\"Templates/".$_PATHS['style_user']."/js/development.js\"></script>\n";
$sJSDev .= "<script type=\"text/javascript\" src=\"Templates/".$_PATHS['style_user']."/js/jquery-ui.js\"></script>\n";
$_CONTEXT['headers'] = isset($_CONTEXT['headers']) ? $_CONTEXT['headers'].$sJSDev $sJSDev;
include_once(
$_PATHS['functions_root']."/getfilebydir.php");
$sCode = (isset($sCode) ? $sCode "");
if(!isset(
$_POST['manager'])){
    
$_GET['action'] = isset($_GET['action']) ? $_GET['action'] : "list";
    switch(
$_GET['action']){
        
/* uninstall */
        
case"uninstall":
        
$_CONTEXT['subtitle'] = "Uninstall";
        include_once(
$_PATHS['includes_root']."/dev_uninstall.php");
        break;
        
/* manage */
        
case"manage":
        
$_CONTEXT['subtitle'] = "Manage";
        include_once(
$_PATHS['includes_root']."/dev_manage.php");
        break;
        
/* edit */
        
case"edit":
        
$_CONTEXT['subtitle'] = "Edit";
        include_once(
$_PATHS['includes_root']."/dev_edit.php");
        break;
        
/* list */
        
case"list":
        
$_CONTEXT['subtitle'] = "Plugin List";
        include_once(
$_PATHS['includes_root']."/dev_list.php");
        break;
        
/* module */
        
case"module":
        
$_CONTEXT['subtitle'] = "Create Module";
        include_once(
$_PATHS['includes_root']."/dev_module.php");
        break;
        
/* apps */
        
case"apps":
        
$_CONTEXT['subtitle'] = "Create App";
        include_once(
$_PATHS['includes_root']."/dev_apps.php");
        break;
        
/* callback */
        
case"callback":
        
$_CONTEXT['subtitle'] = "Create Callback";
        include_once(
$_PATHS['includes_root']."/dev_callback.php");
        break;
        
/* error */
        
default;
        
$_CONTEXT['subtitle'] = "Undefined Action";
        
$sCode "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['error']."Action is undefined.<p><a href=\"development.php?action=list\">[ back ]</a></div>";
    }
}
else{
    
// validate target
    
$sDest ExploitFilter($_POST['sValue'],0,1);
    switch(
$_POST['manager']){
        
/* new directory */
        
case"newdir":
        
$_CONTEXT['subtitle'] = "New Directory";
        include_once(
$_PATHS['includes_root']."/dev_newdir.php");
        break;
        
/* delete directory */
        
case"deletedir":
        
$_CONTEXT['subtitle'] = "Delete Directory";
        include_once(
$_PATHS['includes_root']."/dev_deletedir.php");
        break;
        
/* rename directory */
        
case"renamedir":
        
$_CONTEXT['subtitle'] = "Rename Directory";
        include_once(
$_PATHS['includes_root']."/dev_renamedir.php");
        break;
        
/* file upload */
        
case"uploadfile":
        
$_CONTEXT['subtitle'] = "Upload File";
        include_once(
$_PATHS['includes_root']."/dev_uploadfile.php");
        break;
        
/* file rename */
        
case"renamefile":
        
$_CONTEXT['subtitle'] = "Rename File";
        include_once(
$_PATHS['includes_root']."/dev_renamefile.php");
        break;
        
/* file delete */
        
case"deletefile":
        
$_CONTEXT['subtitle'] = "Delete File";
        include_once(
$_PATHS['includes_root']."/dev_deletefile.php");
        break;
        
/* file edit */
        
case"editfile":
        
$_CONTEXT['subtitle'] = "Edit File";
        include_once(
$_PATHS['includes_root']."/dev_editfile.php");
        break;
        
/* error */
        
default;
        
$_CONTEXT['subtitle'] = "Invalid Action";
        
$sCode "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['error']."Invalid manager action.<p><a href=\"development.php?action=list\">[ back ]</a></div>";
    }
}
include_once(
$_PATHS['style_root']."/index.php");
?>
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.