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 files22
sharathc213/cve-2023-7172Revision 5fca5ab89bf5
- ↑..Parent directory
- admin/
- assets/
- doctor/
- include/
- master/
- vendor/
- appointment-history.php
- book-appointment.php
- change-emaild.php
- change-password.php
- check_availability.php
- checklogin.php
- dashboard.php
- edit-profile.php
- forgot-password.php
- get_doctor.php
- logout.php
- manage-medhistory.php
- registration.php
- reset-password.php
- user-login.php
- view-medhistory.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/hms/checklogin.php
PHP · 264 bytes<?php
function check_login()
{
if(strlen($_SESSION['login'])==0)
{
$host = $_SERVER['HTTP_HOST'];
$uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
$extra="../admin.php";
$_SESSION["login"]="";
header("Location: http://$host$uri/$extra");
}
}
?>