..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..
Creates a blueprint/map of a server folder
<?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'];
?>