id: lansweeper-login

info:
  name: Lansweeper Login Panel - Detect
  author: divya_mudgal
  severity: info
  description: Lansweeper login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:lansweeper:lansweeper:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: lansweeper
    product: lansweeper
    shodan-query:
      - title:"Lansweeper - Login"
      - http.title:"lansweeper - login"
    fofa-query: title="lansweeper - login"
    google-query: intitle:"lansweeper - login"
  tags: lansweeper,tech,panel

http:
  - method: GET
    path:
      - "{{BaseURL}}/login.aspx"

    matchers-condition: and
    matchers:
      - type: word
        name: login
        words:
          - "Lansweeper - Login"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '"\/js\/CustomControls\.js\?([0-9.]+)" type="text\/javascript"'
# digest: 490a0046304402207555a16e23e26fea2ae00f5f6d4cf4dc5d302c963074b89251e5623a292e27bc02202ebaed21d92624de69f3cbe4ec60ee9150477e7a25516e15786a380f6cb7d0a8:922c64590222798bb761d5b6d8e72950