soxoj / maigret

🕵️‍♂️ Collect a dossier on a person by username from thousands of sites
https://t.me/osint_maigret_bot
MIT License
10.24k stars 793 forks source link

Add check username with ProtonMail API #497

Open cipher387 opened 2 years ago

cipher387 commented 2 years ago

https://account.protonmail.com/api/users/available?Name=ivanov

fen0s commented 2 years ago

for me it gives {"Code":5001,"Error":"Missing x-pm-appversion header","Details":{},"ErrorDescription":""} on any username, even existing ones what's x-pm-appversion and does it need any auth tokens?

cipher387 commented 2 years ago

ProtonMail сhecking was implemented in this tool (worked a couple of months ago) https://github.com/p1ngul1n0/blackbird/blob/main/data.json { "app": "ProtonMail", "headers": "{'X-Pm-Appversion': 'web-account@4.28.2','X-Pm-Appversion': 'web-account@4.28.2'}", "id": 64, "method": "GET", "url": "https://account.protonmail.com/api/users/available?Name={username}", "valid": "response.status == 409" },