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 vulnerability assesment
THC AntiEvil

Attempts to find suspicious and evil files or code

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
/* Filters out exploits

Filters some common exploits like xss,lfi and sqli from a string.

PARAMETERS:
$sString: text string
$bXSS: filters xss
$bFI: filters file injections
$bSQL: filters sql injections

RETURNS:
STRING: filtered data

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

function ExploitFilter($sString,$bXSS=false,$bFI=false,$bSQL=false){
    if(
$bXSS==false && $bFI==false && $bSQL==false){
        return(
$sString);
    }
    if(!
is_string($sString)){
        return(
$sString);
    }
    if(
$bXSS){
        
$sString strip_tags($sString);
    }
    if(
$bFI){
        
$sString str_replace("../","",$sString);
        
$sString str_replace("./","",$sString);
        
$sString preg_replace('[^a-zA-Z0-9\-_\.\/ ]','',$sString);
    }
    if(
$bSQL){
        
$sString mysql_real_escape_string($sString);
    }
    return(
$sString);
}
?>
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 3921
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.