Created
February 25, 2022 08:41
-
-
Save pwndev/f3275c8a1f51482b63309dca24d2abb7 to your computer and use it in GitHub Desktop.
Types your password if an app doesn't allow pasting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################# | |
# pip3 install pyautogui # | |
# python3 password-typer.py # | |
############################# | |
import sys | |
import time | |
import pyautogui | |
if(len(sys.argv) != 2): | |
print("Run: python3 " + sys.argv[0] + " <your password>") | |
exit(1) | |
print("Pasting your password in 3 seconds. Please focus the input field.") | |
time.sleep(3) | |
pyautogui.write(sys.argv[1], interval=0.025) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment