mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
7 lines
163 B
JavaScript
7 lines
163 B
JavaScript
const { exec } = require('child_process');
|
|||
|
|||
function handle_request(req) {
|
|||
// No auth check — should trigger state-unauthed-access
|
|||
exec(req.body.cmd);
|
|||
}
|