random gallery image
random tutorial

..we are going to create a new app for the hacksuite. We're not going to do anything fancy here, we will make a simple app to get familiar how to write compatible scripts for the..

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.
/* Returns all filenames and directories in a directory

Opens a directory and buffers all files in a string.

$sDir: directory to get files from
$bEditable: make development targets

STRING: filenames in the target directory

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 12-11-2014

function RecurseDir($sPath,$bEditable=false){
$sContent "";
$rOpen = @opendir($sPath);
false!==($sFile = @readdir($rOpen))){
$sFile!="." && $sFile!=".."){
$sDest $sPath."/".$sFile;
$sContent .= "<b><a href=\"#\" title=\"".$sDest."\" id=\"dir\">".$sFile."</a></b><br />\n";
$sContent .= "<blockquote>".RecurseDir($sDest,true)."</blockquote>";
$sContent .= "<a href=\"#\" title=\"".$sDest."\" id=\"file\">".$sFile."</a><br />\n";
$sContent .= "<b>".$sFile."</b><br />\n";
$sContent .= "<blockquote>".RecurseDir($sDest)."</blockquote>";
$sContent .= $sFile."<br />\n";
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 4029
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.