random gallery image
random tutorial
preview

..one or more modules you must have seen the iframes used for realtime result display. In this tutorial I'm going to show you how to insert them into your module and how they..

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.
<?php
/* Monitor amount of files in a specific folder

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 06-02-2015
*/
if(!defined('IN_SCRIPT')){
    exit;
}
if(
$_CONTEXT['allow_filesindirscan']){
    
$_CONTEXT['scanlabel']['exceeded_max_files'] = "exceeded maximum files";
    
$_CONTEXT['exceeded_max_files'] = "";
    
// load the data directory file that contains all core functions or throw a fatal error
    
$aRequire = array($_PATHS['data_root']."/monitor_dirs.php",$_PATHS['functions_root']."/getfilebydir.php");
    for(
$x=0;$x<count($aRequire);$x++){
        (!
IsThere($aRequire[$x]) ? include_once($_PATHS['end']) : include_once($aRequire[$x]));
    }
    for(
$x=0;$x<count($_CONTEXT['monitor_d']);$x++){
        if(!
is_dir($_CONTEXT['monitor_d'][$x])){
            
$_CONTEXT['exceeded_max_files'] .= "                    <div>folder ".ExploitFilter($_CONTEXT['monitor_d'][$x],1)." doesn't exist</div>\n";
        }
        else{
            if(
false!==($aFiles GetFilesByDirectory($_CONTEXT['monitor_d'][$x]))){
                if(
count($aFiles)>=$_CONTEXT['maxflsindir']){
                    
$_CONTEXT['exceeded_max_files'] .= "                    <div class=\"filestodelete".$x."\">folder ".substr($_CONTEXT['monitor_d'][$x],strlen($_SERVER['DOCUMENT_ROOT']))." exceeded amount of ".$_CONTEXT['maxflsindir']." files - <a href=\"#\" class=\"removefiles\" id=\"".$x."\" title=\"".$_CONTEXT['monitor_d'][$x]."\">remove files</a></div>\n";
                }
            }
        }
    }
    
$_CONTEXT['scandata']['exceeded_max_files'] = $_CONTEXT['exceeded_max_files'];
}
?>
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.