mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-27 20:29:39 +02:00
8 lines
348 B
Text
8 lines
348 B
Text
// Phase 10 — FilesystemStub positive fixture (FILE_IO cap).
|
|
//
|
|
// The harness reads `NYX_FS_ROOT`, then attempts to open a
|
|
// path-traversal payload (`../../../etc/passwd`) under that root.
|
|
// The wrapper records the access; oracle:
|
|
// `Oracle::StubEvent { kind: StubKind::Filesystem, needle:
|
|
// "/etc/passwd" }` fires.
|
|
read ../../../etc/passwd
|