Created
August 26, 2018 07:28
-
-
Save recolic/ebc5a7431d5084d7c94fa68a8ff06bba to your computer and use it in GitHub Desktop.
Fuck the chinese shits who prevent you from pasting password.
This file contains hidden or 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
#!/usr/bin/env python3 | |
# Use this script with https://recolic.net/phy and https://recolic.net/phy2 | |
# to avoid typing fucked numbers into page by hand. | |
# Fuck the chinese shits who prevent you from pasting password. | |
# E.x. Alibaba bitch | |
from pykeyboard import PyKeyboard | |
import time | |
def virtual_type_array(arrToType, noWait=False): | |
k = PyKeyboard() | |
if not noWait: | |
print('You have 5 seconds to ready for auto-typing.') | |
time.sleep(5) | |
for d in arrToType: | |
k.type_string(str(d)) | |
k.tap_key(k.tab_key) | |
def _type(s): | |
k = PyKeyboard() | |
print('You have 5 seconds to ready for auto-typing.') | |
time.sleep(5) | |
k.type_string(str(s)) | |
if __name__ == "__main__": | |
import sys | |
_type(sys.argv[1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment