Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
bruneo32 authored Mar 16, 2021
1 parent 3288104 commit 5a349e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/100.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$hn=$h;

if(!$_CONFIG["allow_localhost"]){
if($h == "localhost"){die("For security reasons, conections to 'localhost' are bloqued. Learn more about localhost <a href=\"../doc/localhost.html\">here</a>.<br><br><a href='../login'>Return</a>");}
if($h=="localhost" || $h=="127.0.0.1" || $h=="::1"){die("For security reasons, conections to 'localhost' are bloqued. Learn more about localhost <a href=\"../doc/localhost.html\">here</a>.<br><br><a href='../login'>Return</a>");}
}
$u=$_REQUEST["u"];

Expand Down

0 comments on commit 5a349e1

Please sign in to comment.