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

45 lines
1.0 KiB
YAML

id: hp-color-laserjet-detect
info:
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:
verified: true
shodan-query: http.title:"HP Color LaserJet"
google-query: intitle:"HP Color LaserJet"
tags: iot,hp
requests:
- method: GET
path:
- "{{BaseURL}}"
- "{{BaseURL}}/hp/device/this.LCDispatcher"
stop-at-first-match: true
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- "HP Color LaserJet"
- '<td class="mastheadTitle"><h1>HP Color LaserJet'
- '<strong class="product">HP Color LaserJet'
- '<a href="info_deviceStatus.html?'
condition: or
- type: status
status:
- 200
extractors:
- type: regex
group: 1
regex:
- '<td class="mastheadTitle"><h1>HP Color LaserJet (.+)<\/h1><\/td>'