id: api-intelx

info:
  name: Intelligence X API Test
  author: 0ri2N
  severity: info
  description: |
    Intelligence X is a search engine and data archive. Search Tor, I2P, data leaks and the public web by email, domain, IP, CIDR, Bitcoin address and more.
  reference:
    - https://intelx.io
    - https://github.com/IntelligenceX/SDK
    - https://github.com/IntelligenceX/SDK/blob/master/Intelligence%20X%20API.pdf
    - https://intelx.io/account?tab=developer
  metadata:
    max-request: 1
  tags: scan,recon,intelx,token-spray

self-contained: true

http:
  - method: GET
    path:
      - https://2.intelx.io/authenticate/info

    headers:
      X-Key: "{{token}}"
      User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2656.18 Safari/537.36
    matchers:
      - type: word
        part: body
        words:
          - 'added'
          - 'preview'
          - 'buckets'
        condition: and
# digest: 4a0a0047304502204a8f2ffa29442933e92e99a4ece233a97f572842677891455b7d27bdcc30aba3022100a56ff74eb64715baf8556fa2c87e42c8b2b4826523cdc35ba51991edabec94e2:922c64590222798bb761d5b6d8e72950