Br1in

CheckUserGmail

Apr 22nd, 2021 (edited)
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. import requests
  2. target = input('Enter User : ')
  3. headers = {
  4. "accept": "*/*",
  5. "accept-language": "en-US,en;q=0.9",
  6. "content-type": "application/x-www-form-urlencoded;charset=UTF-8",
  7. "google-accounts-xsrf": "1",
  8. "sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
  9. "sec-ch-ua-mobile": "?0",
  10. "sec-fetch-dest": "empty",
  11. "sec-fetch-mode": "cors",
  12. "sec-fetch-site": "same-origin",
  13. "x-chrome-id-consistency-request": "version=1,client_id=77185425430.apps.googleusercontent.com,device_id=85d9b9de-8d8c-42d5-a230-114dfd0e03d7,signin_mode=all_accounts,signout_mode=show_confirmation",
  14. "x-client-data": "CI+2yQEIprbJAQjDtskBCKmdygEIlqzKAQj4x8oBCPPiygEI5JzLAQipncsBCKGgywEY4JrLAQ==",
  15. "x-same-domain": "1"
  16. }
  17. data = {
  18. 'continue': 'https://mail.google.com/mail/',
  19. 'service': 'mail',
  20. 'f.req': f'["AEThLlwpg-MSq-4onCDwsS7uDtxlVJrUM0fnZwIdRDjM4hEhh7rRsaLWWBp1cqZ36spL9YviRAWM9GZrJ2mdAzl3PdD3y6mw-daPzF2eaXcF4GC2WsFahJ_2HzpdvZcxuIlkdxWpz3oeRpf8vw5IMeT1888SdU2brjmjHeuMVZ9oauLb5Fe283fp2n8VLHpngXQp-U-6SKD1khyJ737Z7tWa8yCqgInM1A","","","{target}",true]',
  21. 'azt': 'AFoagUV6dXSLvVNdNI9waK6BjPq30IqBfw:1619144219438',
  22. 'cookiesDisabled': 'false',
  23. 'deviceinfo': '[null,null,null,[],null,"US",null,null,null,"GlifWebSignIn",null,[null,null,[],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[5,"77185425430.apps.googleusercontent.com",["https://www.google.com/accounts/OAuthLogin"],null,null,"85d9b9de-8d8c-42d5-a230-114dfd0e03d7",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,5,null,null,[],null,null,null,[],[]],null,null,null,null,null,null,[],null,null,null,[],[]],null,null,null,null,0,null,false,null,""]',
  24. 'gmscoreversion': 'undefined'
  25. }
  26. url = 'https://accounts.google.com/_/signup/webusernameavailability?hl=en&_reqid=8262&rt=j'
  27. req = requests.post(url , data=data, headers=headers).text
  28. if ('gf.wuar",2') in req:
  29. print('The Username is not Available')
  30. elif ('gf.wuar",3') in req:
  31. print('Sorry, your username must be between 6 and 30 characters long.')
  32. elif ('gf.wuar",1') in req:
  33. print('The Username is Available')
Add Comment
Please, Sign In to add comment