Re: "The code was an interesting mix of very old and new coding styles."
"
The fact it triggers on searches for pr()n suggests a backup strategy that if discovered it would allow the operator to discourage users who found it from reporting it.
"
Nope. It triggered on porn so that he could concentrate on spying on people who were more likely to be having a wank within view of the webcam. Otherwise he'd be looking at 1000's of boring webcams showing empty rooms, people typing and looking at cat videos.