Skip to content

[请求适配] 命令执行链增加选项支持自定义执行终端(非固定 /bin/sh、cmd.exe) #115

@ViCrack

Description

@ViCrack

适配范围

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

相关资料

可考虑在探测马和内存马command处增加可选参数支持

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions