diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 35055ebd01..9ee947efbf 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2013-02-22 Sancho Lerena + + * include/api.php: Added a single protection on DoS attacks. + 2013-02-22 Ramon Novoa * godmode/agentes/module_manager_editor_network.php, diff --git a/pandora_console/include/api.php b/pandora_console/include/api.php index 202427e293..01f5b63bbe 100644 --- a/pandora_console/include/api.php +++ b/pandora_console/include/api.php @@ -106,6 +106,9 @@ if ($correctLogin) { } else { db_pandora_audit("API access Failed", $no_login_msg, $user, $ipOrigin); + sleep (15); + + //Protection on DoS attacks echo 'auth error'; } ?>