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

read more

random bruteforce
AntiFTP

AntiFTP uses wordlists in order to bruteforce FTP user accounts

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
/* Shows (running) tasks and updates every second

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 14-11-2014
*/
if(!defined('IN_SCRIPT')){
    exit;
}
if(
$_CONTEXT['rightdisplay']['show_tasks']){
    
$sDiv "";
    
$sScript "";
    
$_CONTEXT['htmlo'] .= "            <div class=\"subname\" id=\"tsks\">tasks</div>\n";
    
$sDest $_PATHS['data_root']."/running.txt";
    if(@
filesize($sDest)>0){
        if(!
function_exists("RawToArray")){
            include_once(
$_PATHS['functions_root']."/raw_to_array.php");
        }
        if(
false!==($aFileContentT RawToArray($sDest))){
            
// generate the script and divs, first see if there are tasks that are currently running
            
$aFileContent = array();
            
$bRunning false;
            
// ok we got a running.txt that isn't empty, but are there tasks that are still running?
            
if(0!=($iFileDataT = @count($aFileContentT))){
                for(
$x=0;$x<$iFileDataT;$x++){
                    if(
$aFileContentT[$x][2]==0){
                        
$bRunning true;
                        
$aFileContent[] = $aFileContentT[$x];
                    }
                }
            }
            
$iFileData = @count($aFileContent);
            if(
$bRunning){
                
$sDiv "";
                
$sScript "<script>\n";
                
$sScript .= "\$(document).ready(function(){\n";
                
$sScript .= "var refreshId = setInterval(function()\n";
                
$sScript .= "{\n";
                for(
$x=0;$x<$iFileData;$x++){
                    if(
$aFileContent[$x][2]==0){
                        
// filter running tasks
                        
$sDiv .= "<div id=\"".$aFileContent[$x][0].$aFileContent[$x][1]."\"></div>";
                        
$sScript .= "\$('#".$aFileContent[$x][0].$aFileContent[$x][1]."').load('task_bot.php?module=".$aFileContent[$x][0]."&start=".$aFileContent[$x][1]."');\n";
                    }
                }
                
$sScript .= "}, 1000);\n";
                
$sScript .= "});\n";
                
$sScript .= "</script>\n";
                
$_CONTEXT['htmlo'] .= $sScript."            <div class=\"lnk\">".$sDiv."</div>\n";
            }
            else{
                
$_CONTEXT['htmlo'] .= "            <div class=\"lnk\">present tasks ended</div>\n";
            }
        }
    }
    else{
        
$_CONTEXT['htmlo'] .= "            <div class=\"lnk\">no tasks running</div>\n";
    }
}
?>
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 4372
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.