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 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.
<?php
/*
Sets up the search for easy to guess passwords.
In order to debug requests you can add the following after $cTHC->LoadUsers();
var_dump($cTHC);

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 12-11-2014
*/
set_time_limit(0);
ignore_user_abort(true);
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
$_DYNAMIC_ROOT "../../..";
include_once(
"../../../header.php");
include_once(
"header.php");
// setup database connection
if(isset($_POST['sProduct'])){
    
$_CONTEXT['db'] = array();
    if(isset(
$_POST['iProfile']) && $_POST['iProfile']==1){
        
// from profile
        
$aProfile = @explode(":",$_POST['sProfiles']);
        if(@isset(
$_CONTEXT['dbcon'][$aProfile[0]][$aProfile[1]])){
            
$_CONTEXT['db']['host'] = $_CONTEXT['dbcon'][$aProfile[0]][$aProfile[1]]['host'];
            
$_CONTEXT['db']['username'] = $_CONTEXT['dbcon'][$aProfile[0]][$aProfile[1]]['user'];
            
$_CONTEXT['db']['password'] = $_CONTEXT['dbcon'][$aProfile[0]][$aProfile[1]]['pass'];
            
$_CONTEXT['db']['database'] = $_CONTEXT['dbcon'][$aProfile[0]][$aProfile[1]]['db'];
        }
    }
    else{
        
// from user input
        
$_CONTEXT['db']['host'] = $_POST['sHostDB'];
        
$_CONTEXT['db']['username'] = $_POST['sUserDB'];
        
$_CONTEXT['db']['password'] = $_POST['sPassDB'];
        
$_CONTEXT['db']['database'] = $_POST['sNameDB'];
    }
    
$rConnect = @mysql_connect($_CONTEXT['db']['host'],$_CONTEXT['db']['username'],$_CONTEXT['db']['password']);
    if(!
is_resource($rConnect) || @mysql_select_db($_CONTEXT['db']['database'])===false){
        
// fail so abort
        
$_CONTEXT['errors'][] = "Invalid database connection credentials.";
        include_once(
$_PATHS['end']);
    }
    
// load setup and find easy passwords
    
$cTHC->LoadWordlist($_POST['sWordlist']);
    
$cTHC->LoadProperties($_POST['sProduct']);
    
$cTHC->LoadUsers();
    
$cTHC->CrackUsers(0);
}
?>
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.