random gallery image
random tutorial

..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 suite. We..

read more

random debugging

xAnalyze is a module that can search through corrupt data and configuration files in order to find the exact position of errors

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:


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: 4303
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!
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.