Skip to content

Commit ed00f54

Browse files
committed
show php version
1 parent 4aa0c38 commit ed00f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vulnerabilities/fi/include.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
$WarningHtml .= "<div class=\"warning\">The PHP function <em>allow_url_fopen</em> is not enabled.</div>";
1010
}
1111

12-
1312
$page[ 'body' ] .= "
1413
<div class=\"body_padded\">
1514
<h1>Vulnerability: File Inclusion</h1>
1615
1716
<p class='notice'>This lab relies on the PHP <code>include</code> and <code>require</code> functions being able to include content from remote hosts. As this is a security risk, PHP have deprecated this in version 7.4 and it will be removed completely in a future version. If this lab is not working correctly for you, check your PHP version and roll back to version 7.4 if you are on a newer version which has lost the feature.</p>
17+
<p class='notice'>You are running PHP version: " . phpversion() . "
1818
<p><a href='https://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-include'>PHP Announcement</a></p>
1919
2020
{$WarningHtml}

0 commit comments

Comments
 (0)