
category: coding
What do I need to do add my own apps to the suite?
Unless you need extra javascript or files, at least the following steps are required.
STEP 1: include the header.php file on top of your page
STEP 2: include the $_PATHS['style_root']/index.php file on the bottom of your page
STEP 3: make all the script output available in $sCode
STEP 4: upload file to your thc document root
STEP 5: use the add page tool to add the location
category: coding
I want to log errors into some other file how can I do that?
You can overwrite the $_PATHS['write_dest'], once logged the variable will automatically be changed back to the default value.
This is for a reason, it will allow you that errors not generated by your app or module will still be logged in the correct file, also it saves you some extra coding efforts.
category: coding
How do I use iframes like with AntiLogin?
You need to define the $_CONTEXT['screen'] variable before the $sCode variable reaches the templates.
The content is expected to be an array with the following structure:
['src'] => source file of the iframe
['w'] => width of the iframe
['h'] => height file of the iframe
['name'] => name of the iframe
category: modules
What's the difference between modules and apps?
module properties:
- modules are plug-n-play products
- longer time to code
app properties:
- requires you to add them to the environment before you can use them
- can be coded very fast
There are no further differences.
category: modules
What do I need to do add my own modules to the suite?
Always make sure that your modules can run on a default thc installation, at least the following steps are required.
STEP 1: download any module and strip it to the bone, then edit the files to suit your needs
STEP 2: make all the script output available in $sCode
STEP 3: name the directory thc_xx
STEP 4: upload directory to thc document root
category: general
Where are the hacking tools, I thought this program had hacking tools?
The suite itself is a CMS, basically the suite is a web based hacking CMS and needs modules to gain more functionality.
Without this suite, the 'hacking tools' won't be able to run either.
category: general
I get an error that $sCode isn't defined, what is going on?
This can have several reasons, if you use the default default.php page make sure you have a working internet connection, otherwise it won't be able to fetch the rss feeds from YouTube.
If this isn't the case, always make sure you have any output in $sCode.