..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..
THC xConverter is a tool that makes use of (php) functions in order to calculate, fetch, convert and encrypt data
<?php
/* Log file locations and format definitions
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 17-03-2015
*/
if(!defined('IN_SCRIPT')){
exit;
}
$_CONTEXT['l_formats'] = array();
/* html test server log */
$_CONTEXT['l_formats'][0] = array();
$_CONTEXT['l_formats'][0]['file'] = "login_single_user.php";
$_CONTEXT['l_formats'][0]['format'] = array();
$_CONTEXT['l_formats'][0]['format']['type'] = "plain";
$_CONTEXT['l_formats'][0]['format']['separate'] = "|";
$_CONTEXT['l_formats'][0]['format']['items'] = 2;
$_CONTEXT['l_formats'][0]['format']['labels'] = array("timestamp","ip");
$_CONTEXT['l_formats'][0]['format']['editable'] = false;
/* update activity log */
$_CONTEXT['l_formats'][1] = array();
$_CONTEXT['l_formats'][1]['file'] = "log_activity.php";
$_CONTEXT['l_formats'][1]['format'] = array();
$_CONTEXT['l_formats'][1]['format']['type'] = "array";
$_CONTEXT['l_formats'][1]['format']['keys'] = array();
$_CONTEXT['l_formats'][1]['format']['keys'][0] = array("installed","integer");
$_CONTEXT['l_formats'][1]['format']['keys'][1] = array("last_update","integer");
$_CONTEXT['l_formats'][1]['format']['keys'][2] = array("ip","array");
$_CONTEXT['l_formats'][1]['format']['keys'][3] = array("last_scan","integer");
$_CONTEXT['l_formats'][1]['format']['keys'][4] = array("action","string");
$_CONTEXT['l_formats'][1]['format']['root'] = "useraccessdata";
$_CONTEXT['l_formats'][1]['format']['notempty'] = true;
$_CONTEXT['l_formats'][1]['format']['editable'] = false;
/* login failure, ip doesn't match or password is invalid */
$_CONTEXT['l_formats'][2] = array();
$_CONTEXT['l_formats'][2]['file'] = "log_unauthorized.php";
$_CONTEXT['l_formats'][2]['format'] = array();
$_CONTEXT['l_formats'][2]['format']['type'] = "plain";
$_CONTEXT['l_formats'][2]['format']['separate'] = "|";
$_CONTEXT['l_formats'][2]['format']['items'] = 3;
$_CONTEXT['l_formats'][2]['format']['labels'] = array("ip","timestamp","error");
$_CONTEXT['l_formats'][2]['format']['editable'] = true;
/* main log file */
$_CONTEXT['l_formats'][3] = array();
$_CONTEXT['l_formats'][3]['file'] = "thc.txt";
$_CONTEXT['l_formats'][3]['format'] = array();
$_CONTEXT['l_formats'][3]['format']['type'] = "plain";
$_CONTEXT['l_formats'][3]['format']['separate'] = "|";
$_CONTEXT['l_formats'][3]['format']['items'] = 4;
$_CONTEXT['l_formats'][3]['format']['labels'] = array("ip","timestamp","error","fatal");
$_CONTEXT['l_formats'][3]['format']['editable'] = true;
?>