Bruteforce script with python

Viewed 28

I´m trying to make a Bruteforce script so I can test it out on my website. I don't know if Im doing too much, but it is a 7 digit cracker. Here is the code:


import pyautogui
import time

num = 1000000

while True:
    pyautogui.click(445, 557)
    pyautogui.press("delete", presses= 7)
    for c in int(num):
        pyautogui.keyDown(c)
    num += 1

But, every time I try it out, it gives me this error: TypeError: 'int' object is not iterable I even tried this:


import pyautogui
import time

num = 1000000

while True:
    pyautogui.click(445, 557)
    pyautogui.press("delete", presses= 7)
    pyautogui.write(num)
    num += 1

And it gave me the same exact error. Does anyone know what might be wrong? Thanks

0 Answers
Related