id: elastic-beanstalk-detect

info:
  name: AWS Elastic Beanstalk Detect
  author: pussycat0x
  severity: info
  metadata:
    max-request: 1
  tags: aws,tech,beanstalk

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<li><a href="http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/Welcome.html">AWS Elastic Beanstalk overview</a></li>'
          - '<li><a href="http://docs.amazonwebservices.com/elasticbeanstalk/latest/dg/">AWS Elastic Beanstalk overview</a></li>'
        condition: or

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<title>([A-Za-z -]+)<\/title>'
# digest: 4a0a0047304502205aec212f17e3b245c3132f797628c839834e9f6007af467a5d2fcea125d7737c022100808dda4989bda17f37fbe877608088fbed900650fb0363496ce4b088d0bc0349:922c64590222798bb761d5b6d8e72950