image.png

This webpage is best solved using a Python program.

Looking at the page source, we can see:

image.png

The assumption we can make:

I’ll provide some working code here.

Create a file called guess.py and insert the following code.

import requests

url = "<http://ctf.local:9000/guessing_game/index.php>"
data = {"guess": 10}

while True:
    response = requests.post(url, data=data)
    if 'Sorry' not in response.text:

Run it:

python3 guess.py

image.png