Skip to content

建议:命令执行链增加选项支持自定义执行终端(非固定 /bin/sh、cmd.exe) #32

@ViCrack

Description

@ViCrack

当前命令执行链默认使用:
Linux: new String[]{"/bin/sh", "-c", cmd}
Windows: new String[]{"cmd.exe", "/c", cmd}
在部分环境可能会出现 “Cannot run program 'cmd.exe'” 等问题,终端不一定存在和有权限执行,而其他的命令是可能可以执行。

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions