id: totolink-installer

info:
  name: TOTOLINK Installer - Exposure
  author: ritikchaddha
  severity: high
  description: |
    Detects the presence of TOTOLINK router setup pages at /wizardset.htm and /easy_setup.htm.
  metadata:
    verified: true
    product: TOTOLINK
    shodan-query: title:"TOTOLINK"
    fofa-query: title="TOTOLINK"
  tags: totolink,router,setup,exposure,installer,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wizardset.htm"
      - "{{BaseURL}}/easy_setup.htm"

    stop-at-first-match: true
    matchers:
      - type: dsl
        dsl:
          - 'status_code==200'
          - 'contains(tolower(body), "totolink")'
          - 'contains_any(body, "SRC=\"easy_setup.htm", "value=\"Advanced Setup", "show_wapi_settings")'
        condition: and
# digest: 4a0a00473045022100c090a10f84162a8f09ae208c5d05fbc425aa6a03e762fb65e806b377e76b251f022049ba03f06c5ad7ef6d1f52419c865f58a718bae386c7376edfbda722c2e4f6ff:922c64590222798bb761d5b6d8e72950