Exploit databaseDownload repository ZIP
GH-ab6f016c05641cff058636496df8c4e8
sharathc213/cve-2023-7172
Sources for CVE-2023-7172
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files18
sharathc213/cve-2023-7172Revision 5fca5ab89bf5
- ↑..Parent directory
- assets/
- include/
- master/
- vendor/
- add-patient.php
- appointment-history.php
- change-password.php
- check_availability.php
- dashboard.php
- edit-patient.php
- edit-profile.php
- forgot-password.php
- index.php
- logout.php
- manage-patient.php
- reset-password.php
- search.php
- view-patient.php
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>";
}
}
?>