LD_PRELOAD: Making a Backdoor by Hijacking accept()

A demonstration on how to use LD_PRELOAD to create a backdoor in processes by hooking the accept() function.
Adventures in LDAP Injection: Exploiting and Fixing

Every pen tester looks forward to that next encounter that includes one of those uncommon vulnerabilities.