Since it's using cmd_exec maybe it's also compatible with a meterpreter session, did you test?