The maximum velocity increase achievable relative to the Sun, by gravitational slingshot from a planet, is twice the planet's orbital velocity. So the best you can do in the Solar System with a single manoevre is about 96km/s (twice the orbital velocity of Mercury).
Each slingshot manoevre is effectively a perfectly elastic 'bounce', transferring momentum to your spacecraft from tne planet. As far as I can see, if you have infinite time for the task, you could keep doing such manoevres until you have stolen all of the momentum from everything in the Solar System, and all the planets have fallen into the Sun.
Your final velocity would be huge in such a scenario; although your accelerations would get very small as your probe's mass increased due to its speed. You should achieve a sizable fraction of c for any probe with a reasonable rest-mass.