diff --git a/daemon_get.py b/daemon_get.py index c44428c2a..d91003fe7 100644 --- a/daemon_get.py +++ b/daemon_get.py @@ -272,7 +272,7 @@ def daemon_http_get(self) -> None: # php if 'index.php' in self.path: print('GET HTTP Attempt to access PHP file ' + self.path) - http_404(self) + http_404(self, 145) return if contains_invalid_chars(str(self.headers)): diff --git a/daemon_post.py b/daemon_post.py index bc7f342a4..35e78fff0 100644 --- a/daemon_post.py +++ b/daemon_post.py @@ -109,7 +109,7 @@ def daemon_http_post(self) -> None: # php if 'index.php' in self.path: print('POST HTTP Attempt to access PHP file ' + self.path) - http_404(self) + http_404(self, 146) return calling_domain = self.server.domain_full