403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.129.250.144
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/khowordpress.com/wp-content/plugins/duplicator-pro/tools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/khowordpress.com/wp-content/plugins/duplicator-pro/tools/db-test.php
<?php
defined("ABSPATH") or die("");
/* 
Use this script to test a database connection on your server.
When the installer tries to connect to the database it does so with a very simple PHP function mysqli_connect. If you believe all the parameters your
entering in the installer are correct, you can validate them by adding this file in the same directory as the installer the follow these steps:

1. Fill out the parameters below to match your enviroment
2. Open this file in a web browser http://yoursite.com/db-test.php
3. A status message will return if the values are correct
*/
	
$link = mysqli_connect("127.0.0.1", "my_user", "my_password", "my_db");

if (!$link) {
    echo "Error: Unable to connect to MySQL." . PHP_EOL;
    echo "Debugging errno: " . mysqli_connect_errno() . PHP_EOL;
    echo "Debugging error: " . mysqli_connect_error() . PHP_EOL;
    exit;
}

echo "Success: A proper connection to MySQL was made! The my_db database is great." . PHP_EOL;
echo "Host information: " . mysqli_get_host_info($link) . PHP_EOL;

mysqli_close($link);
?>

Youez - 2016 - github.com/yon3zu
LinuXploit