From 62b192c21793b8426e9ace0ad5fc4436192f99fc Mon Sep 17 00:00:00 2001 From: CPol Date: Sun, 12 May 2024 19:49:11 +0000 Subject: [PATCH] GITBOOK-4336: No subject --- .../pentesting-web/php-tricks-esp/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/network-services-pentesting/pentesting-web/php-tricks-esp/README.md b/network-services-pentesting/pentesting-web/php-tricks-esp/README.md index 340cc9151..6fb0ac368 100644 --- a/network-services-pentesting/pentesting-web/php-tricks-esp/README.md +++ b/network-services-pentesting/pentesting-web/php-tricks-esp/README.md @@ -210,6 +210,20 @@ True ### HTTP headers bypass abusing PHP errors +#### Causing error after setting headers + +From [**this twitter thread**](https://twitter.com/pilvar222/status/1784618120902005070?t=xYn7KdyIvnNOlkVaGbgL6A\&s=19) you can see that sending more than 1000 GET params or 1000 POST params or 20 files, PHOP is not going to be setting headers in the response. + +Allowing to bypass for example CSP headers being set in codes like: + +```php +