.:: :[ AK-74 Security Team Web-shell ]: ::.
phpinfo()
PHP
<?php include("include/config.php"); include("include/connect.php"); include("include/function.php"); header("Content-Type: text/html; charset=utf-8"); if ($_SESSION['s_member_id'] == '') { ?> <script language="javascript"> alert('คุณยังไม่ได้ Login เข้าสู่ระบบ'); window.location = '<?php echo $configMyFileFirstPage?>'; </script> <?php exit(); } // end if $sql = " SELECT member_post_id, rank FROM member_post WHERE member_id = '".$_SESSION['s_member_id']."' "; $query = sql_query($sql); if (sql_num_rows($query) == 0) { ?> <script type="text/javascript"> alert('คุณยังไม่ได้โพสต์ข้อความ'); window.location = '<?php echo $configMyFileFirstPage?>'; </script> <?php exit(); } // end if (sql_num_rows($query) == 0) { $rec = sql_fetch_array($query); /*// update rank ที่มากกว่าลงมา 1 $sql = " UPDATE member_post SET rank = (rank - 1) WHERE rank > " . $rec['rank'] . " "; sql_query($sql);*/ $sql = "DELETE FROM member_post WHERE member_id = '".$_SESSION['s_member_id']."'"; sql_query($sql); saveQtyMember(''); // บันทึกวันทีลบข้อมูล $sql = " INSERT INTO delete_post(member_id, delete_date) VALUES('" . $_SESSION['s_member_id'] . "', '" . @date("Y-m-d H:i:s") . "') "; sql_query($sql); ?> <script language="javascript"> alert('ลบข้อมูลประกาศของท่าน เรียบร้อยแล้ว'); window.location = '<?php echo $configMyFileFirstPage?>'; </script>
Rename:
-