I still don't understand how I'm unconsciously revengeful for most of the part in the sense my friend detected in me but I share many characteristics of how 8s justify their vengeance telling myself they had it coming, they deserved it and so on. When I feel that way the knee-jerk reaction is also so immediate I just kind of stop thinking of anything else than how I am going to plan out my revenge. It's truly reactive in the actual sense of the word and I will enact on it if I can.
My primary concern tends to revolve around those people not being able to hurt those I care about including myself anymore in any way. Then I actually don't care about others and this is how I'd separate the revenge-strategies of 8 from other types because my concern is only those I immediately involve myself with. That's why 8s are selfish and their integration point is towards 2.
Not because I'm saying I'm an 8, but my revenge-think is definitely driven in an 8-way. I am not sure exactly if a 5, logically speaking, would even concern himself with revengel from an intellectual standpoint. You would argue that it's too much of an effort to bother and the fear of engulfment would in most cases make the 5 act against any such impulses despite connections to 7 and 8, both being id types which arguably makes enneatype 5 the least morally inhibited out of the types in the withdrawn triad.
No wonder us 5s with a strong connection to 8 and/or 8 fix are likened to Mr. Scrooge/the Gringe (probably exaggerated by sx first which just lacks the smoothness of so and the more lurking attitude of sp), and the superego influence we do have in terms of competence can make us seem arrogant because it's driven by the 7 and 8 logic that we are at some level inherently right. Not in a morally right sense, but in a narcissist and lust-like sense. I know I'm right because I "love" my knowledge and I know I'm right because I get what I want.
But yes, for 5s, I suspect at least that their revenge/justice-strategies probably highly depends on wing, other lines of connections and tritype fixations as a whole. I doubt a 59X type would be overly concerned about revenge or justice as concepts.
It should be noted that my 6 wing although clearly overshadowed by 4, is counterphobic. I doubt that plays much of a role in my overall psychological makeup in this sense though, since I don't feel much superego influence from 6, but it definitely makes me more reactive. I'm probably as close as you can get to a reactive 5. I'm very reactive for a 5, anyway.