Skip to content

[Bug] post/admin/api/workspace/default/tool接口导入一个.tool文件,然后抓包工具里修改文件后缀为.php,.php也能导入,看来maxkb后端没有文件格式校验 #4243

@qijingyu0727

Description

@qijingyu0727

Contact Information

[email protected]

MaxKB Version

2.2.1

Problem Description

post/admin/api/workspace/default/tool接口导入一个.tool文件,然后抓包工具里修改文件后缀为.php,也能正常导入,看来maxkb后端没有文件格式校验

485c22aac081629b27b6ad91cd6d3903.mp4

Steps to Reproduce

.

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions