Last active
July 27, 2024 15:13
-
-
Save puzzlepeaches/1107b0b9e0aa3a503f9416daf27483e8 to your computer and use it in GitHub Desktop.
Onedrive User Enumeration w/ Nuclei
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id: onedrive-user-enum | |
info: | |
name: Onedrive user enumeration | |
author: ed | |
severity: info | |
description: Enumerate users in the target tenant's onedrive using nyxgeeks technique | |
variables: | |
tenant: "acmecom" | |
http: | |
- method: GET | |
path: | |
- "https://{{tenant}}-my.sharepoint.com/personal/{{replace(user, '.', '_')}}_{{replace(Host, '.', '_')}}/_layouts/15/onedrive.aspx" | |
redirects: false | |
headers: | |
User-Agent: "curl/7.64.1" | |
Accept: "*/*" | |
Host: "{{tenant}}-my.sharepoint.com" | |
attack: batteringram | |
payloads: | |
user: test.txt | |
matchers-condition: or | |
matchers: | |
- type: status | |
status: | |
- 401 | |
- 403 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment