This commit is contained in:
2025-11-20 19:37:58 +00:00
parent 1cedbf433c
commit fc2aae057b
7 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
from requests import Session
BASE = "http://mustard.stt.rnl.tecnico.ulisboa.pt:25051"
sesh = Session()
resp = sesh.get(BASE+"/")
content = resp.content.decode('utf-8')
for guess in range(1,1000):
resp = sesh.get(BASE+"/number/"+str(guess))
content = resp.content.decode('utf-8')
if "SSof" in content:
break
print(guess, content)