random gallery image
random tutorial

..cool, 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..

read more

random stress testing
HackSuite File Library
File Library
Here you can find the latest files and structure of the THC HackSuite, note that if you have an earlier version of the suite it's not recommended to update files manually. Instead you should overwrite your existing HackSuite environment.
/* Control center maintenance scan

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 13-04-2015
// check if the user allow time based maintenance scans
$_CONTEXT['scannow'] = false;
$_CONTEXT['errors'][] = "Expecting variable last_scan to be \$_CONTEXT['useraccessdata']['last_scan'] to be loaded.";
$_CONTEXT['fatal'] = true;
$_CONTEXT['useraccessdata']['last_scan']==|| (time()-$_CONTEXT['useraccessdata']['last_scan']>$_CONTEXT['nextscanseconds'])){
$_CONTEXT['scannow'] = true;
$sCode "";
// labels for html headers
$_CONTEXT['scanlabel'] = array();
// results for scan
$_CONTEXT['scandata'] = array();
// determines whether to load the index or the results of this scan
$_CONTEXT['scanresults'] = false;
$sDest $_PATHS['data_root']."/scan_types.php";
IsThere($sPage) ? include_once($_PATHS['end']) : include_once($sDest));
// output scan results
foreach($_CONTEXT['scandata'] as $sKey=>$sValue){
$_CONTEXT['scanresults'] = true;
$sCode .= "            <div class=\"emboss borderr5 border1pxtrans pad5 edgeglow overflw\">\n";
$sCode .= "                <div class=\"embosshdrnocenter border1pxtrans pad10\">".$_CONTEXT['scanlabel'][$sKey]."</div>\n";
$sCode .= "                <div class=\"w700 flt pad5 blk overflw\">\n";
$sCode .= "                    <div class=\"overflw\">\n".$sValue;
$sCode .= "                    </div>\n";
$sCode .= "                </div>\n";
$sCode .= "            </div>\n";
$sCode .= "            <div class=\"clear\"></div>\n";
$sDest $_PATHS['functions_root']."/fwrite.php";
IsThere($sPage) ? include_once($_PATHS['end']) : include_once($sDest));
// the automatic scan is the only scan that will update the file LOGS_DIR/log_activity.php
$sNewD "<?php\n";
$sNewD .= "/* Activity log\n\n";
$sNewD .= "Author: Remco Kouw\n";
$sNewD .= "Site: http://www.hacksuite.com\n";
$sNewD .= "Last Edit: ".date('d-m-Y',time())."\n";
$sNewD .= "*/\n";
$sNewD .= "if(!defined('IN_SCRIPT')){\n";
$sNewD .= "\texit;\n";
$sNewD .= "}\n";
$sNewD .= "\$_CONTEXT['useraccessdata'] = array();\n";
$sNewD .= "\$_CONTEXT['useraccessdata']['installed'] = ".$_CONTEXT['useraccessdata']['installed'].";\n";
$sNewD .= "\$_CONTEXT['useraccessdata']['last_update'] = ".time().";\n";
$sNewD .= "\$_CONTEXT['useraccessdata']['ip'] = array(\"".$_SERVER['REMOTE_ADDR']."\");\n";
$sNewD .= "\$_CONTEXT['useraccessdata']['last_scan'] = ".time().";\n";
$sNewD .= "\$_CONTEXT['useraccessdata']['action'] = \"".$_CONTEXT['useraccessdata']['action']."\";\n";
$sNewD .= "?>";
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.