Closed x42en closed 3 years ago
Hi, thank you for your PR but I do not think it is a smart idea to exclude that path in a generic way for all find calls. Actually not even for only the .htaccess
call. It is unusual that a python package includes .htpasswd
files and probably fail2ban
shouldn't do it, however I think it is a good idea to check for their existence, specially under python's site-packages
, as it can lead to find some default credentials for packages in use or even some credentials that were left there by mistake. The python packages might be custom packages installed with pip
.
Hi,
It seems failban embbed some .htpasswd in their tests, it could be the same for multiple python projects, so I suggest an exclusion of all the python's dist-packages.