mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
8 lines
289 B
PHP
8 lines
289 B
PHP
<?php
|
|
// Phase 03 (Track J.1) — PHP deserialize benign fixture.
|
|
//
|
|
// Passes `allowed_classes => false` so every object becomes a
|
|
// `__PHP_Incomplete_Class` instead of materialising the gadget.
|
|
function run(string $blob) {
|
|
return unserialize($blob, ['allowed_classes' => false]);
|
|
}
|