nyx/tests/dynamic_fixtures/php/cmdi_adversarial.php

13 lines
419 B
PHP
Raw Permalink Normal View History

2026-06-05 10:16:30 -05:00
<?php
// Command injection — adversarial collision fixture.
// Prints NYX_PWN_791_CMDI unconditionally without reaching a command sink
// and without emitting __NYX_SINK_HIT__.
// Expected verdict: Inconclusive(OracleCollisionSuspected)
// Entry: runPing($host) Cap: CODE_EXEC
function runPing($host) {
// Coincidental oracle match — not a shell sink.
echo "NYX_PWN_791_CMDI\n";
$x = strlen($host);
}