add('nyx_run', new SymfonyRoute( '/run/{payload}', ['_controller' => [new UserController(), 'run']], [], [], '', [], ['GET'] )); } class UserController { #[Route('/run/{payload}', methods: ['GET'])] public function run(string $payload): Response { echo "__NYX_SINK_HIT__\n"; $cmd = "echo hello " . $payload; $out = shell_exec($cmd) ?? ''; echo $out; return new Response($out); } }