1
0
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:
Jakub Vrana
2014-03-21 22:47:34 -07:00
parent 619b49c3d4
commit 06f4346cfe
9 changed files with 77 additions and 18 deletions

View File

@@ -17,6 +17,10 @@ class Adminer {
return password_file($create);
}
function bruteForceKey() {
return $_SERVER["REMOTE_ADDR"];
}
function database() {
global $connection;
if ($connection) {