Google Drive API Test
ID: api-google-drive
Severity: info
Author: geeknik
Tags: token-spray,google,drive,intrusive
Description
Section titled “Description”YAML Source
Section titled “YAML Source”id: api-google-drive
info: name: Google Drive API Test author: geeknik severity: info reference: - https://developers.google.com/drive/api/guides/about-sdk metadata: max-request: 1 tags: token-spray,google,drive,intrusive
self-contained: true
http: - raw: - | GET https://www.googleapis.com/drive/v3/files/{{randstr}}.txt/%3fkey={{token}}&supportsAllDrives=true HTTP/1.1 Referer: {{referer}} Content-Type:application/json
matchers: - type: word part: body words: - 'File not found: {{randstr}}.txt.'# digest: 4b0a004830460221008488d997d3ca2d73e242a227f345c708a2b33b9c0f5d7ea70579454fb37c757e022100d2241091e26cf324e11ccdc9159e1d9eb05f2b2ce100c246e07f2aaf29cdaff2:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/token-spray/api-google-drive.yaml"