mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
12 lines
413 B
PHP
12 lines
413 B
PHP
<?php
|
|
// File I/O — adversarial collision fixture.
|
|
// Prints "root:" unconditionally without reading any file
|
|
// and without emitting __NYX_SINK_HIT__.
|
|
// Expected verdict: Inconclusive(OracleCollisionSuspected)
|
|
// Entry: runReadFile($userPath) Cap: FILE_IO
|
|
|
|
function runReadFile($userPath) {
|
|
// Coincidental oracle match — not a file read sink.
|
|
echo "root: present\n";
|
|
$x = strlen($userPath);
|
|
}
|