403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/store.tiacyrusxxx.com/public_html/dev/TSCP2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/store.tiacyrusxxx.com/public_html/dev/TSCP2/interview_qa_delete.php
<?
include 'config.php';
dbConn();

if (isset($_POST['post'])) {


$id = $_POST['id'];
$section = $_POST['section'];
$interview_id = $_POST['interview_id'];

$query = "DELETE from cms_interviews_qa where question_id = " . $id;
$result = mysql_query($query); 
printf("<meta http-equiv=\"Refresh\" content=\"0;url=./interview_qa_list.php?section=".$section."&id=".$interview_id."\">");


}  else {


if (!isset($_GET['interview_id'])) {
die("no interview_id");
}
$interview_id = $_GET['interview_id'];

if (!isset($_GET['id'])) {
die("no id");
}
$id = $_GET['id'];

if (!isset($_GET['section'])) {
die("no section");
}
$section = $_GET['section'];

$query = "SELECT * from cms_interviews_qa where question_id = '$id'";
$result = @mysql_query($query); 
if (!$result) { 
 die('Error'); 
}

while ( $row = mysql_fetch_array($result) ) { 
?>
<table width="800" border="0" align="center" cellpadding="5" cellspacing="10">
	<tr>
		<td bgcolor="#CCCCCC" class="bold-14px">Delete Question</td>
	</tr>
	<tr>
		<td bgcolor="#F2F2F2"><div align="center">
<div class="bold-14px">Are you sure you want to delete:</div><br>
<span class="bold-12px">question:</span> <?=stripslashes($row['question'])?><br /><br />
<br /><br />
<form action="interview_qa_delete.php" method="POST">
<input type="hidden" name="id" value="<?=$id?>">
<input type="hidden" name="interview_id" value="<?=$interview_id?>">
        <input type="hidden" name="section" value="<?=$section?>">
<input name="post" type="submit" value="Delete" class="grey"></form>

</div></td></tr></table>
<?
}


}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit