Реклама в магазине
Banner
Разное

📧 OUTLOOK ACCOUNTS ⭐ UNUSED | WEB LOGIN | OAUTH2 TOKEN | HIGH QUALITY

Изображение: 📧 OUTLOOK ACCOUNTS ⭐ UNUSED | WEB LOGIN | OAUTH2 TOKEN | HIGH QUALITY
989 шт.
1,9 ₽
Мин.заказ: 1 шт.
Куплено: 0 раз

Аккаунты OUTLOOK.COM

▪️Способ регистрации: Авторег
▪️ГЕО регистрации: MIX IP
▪️Протоколы: IMAP, POP3, SMTP, WEB (вход с браузера), OAuth 2.0 
▪️OAuth 2.0 token: RefreshToken и ClientId в комплекте ✅
(страница документации - https://learn.microsoft.com/en-us/entra/identity-platform/v2-protocols)

➕ аккаунты свежие, нигде не использовались
➕ доступен вход с браузера (кнопка “skip“)
➕ аккаунты не требуют СМС
➕ живут долго
➕ доступ к почте только у вас
➕ совместимы для работы в ZennoPoster, BAS, Selenium и др.

 

Формат аккаунтов: login:password:refresh_token:client_id



OUTLOOK.COM Accounts

▪️Registration method: Auto-registration
▪️Registration GEO: MIX IP
▪️Protocols: IMAP, POP3, SMTP, WEB (browser login), OAuth 2.0 
▪️OAuth 2.0 token: RefreshToken and ClientId included ✅
(documentation page - https://learn.microsoft.com/en-us/entra/identity-platform/v2-protocols)

➕ accounts are brand new and have never been used anywhere
➕ browser login available (click the “skip” button)
➕ accounts do not require SMS verification
➕ long-lasting
➕ only you have access to the email
➕ compatible with ZennoPoster, BAS, Selenium, and others

 

Account formats: login:password:refresh_token:client_id



Пример Python скрипта для работы с OAuth 2.0 token / An example Python script for working with an OAuth 2.0 token

def get_access_token_hotmail(data_hotmail, proxy=None):
    access_token = None
    try:
        post_data = {
            'client_id': data_hotmail.split('|')[3],
            'refresh_token': data_hotmail.split('|')[2],
            'grant_type': 'refresh_token',
        }

        response = requests.post(
            "https://login.microsoftonline.com/common/oauth2/v2.0/token",
            data=post_data,
            headers={"Content-Type": "application/x-www-form-urlencoded"},
            proxies={"http": proxy, "https": proxy} if proxy else None
        )

        response_data = response.json()
        access_token = response_data.get('access_token')

        logging.debug(f"Access token retrieved: {access_token}")

    except Exception as e:
        logging.error(f"Error during first request: {e}")

        try:
            post_data = {
                'client_id': data_hotmail.split('|')[3],
                'refresh_token': data_hotmail.split('|')[2],
                'grant_type': 'refresh_token'
                /IMAP.AccessAsUser.All'  # Request the correct scope
            }

            response = requests.post(
                "https://login.microsoftonline.com/common/oauth2/v2.0/token",
                data=post_data,
                headers={"Content-Type": "application/x-www-form-urlencoded"}
            )

            response_data = response.json()
            access_token = response_data.get('access_token')

            logging.debug(f"Access token retrieved on second attempt: {access_token}")

        except Exception as e:
            logging.error(f"Error during second request: {e}")

    return access_token

def generate_auth_string(user, token):
    auth_string = f"user={user}\1auth=Bearer {token}\1\1"
    return auth_string

def get_code_hotmail_oauth2(data_hotmail, access_token):
    code = None
    try:
        email_address = data_hotmail.split('|')[0]
        
    
        mailbox = imaplib.IMAP4_SSL("outlook.office365.com")
        # mailbox.debug = 4  # Enable debugging for the IMAP connection

        result, response = mailbox.authenticate("XOAUTH2", lambda x: generate_auth_string(email_address, access_token))

        logging.debug(f"Authenticated as {email_address}")


        mailbox.select("inbox")
        #mailbox.select("junk")


        result, data = mailbox.search(None, 'ALL')
        mail_ids = data[0].split()
        
        logging.debug(f"Mail IDs: {mail_ids}")


        for i in range(min(20, len(mail_ids))):
            mail_id = mail_ids[-(i + 1)]
            result, msg_data = mailbox.fetch(mail_id, '(RFC822)')
            raw_email = msg_data[0][1]


        mailbox.logout()
        logging.debug("Logged out successfully.")

    except Exception as e:
        logging.error(f"Error during mail fetch: {e}")