nyx/tests/dynamic_fixtures/php/ssrf_unsupported.php

14 lines
306 B
PHP
Raw Permalink Normal View History

2026-06-05 10:16:30 -05:00
<?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;
}
}
}