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 files18
sharathc213/cve-2023-7172Revision 5fca5ab89bf5

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

src/hms/doctor/check_availability.php

PHP · 527 bytes
<?php 
require_once("include/config.php");
if(!empty($_POST["email"])) {
	$email= $_POST["email"];
$result =mysqli_query($con,"SELECT PatientEmail FROM tblpatient WHERE PatientEmail='$email'");
$count=mysqli_num_rows($result);
if($count>0)
{
echo "<span style='color:red'> Email already exists .</span>";
 echo "<script>$('#submit').prop('disabled',true);</script>";
} else{
	
	echo "<span style='color:green'> Email available for Registration .</span>";
 echo "<script>$('#submit').prop('disabled',false);</script>";
}
}


?>