Skip to content

PHP - 26 bytes #69

@mebeim

Description

@mebeim
---BEGIN BGGPx---
Submit Date: 2024-06-26
BGGP Challenge Number: 5
Author: mebeim
Contact Info (Optional): 
Online Presence (Website/Social Media): https://mebeim.net
Target File Type: PHP
File Size: 26 bytes
SHA256 Hash: d9e9a19ab73b411259425fb0c200aaf01c793355a1f9e904cfa0b6ec6b8ad3f8
Target Environment (How do we run the file?): Needs `allow_url_include=1` in `php.ini`. Sample setup: `docker run --rm php:7 bash`, then in the Docker shell run `echo 'allow_url_include=1' > /usr/local/etc/php/php.ini`. Tested with PHP 7.4.33 and 8.3.8.
Any additional info?: The file must be inside the absolute directory path `/binary.golf/5/5` and can have any name. Example: `mkdir -p /binary.golf/5/5`, then save to `/binary.golf/5/5/x.php` and run `php /binary.golf/5/5/x.php` or alternatively `cd /binary.golf/5/5; php x.php`.
Link to PoC video, screenshot, or console output, if any:
Link to writeup, if any:
File contents (base64 encoded please): PD9pbmNsdWRlImh0dHA6LyIuX19ESVJfXzs=
---END BGGPx---

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions