Skip to content

Commit

Permalink
Prevent more probes for /etc/passwd
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Oct 21, 2024
1 parent b6d828d commit da54982
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sniff2ban.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ static const char *http_probes[] = {
"GET /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php",
/* OpenWRT hack */
"GET /cgi-bin/luci/;stok=/locale?form=country&operation=write&country",
"..%252Fetc%252Fpasswd",
"GET /forum/viewforum.php?f=6&f=..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252Fetc%252Fpasswd",
NULL
};
static size_t *http_probelens;
Expand Down

0 comments on commit da54982

Please sign in to comment.