Rating:

TL;DR:
- Recover internal state from small message deltas
- Optimize the queries / the program

The writeup from the link is much (maybe overly) detailed.

Original writeup (https://hackmd.io/@mystiz/google-ctf-2020-oracle).