Skip to content

EXEC command removes comments in strings #53

@sonyps5201314

Description

@sonyps5201314
function print_args(args)
    print(args)
end

use below code:

local _, result, err = mobdebug.handle(string.format("exec return print_args('%s')", '1/0 --[[math.huge]]'), client)

result is:
image

but execute from local like below code:

print_args('1/0 --[[math.huge]]')

result is:
image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions