The public group is tiny enough to search directly.
The public puzzle is tiny
The attacker sees prime p=23, base g=5, and public value y=8.
gxmodp=8
The hidden question
The discrete-log question asks which exponent x makes g to x land on y.
find x
Small groups can be searched
Because p is only 23, the table can try exponents directly.
Summary
A tiny group turns the hidden exponent into a short table search.
target=8