random gallery image
random tutorial
preview

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

read more

random other
xConverter

THC xConverter is a tool that makes use of (php) functions in order to calculate, fetch, convert and encrypt data

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
/* Delete Directory handler

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 14-11-2014
*/
if(!defined('IN_SCRIPT')){
    exit;
}
if(!
is_dir($sDest)){
    
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['error']."Invalid source directory<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
else{
    
$oIterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($sDest),RecursiveIteratorIterator::CHILD_FIRST);
    foreach(
$oIterator as $oPath){
        if(
$oPath->isDir()){
            @
rmdir($oPath->__toString());
        }
        else{
            @
unlink($oPath->__toString());
        }
    }
    @
rmdir($sDest);
    
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['result']."Successfully removed directory<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
?>
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 3840
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.