视频教程和更多福利在我主页简介或专栏里
(不懂都可以来问我 专栏找我哦)
更多文章分享:Track 安全社区 — 掌控安全在线教育- Track 知识社区 - 掌控安全在线教育 - Powered by 掌控者
Fingers:app="Ollama" && is_domain=false
根据Ollma官方接口可知
GET /api/tags HTTP/1.1
Host: 127.0.0.1
只需借助测绘,通过脚本提取对应model以及quantization_level即可
id: OllmaDS-informatin-schema
info:
name: OllmaDS-informatin-schema
author: xxx
severity: info
description: description
reference:
- 127.0.0.1
metadata:
fofa-query: ""
tags: ollma
http:
- method: GET
path:
- "{{BaseURL}}/api/tags"
extractors:
- type: json
part: body
json:
- '.models[] | {model: .model, quantization_level: .details.quantization_level}'
id: OllmaDS-b
info:
name: OllmaDS-b
author: xxx
severity: info
description: description
reference:
- 127.0.0.1
metadata:
fofa-query: ""
tags: ollma
http:
- method: GET
path:
- "{{BaseURL}}/api/tags"
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'contains_any(body,"671b")'
id: OllmaDS-F
info:
name: OllmaDS-F
author: xxx
severity: info
description: description
reference:
- 127.0.0.1
metadata:
fofa-query: ""
tags: ollma
http:
- method: GET
path:
- "{{BaseURL}}/api/tags"
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'contains_any(body,"F32")'
可根据自身需求,自行修改上述脚本。方便进一步调用,我们可以使用LLM或其他开源工具即可。这里以ollama-web-management为例
Ref:https://github.com/lemonit-eric-mao/ollama-web-management
下载脚本,本地启动对应服务。
WebUI访问:http://127.0.0.1:11345/frontend/index/index.html
在此输入服务端调用地址:
实测速度慢很多,当然也可以用其他在线或开源工具调用。
视频教程和更多福利在我主页简介或专栏里
(不懂都可以来问我 专栏找我哦)
申明:本账号所分享内容仅用于网络安全技术讨论,切勿用于违法途径,所有渗透都需获取授权,违者后果自行承担,与本号及作者无关