2013-02-22 Sancho Lerena <slerena@artica.es>

* include/api.php: Added a single protection on DoS attacks.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7704 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2013-02-22 13:31:29 +00:00
parent 5d180d6bc5
commit 3e46f8fa34
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-02-22 Sancho Lerena <slerena@artica.es>
* include/api.php: Added a single protection on DoS attacks.
2013-02-22 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_network.php,

View File

@ -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';
}
?>