random gallery image
random tutorial
preview

..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 generators
THC xMap

Creates a blueprint/map of a server folder

more about this module
more of this category
more modules

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.
<?php
/* Maintenance scan configuration

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 07-03-2015
*/
if(!defined('IN_SCRIPT')){
    exit;
}
$_CONTEXT['subtitle'] = "Maintenance Scanner";
$sJSDev "<script type=\"text/javascript\" src=\"Templates/".$_PATHS['style_user']."/js/maintenance_scan.js\"></script>\n";
$_CONTEXT['headers'] = isset($_CONTEXT['headers']) ? $_CONTEXT['headers'].$sJSDev $sJSDev;
// target files we need, so make sure they are present
$aFiles = array($_PATHS['functions_root']."/fwrite.php",$_PATHS['functions_root']."/get_file_data.php");
for(
$x=0;$x<count($aFiles);$x++){
    (!
IsThere($aFiles[$x]) ? include_once($_PATHS['end']) : include_once($aFiles[$x]));
}
// output form
$sSelect "\n<select name=\"iUpdateMe\" class=\"updateme\">\n";
$sSelect .= "    <option value=\"-1\" selected=\"selected\">select an option</option>\n";
$sSelect .= "    <option value=\"0\">enable or disable maintenance scans</option>\n";
$sSelect .= "    <option value=\"1\">filesize scan</option>\n";
$sSelect .= "    <option value=\"2\">maximum filesize of data files in KB</option>\n";
$sSelect .= "    <option value=\"3\">analyzes logfiles</option>\n";
$sSelect .= "    <option value=\"4\">checks if all required functions are there</option>\n";
$sSelect .= "    <option value=\"5\">count the files in specific folders</option>\n";
$sSelect .= "    <option value=\"6\">maximum files in dir before reporting</option>\n";
$sSelect .= "    <option value=\"7\">global interval between a maintenance scan</option>\n";
$sSelect .= "</select>\n";
// store default values
$sHidden "<div class=\"defvals\">\n";
$sHidden .= "    <div class=\"allow_maintenance_scan\">".$_CONTEXT['allow_maintenance_scan']."</div>\n";
$sHidden .= "    <div class=\"allow_filesizescan\">".$_CONTEXT['allow_filesizescan']."</div>\n";
$sHidden .= "    <div class=\"maxflsz\">".$_CONTEXT['maxflsz']."</div>\n";
$sHidden .= "    <div class=\"allow_logfileanalyze\">".$_CONTEXT['allow_logfileanalyze']."</div>\n";
$sHidden .= "    <div class=\"allow_functcheck\">".$_CONTEXT['allow_functcheck']."</div>\n";
$sHidden .= "    <div class=\"allow_filesindirscan\">".$_CONTEXT['allow_filesindirscan']."</div>\n";
$sHidden .= "    <div class=\"maxflsindir\">".$_CONTEXT['maxflsindir']."</div>\n";
$sHidden .= "    <div class=\"nextscanseconds\">".$_CONTEXT['nextscanseconds']."</div>\n";
$sHidden .= "</div>\n";
// form
$sCode .= "            <form method=\"post\" class=\"security\">\n";
$sCode .= "            <div class=\"emboss borderr5 border1pxtrans pad5 edgeglow overflw\">\n";
$sCode .= "                <div class=\"embosshdrnocenter border1pxtrans pad10\">Configure scanner settings</div>\n";
$sCode .= "                <div class=\"cc_record\">\n";
$sCode .= "                    <div class=\"flt pad3 w150\">select option</div>\n";
$sCode .= "                    <div class=\"flt pad3\">".$sSelect."</div>\n";
$sCode .= "                </div>\n";
$sCode .= "                <div class=\"clear\"></div>\n";
$sCode .= "                <div class=\"dholder\"></div>\n";
$sCode .= "                <div class=\"cc_record\">\n";
$sCode .= "                    <div class=\"flt pad3\"><input type=\"submit\" name=\"submit\" value=\"Update\" /><input type=\"hidden\" name=\"iCFG\" value=\"".$_POST['iCFG']."\" /></div>\n";
$sCode .= "                </div>\n";
$sCode .= "                <div class=\"clear\"></div>\n";
$sCode .= "            </div>\n";
$sCode .= "            </form>\n";
$sCode .= $sHidden;
?>
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.