random gallery image
random tutorial
preview

..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 function. what we..

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
/* Creates realtime dork selection menu

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 28-03-2015
*/
session_cache_limiter('nocache');
header('Expires: '.gmdate('r',0));
header('Content-type: application/json');
$_DYNAMIC_ROOT "../..";
include_once(
"../../header.php");
$aDataR = array();
include_once(
$_PATHS['includes_root']."/dorkssqlhandler.php");
$aDataR['jselect'] = (isset($_CONTEXT['dselect']) ? $_CONTEXT['dselect'] : "<i>no dorks present</i>");
if(isset(
$_POST['iMode'])){
    
// only interested in the stored dorks
    
if($_POST['iMode']==1){
        
$aDataR['jselect'] = "<input type=\"text\" name=\"sDork\" value=\"\" />";
    }
    die(
json_encode($aDataR));
}
// dork selection menu
$aDataR['jdorkmodeselect'] = "<select name=\"iMode\" class=\"dorkmode\">";
$aDataR['jdorkmodeselect'] .= "<option value=\"-1\" selected=\"selected\">choose type of dorking</option>";
$aDataR['jdorkmodeselect'] .= "<option value=\"0\">select from list</option>";
$aDataR['jdorkmodeselect'] .= "<option value=\"1\">insert manually</option>";
$aDataR['jdorkmodeselect'] .= "</select>";
// amount of dork selection menu
$aDataR['jdorkamountselect'] = "<select name=\"iAmount\" class=\"dorkamount\">";
$aDataR['jdorkamountselect'] .= "<option value=\"-1\">amount of dorks</option>";
$aDataR['jdorkamountselect'] .= "<option value=\"1\">1</option>";
$aDataR['jdorkamountselect'] .= "<option value=\"5\">5</option>";
for(
$x=10;$x<110;$x+=10){
    
$aDataR['jdorkamountselect'] .= "<option value=\"".$x."\">".$x."</option>";
}
$aDataR['jdorkamountselect'] .= "</select>";
// save dork properties menu
$aDataR['jdorksaveselect'] = "<select name=\"iSave\" class=\"dorksave\">";
$aDataR['jdorksaveselect'] .= "<option value=\"-1\" selected=\"selected\">dork saving options</option>";
$aDataR['jdorksaveselect'] .= "<option value=\"0\">save results</option>";
$aDataR['jdorksaveselect'] .= "<option value=\"1\">save dork and results</option>";
$aDataR['jdorksaveselect'] .= "</select>";
echo 
json_encode($aDataR);
?>
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.