I wouldn't call it revenge...
...As that would involve planning and could be actionable. Having a massive belly laugh at a bunch of feckwits for sacking you and the boss without finding out if there's anything important they should know beforehand is, on the other hand, perfectly fine!