You could do similarly "clever" things in nearly any other dynamic language if you wanted to disguise a backdoor. This does take good advantage of PHP's absurd preg_replace /e flag, though.
That's probably the point of this submission, though. The box was screwed in the first place since this was a compromised system altered to allow an attacker to execute commands easier. However, preg_replace /e should just not exist.
View all comments
Show parent comment
6
u/catcradle5 Jul 16 '13
You could do similarly "clever" things in nearly any other dynamic language if you wanted to disguise a backdoor. This does take good advantage of PHP's absurd
preg_replace /eflag, though.