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

49 lines
1.2 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
max-request: 2
shodan-query: http.title:"HP Color LaserJet"
google-query: intitle:"HP Color LaserJet"
tags: iot,hp
http:
- 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>'
# digest: 490a004630440220451f07c67fecba072fedcdfd3fd6517153311e5f360ea2efee91bd0404bc8c0e022023e00f2ca1cdef002b63b0f89c78299a208136344c9cf47492e0ca8ad29948f3:922c64590222798bb761d5b6d8e72950