79454336

Date: 2025-02-20 11:32:18
Score: 1
Natty:
Report link

Instead of running the command directly, wrap it in cmd /C

exec('cmd /C ver 2>&1', $out, $code);

or you can try escaping it

exec('ver ^2^>^&1', $out, $code);

or try

try shell_exec()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nomaan Valsadwala