random gallery image
random tutorial
preview

..we will make a new module and not just some new module, nope let's make a fully automatic injection script! This tutorial is the first step into making this. Let's first explain what..

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 CMS Documentation
How the configuration files work and where you can find them
As you may know the hacksuite uses files instead of a database to store data. For configuration it's the same thing, this is stored in plain text files. All files that are used to configure the suite can be found in the Data folder, except for vars.php.

There are several ways the suite stores the data, sometimes by adding it to the file as in logs or by overwriting the configuration file eg with adding new tools or ip restrictions.

The majority of configuration files have a structure similar to this:

value|value|value\n
value|value|value\n
value|value|value\n


Files like these always should be parsed by the RawToArray function, which splits the content up and puts it into an array, the example above would produce:


$aData = array();
$aData[0] = array("value","value","value");
$aData[1] = array("value","value","value");
$aData[2] = array("value","value","value");


You can always use the method you prefer to store configuration, I switch between the two methods because I like both.

Not much to tell more about how the configuration works, in a nutshell the suite uses RawToArray to turn configuration files into arrays or includes configuration files when they contain php code.
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 3836
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.