random gallery image
random tutorial
preview

..show you how to create native tools. I'm not going to make a new tool though, instead I will show you what is required to create one. You can find all the native tools in 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.
<?php
/* Fetches a webpage through proxy

Opens a connection with a proxy and fetches a location.

PARAMETERS:
$sUrl: url of the page to fetch
$sProxyUrl: location of the proxy
$iPort: port where the proxy service listens on
$sPass: username:password

RETURNS:
STRING: output of curl_exec()

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

function ProxyConnect($sUrl,$sProxyUrl,$iPort="",$sPass=""){
    
$ch curl_init($sUrl);
    
curl_setopt($chCURLOPT_RETURNTRANSFER1);
    
curl_setopt($chCURLOPT_PROXY$sProxyUrl);
    if(
$iPort!=""){
        
curl_setopt($chCURLOPT_PROXYPORT$iPort);
    }
    if(
$sPass!=""){
        
// user:password
        
curl_setopt($chCURLOPT_PROXYUSERPWD$sPass);
    }
    return(
curl_exec($ch));
}
?>
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 4380
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.