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 id: hp-color-laserjet-detect
info: info:
name: HP Color LaserJet detection name: HP Color LaserJet Detection
author: idealphase,gy741 author: idealphase,gy741
severity: info severity: info
reference: reference:
- http://www.hp.com/ - http://www.hp.com/
- https://www.hp.com/us-en/shop/cv/printers - https://www.hp.com/us-en/shop/cv/printers
metadata: metadata:
verified: true
shodan-query: http.title:"HP Color LaserJet" shodan-query: http.title:"HP Color LaserJet"
google-query: intitle:"HP Color LaserJet" google-query: intitle:"HP Color LaserJet"
tags: iot,hp tags: iot,hp
@ -16,15 +17,21 @@ requests:
- method: GET - method: GET
path: path:
- "{{BaseURL}}" - "{{BaseURL}}"
- "{{BaseURL}}/hp/device/this.LCDispatcher"
stop-at-first-match: true
redirects: true
max-redirects: 2
matchers-condition: and matchers-condition: and
matchers: matchers:
- type: word - type: word
part: body part: body
words: words:
- "<title>HP Color LaserJet" - "HP Color LaserJet"
- '<td class="mastheadTitle"><h1>HP Color LaserJet' - '<td class="mastheadTitle"><h1>HP Color LaserJet'
- '<strong class="product">HP Color LaserJet' - '<strong class="product">HP Color LaserJet'
- '<a href="info_deviceStatus.html?'
condition: or
- type: status - type: status
status: status: