nyx/tests/dynamic_fixtures/php/ssrf_unsupported.php
2026-06-05 10:16:30 -05:00

13 lines
306 B
PHP

<?php
// SSRF — unsupported fixture.
// Entry is a class method; test sets confidence = Low.
// Expected verdict: Unsupported
class HttpClient {
public function fetch($url) {
$content = @file_get_contents($url);
if ($content !== false) {
echo $content;
}
}
}