Files
geedge-jira/md/OMPUB-1353.md
2025-09-14 21:52:36 +00:00

63 lines
1.3 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 业主有关为Self-defined Attribute功能提供样例脚本的需求
| ID | Creation Date | Assignee | Status |
|----|----------------|----------|--------|
| OMPUB-1353 | 2024-07-04T19:54:26.000+0800 | 杨威 | 完成 |
---
业主希望通过我们提供一个lua样例脚本之后来自行编辑该脚本实现Self-defined Attribute的功能。
建议为业主提供一个lua样例脚本
1.该脚本仅能提取某个常见协议的12个字段。
2.运行时不会对生产环境产生较大的负载。
该样例给出后会告知运行脚本后引入的风险和产生的后果。
**fengweihao** commented on *2024-07-10T15:18:02.787+0800*:
Lua脚本功能
* 从数据包中根据特征提取QQ号
使用方式:
* 上传Lua脚本
!image-2024-07-10-15-11-46-817.png|width=467,height=325!
* 创建自定义特征
            !image-2024-07-10-15-13-02-831.png|width=457,height=313!
* 创建自定义APP
!image-2024-07-10-15-15-09-322.png|width=457,height=328!
* 查看命中结果:
        !image-2024-07-10-15-17-31-258.png|width=476,height=227!
---
## Attachments
**59885/extract_qq_id.lua**
---
**59887/image-2024-07-10-15-11-46-817.png**
---
**59890/image-2024-07-10-15-13-02-831.png**
---
**59891/image-2024-07-10-15-15-09-322.png**
---
**59893/image-2024-07-10-15-17-31-258.png**
---