Exploit database

GH-ab6f016c05641cff058636496df8c4e8

sharathc213/cve-2023-7172

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-7172

2 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files5
sharathc213/cve-2023-7172Revision 5fca5ab89bf5

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

src/hms/doctor/include/config.php

PHP · 303 bytes
<?php
define('DB_SERVER','mysql');
define('DB_USER','root');
define('DB_PASS' ,'test');
define('DB_NAME', 'hms');
$con = mysqli_connect(DB_SERVER,DB_USER,DB_PASS,DB_NAME);
// Check connection
if (mysqli_connect_errno())
{
 echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
?>