403Webshell
Server IP : 10.200.247.200  /  Your IP : 216.73.217.19
Web Server : Apache
System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64
User : jeremy ( 1001)
PHP Version : 8.4.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/usa_sites/governmentgrants.us/vx/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/usa_sites/governmentgrants.us/vx/lib/sanitize.php
<?php
	session_start();
	if(!function_exists('sanitize_user_input')) {
		function sanitize_user_input($input) {
			if (is_array($input)) {
				foreach($input as $var=>$val) {
					$output[$var] = sanitize_user_input($val);
				}
			}
			else {
			   $output = clean_user_input($input);
			}
			return $output;
		}
	}
	
	if(!function_exists('clean_user_input')) {
		function clean_user_input($input) {
			$output = str_replace("\0",'', $input);
			$output = str_replace('script','div',$output);
			$output = strip_tags($output);
			$output = htmlspecialchars($output);
			$output = addslashes($output);
			$output = str_replace('.js','js',$output);
			return $output;
		}
	}
	
	if(!empty($_GET)) {
		$_GET = sanitize_user_input($_GET);
	}
	if(!empty($_POST)) {
		$_POST = sanitize_user_input($_POST);
	}
	if(!empty($_REQUEST)) {
		$_REQUEST = sanitize_user_input($_REQUEST);
	}
	if(!empty($_SESSION)) {
		$_SESSION = sanitize_user_input($_SESSION);
	}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit