nyx/tests/dynamic_fixtures/php/cmdi_unsupported.php

11 lines
227 B
PHP
Raw Normal View History

<?php
// Command injection — unsupported fixture.
// Entry is a class method; test sets confidence = Low.
// Expected verdict: Unsupported
class Runner {
public function execute($cmd) {
shell_exec($cmd);
}
}