by hvasilev · 4y ago · 0 comments
this is the decision logic:
func (c *checker) bad() bool {
return (c.hasLookupClass && c.hasOldJndiManagerConstructor) || (c.hasLookupClass && c.seenJndiManagerClass && !c.isAtLeastTwoDotSixteen)
}
And most of the code I see is about walking the filesystem, unzipping jars, walking the files inside the jars.
Most codebases have this kind of plumbing all the time.