Skip to main content

How to login to websites requiring OTP(text message), using python

Using python to get text message one time passwords (OTP) required for login.

Steps

  1. Linking your iPhone to your mac
  2. Finding the text messages on your Mac
  3. Giving FULL DISK access to the IDE/Terminal
  4. Reading the chat database
  5. Inserting the OTP into the the website

Reference

  1. How to login to websites requiring OTP(text message), using python https://medium.com/analytics-vidhya/how-to-login-to-websites-requiring-otp-text-message-using-python-65f435c8b4f6
  2. Automatic SMS Verification with the SMS Retriever API https://developers.google.com/identity/sms-retriever/overview