random gallery image
random tutorial
preview

..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
/* Setup the default path values for the environment

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 21-03-2015
*/
// paths setup
$_PATHS = array();
/* MAIN DIRECTORIES */
// root path
$_PATHS['root'] = (isset($_DYNAMIC_ROOT) ? $_DYNAMIC_ROOT substr($_SERVER['SCRIPT_FILENAME'],0,strrpos($_SERVER['SCRIPT_FILENAME'],"/")));
// http root path
$_PATHS['root_http'] = substr("http://".$_SERVER['HTTP_HOST']."/".substr($_SERVER['PHP_SELF'],1,strrpos($_SERVER['PHP_SELF'],"/")),0,-1);
// config root path
$_PATHS['config_root'] = $_PATHS['root']."/Config";
// include root path
$_PATHS['includes_root'] = $_PATHS['root']."/Includes";
// javascript source root path
$_PATHS['js_root'] = $_PATHS['root']."/JS";
// javascript source root http path
$_PATHS['js_root_http'] = $_PATHS['root_http']."/JS";
// rss handler root path
$_PATHS['rss_root'] = $_PATHS['root']."/RSS";
// data root path
$_PATHS['data_root'] = $_PATHS['root']."/Data";
// servers root path
$_PATHS['servers_root'] = $_PATHS['root']."/TestServers";
// servers http root path
$_PATHS['servers_root_http'] = $_PATHS['root_http']."/TestServers";
// templates root path
$_PATHS['templates_root'] = $_PATHS['root']."/Templates";
// templates http root path
$_PATHS['templates_root_http'] = $_PATHS['root_http']."/Templates";
// wordlists root path
$_PATHS['wordlists_root'] = $_PATHS['root']."/Wordlists";
// properties root path
$_PATHS['properties_root'] = $_PATHS['root']."/Properties";
// log root path
$_PATHS['log_root'] = $_PATHS['root']."/Logs";
// functions root path
$_PATHS['functions_root'] = $_PATHS['root']."/Functions";
// functions root path
$_PATHS['shell_root'] = $_PATHS['root']."/Shells";
// json root path
$_PATHS['json_root'] = $_PATHS['root']."/JSON";
// json root path
$_PATHS['json_root_http'] = $_PATHS['root_http']."/JSON";

/* STYLES */
// default style
$_PATHS['style_default'] = "predator";
// user defined style, if this stays empty use the default style
$_PATHS['style_user'] = "";
// the current style root
$_PATHS['style_root'] = "";
// the current style http root
$_PATHS['style_root_http'] = "";
// default style root
$_PATHS['style_default_root'] = $_PATHS['templates_root']."/".$_PATHS['style_default'];
// default style root http
$_PATHS['style_default_root_http'] = $_PATHS['templates_root_http']."/".$_PATHS['style_default'];
// current style root
$_PATHS['style_current_root'] = $_PATHS['templates_root']."/".$_PATHS['style_user'];
// current style root http
$_PATHS['style_current_root_http'] = $_PATHS['templates_root_http']."/".$_PATHS['style_user'];

/* MODULES */
// default module root(if empty load the index)
$_PATHS['module_default_root'] = "";
// default module root http(if empty load the index)
$_PATHS['module_default_root_http'] = "";

/* MISCELLANEOUS */
include($_PATHS['data_root']."/logsdata.php");
// error handler file
$_PATHS['end'] = "";
// general log file
$_PATHS['write_def'] = $_PATHS['log_root']."/".$_CONTEXT['l_formats'][3]['file'];
// dynamic log file
$_PATHS['write_dest'] = $_PATHS['write_def'];
?>
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.