Merge pull request #5482 from gy741/rule-add-v125

Update hp-color-laserjet-detect.yaml
patch-1
Prince Chaddha 2022-10-01 13:37:35 +05:30 committed by GitHub
commit d69feb60c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 2 deletions

View File

@ -1,13 +1,14 @@
id: hp-color-laserjet-detect
info:
name: HP Color LaserJet detection
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
@ -16,15 +17,21 @@ 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:
- "<title>HP Color LaserJet"
- "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: