Skip to content

Commit

Permalink
Block OpenWRT hack attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed May 1, 2024
1 parent 04a1414 commit b6d828d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sniff2ban.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* sniff2ban.c: Scan for intrusions
*
* Copyright (C) 2009-2023 Nigel Horne, [email protected]
* Copyright (C) 2009-2024 Nigel Horne, [email protected]
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
Expand Down Expand Up @@ -293,6 +293,8 @@ static const char *http_probes[] = {
"/${jndi:ldap://",
"GET /wp-includes/id3/license.txt/wp/wp-includes/wlwmanifest.xml",
"GET /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php",
/* OpenWRT hack */
"GET /cgi-bin/luci/;stok=/locale?form=country&operation=write&country",
NULL
};
static size_t *http_probelens;
Expand Down

0 comments on commit b6d828d

Please sign in to comment.