random gallery image
random tutorial

..used 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 information gathering
THC Discover

Discovers interesting locations, paths and data of a website

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.
/* Ends tasks that became corrupt or have already ended

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 06-03-2015
$_CONTEXT['subtitle'] = "Task Kill";
$sJSDev "<script type=\"text/javascript\" src=\"Templates/".$_PATHS['style_user']."/js/task_kill.js\"></script>\n";
$_CONTEXT['headers'] = isset($_CONTEXT['headers']) ? $_CONTEXT['headers'].$sJSDev $sJSDev;
$_CONTEXT['taskdata'] = array();
$_CONTEXT['taskdata']['presence'] = false;
$_CONTEXT['taskdata']['total'] = 0;
$_CONTEXT['taskdata']['tasks'] = array();
$_CONTEXT['taskdata']['tasks']['running'] = array();
$_CONTEXT['taskdata']['tasks']['finished'] = array();
$sDest $_PATHS['data_root']."/running.txt";
// target files we need, so make sure they are present
$aFiles = array($_PATHS['functions_root']."/fwrite.php",$_PATHS['functions_root']."/raw_to_array.php");
IsThere($aFiles[$x]) ? include_once($_PATHS['end']) : include_once($aFiles[$x]));
false!==($aFileDataT RawToArray($sDest))){
// get task stats
$_CONTEXT['taskdata']['presence'] = true;
$aFileData = array();
$_CONTEXT['taskdata']['total'] = count($aFileDataT);
$_CONTEXT['taskdata']['tasks'][] = $aFileDataT[$x];
// filter running tasks
$_CONTEXT['taskdata']['tasks']['running'][] = $aFileDataT[$x];
// filter completed tasks
$_CONTEXT['taskdata']['tasks']['finished'][] = $aFileDataT[$x];
/* one or more tasks found */
// output form
$sCode .= "            <div class=\"devtable emboss borderr5 border1pxtrans pad5 edgeglow overflw\">\n";
$sCode .= "                <div class=\"embosshdrnocenter border1pxtrans pad10\">task killer</div>\n";
$sFalseImg $_PATHS['style_root_http']."/images/unknown.png";
// modules
$sModule $_CONTEXT['taskdata']['tasks'][$x][0];
$sDest = (file_exists($_PATHS['root']."/Modules/".$sModule."/".$sModule.".png") ? $_PATHS['root_http']."/Modules/".$sModule."/".$sModule.".png" $sFalseImg);
$_CONTEXT['taskdata']['tasks'][$x][3] = trim($_CONTEXT['taskdata']['tasks'][$x][3]);
$sCode .= "                <div class=\"cc_record overflw emboss borderr5".($x!=" mt10" "")."\" id=\"".$_CONTEXT['taskdata']['tasks'][$x][3]."\">\n";
$sCode .= "                    <div class=\"flt pad3 w100\"><img src=\"".$sDest."\" width=\"70\" border=\"0\" class=\"padt10\" /></div>\n";
$sCode .= "                    <div class=\"dta flt pad3 padt10\">\n";
$sCode .= "                        <div class=\"slblue\"><b>instance of ".$sModule."</b></div>\n";
$sCode .= "                        <div class=\"istate\"><b>task state:</b> ".($_CONTEXT['taskdata']['tasks'][$x][2]!="completed" "running")."</div>\n";
$sCode .= "                        <div class=\"istart\"><b>time started:</b> ".date($_CONTEXT['time_pattern'].' H:i:s',$_CONTEXT['taskdata']['tasks'][$x][1])."</div>\n";
$sCode .= "                        <div class=\"iend\"><b>time ended:</b> ".date($_CONTEXT['time_pattern'].' H:i:s',$_CONTEXT['taskdata']['tasks'][$x][2])."</div>\n";
$sCode .= "                        <div class=\"itotal\"><b>total time:</b> ".($_CONTEXT['taskdata']['tasks'][$x][2]-$_CONTEXT['taskdata']['tasks'][$x][1])." (s)</div>\n";
$sCode .= "                        <div class=\"ilinks\">[ <a href=\"#\" id=\"".$_CONTEXT['taskdata']['tasks'][$x][3]."\" title=\"remove\" class=\"action\">remove task</a> ]</div>\n";
$sCode .= "                        <div class=\"irunning\"><b>time running:</b> ".(time()-$_CONTEXT['taskdata']['tasks'][$x][1])." (s)</div>\n";
$sCode .= "                        <div class=\"ilinks\">[ <a href=\"#\" id=\"".$_CONTEXT['taskdata']['tasks'][$x][3]."\" title=\"remove\" class=\"action\">remove task</a> ] [ <a href=\"#\" id=\"".$_CONTEXT['taskdata']['tasks'][$x][3]."\" title=\"complete\" class=\"action\">complete task</a> ]</div>\n";
$sCode .= "                    </div>\n";
$sCode .= "                </div>\n";
$sCode .= "                <div class=\"clear\"></div>\n";
$sCode .= "                <div class=\"cc_record\">\n";
$sCode .= "                    <div class=\"flt pad3\"><input type=\"submit\" name=\"submit\" class=\"action\" id=\"clearall\" value=\"Clear All\" /></div>\n";
$sCode .= "                </div>\n";
$sCode .= "                <div class=\"clear\"></div>\n";
$sCode .= "            </div>\n";
/* no tasks found */
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['notice']."No (valid) tasks in task file</div>\n";
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 4308
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.