2022-05-27 04:35:41 +00:00
|
|
|
id: api-google-drive
|
2022-05-26 12:35:59 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Google Drive API Test
|
|
|
|
author: geeknik
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://developers.google.com/drive/api/guides/about-sdk
|
|
|
|
tags: token-spray,google,drive
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET https://www.googleapis.com/drive/v3/files/{{randstr}}.txt/%3fkey={{token}}&supportsAllDrives=true HTTP/1.1
|
2022-06-01 19:04:52 +00:00
|
|
|
Referer: {{referer}}
|
2022-05-26 12:35:59 +00:00
|
|
|
Content-Type:application/json
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'File not found: {{randstr}}.txt.'
|