mirror of
https://github.com/vrana/adminer.git
synced 2025-08-21 13:51:33 +02:00
Prevent against brute force login attempts from the same IP address
This commit is contained in:
@@ -17,6 +17,10 @@ class Adminer {
|
||||
return password_file($create);
|
||||
}
|
||||
|
||||
function bruteForceKey() {
|
||||
return $_SERVER["REMOTE_ADDR"];
|
||||
}
|
||||
|
||||
function database() {
|
||||
global $connection;
|
||||
if ($connection) {
|
||||
|
Reference in New Issue
Block a user