Update api-google-drive.yaml (#4520)

This template is meant to be used like so:

`nuclei -t token-spray/api-google-drive.yaml -var token=google_api_key -var referer=https://www.hostname_where_google_api_key_was_found.com`

The way the template was edited to include `Referer: {{BaseURL}}` won't work because it adds `Referer: www.googleapis.com` which results in an ipRefererBlocked error from Google. 

If you can't define the referer, this template is useless and should be deleted. So please accept this change back to my original vision of this template. Thank you.
patch-1
geeknik 2022-06-01 19:04:52 +00:00 committed by GitHub
parent f35f1faddf
commit 901777921c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ requests:
- raw: - raw:
- | - |
GET https://www.googleapis.com/drive/v3/files/{{randstr}}.txt/%3fkey={{token}}&supportsAllDrives=true HTTP/1.1 GET https://www.googleapis.com/drive/v3/files/{{randstr}}.txt/%3fkey={{token}}&supportsAllDrives=true HTTP/1.1
Referer: {{BaseURL}} Referer: {{referer}}
Content-Type:application/json Content-Type:application/json
matchers: matchers: