nuclei-templates/iot/hp-color-laserjet-detect.yaml

45 lines
1.0 KiB
YAML
Raw Normal View History

id: hp-color-laserjet-detect
info:
2022-09-29 05:55:24 +00:00
name: HP Color LaserJet Detection
author: idealphase,gy741
severity: info
reference:
- http://www.hp.com/
- https://www.hp.com/us-en/shop/cv/printers
metadata:
2022-09-29 05:55:24 +00:00
verified: true
shodan-query: http.title:"HP Color LaserJet"
google-query: intitle:"HP Color LaserJet"
tags: iot,hp
requests:
- method: GET
path:
- "{{BaseURL}}"
2022-09-29 05:55:24 +00:00
- "{{BaseURL}}/hp/device/this.LCDispatcher"
2022-09-29 05:55:24 +00:00
stop-at-first-match: true
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-09-29 05:55:24 +00:00
- "HP Color LaserJet"
- '<td class="mastheadTitle"><h1>HP Color LaserJet'
- '<strong class="product">HP Color LaserJet'
- '<a href="info_deviceStatus.html?'
2022-09-29 05:55:24 +00:00
condition: or
- type: status
status:
- 200
extractors:
- type: regex
group: 1
regex:
- '<td class="mastheadTitle"><h1>HP Color LaserJet (.+)<\/h1><\/td>'