mirror of https://gitlab.com/bashrc2/epicyon
Reject all php requests
parent
fc556850fe
commit
d37fcf9e2f
|
@ -117,7 +117,7 @@ def daemon_http_post(self) -> None:
|
||||||
return
|
return
|
||||||
|
|
||||||
# php
|
# php
|
||||||
if 'index.php' in self.path:
|
if self.path.endswith('.php'):
|
||||||
print('POST HTTP Attempt to access PHP file ' + self.path)
|
print('POST HTTP Attempt to access PHP file ' + self.path)
|
||||||
http_404(self, 146)
|
http_404(self, 146)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue