mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Fixed a vulnerability in the setup.php file and other code cleanups. Thanks to the person that wishes to remain anonymous for reporting and providing a patch Also added a notice to readme to not use this web app during beta for production use
This commit is contained in:
@@ -281,10 +281,10 @@ function formatPhoneNumber($phoneNumber) {
|
||||
return $phoneNumber;
|
||||
}
|
||||
|
||||
//SESSION FINGERPRINT Removed Breaking Setup.php 2021-12-22
|
||||
//$session_ip = strip_tags(mysqli_real_escape_string($mysqli,get_ip()));
|
||||
//$session_os = strip_tags(mysqli_real_escape_string($mysqli,get_os()));
|
||||
//$session_browser = strip_tags(mysqli_real_escape_string($mysqli,get_web_browser()));
|
||||
//$session_device = strip_tags(mysqli_real_escape_string($mysqli,get_device()));
|
||||
function mkdir_missing($dir) {
|
||||
if (!is_dir($dir)) {
|
||||
mkdir($dir);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user