How To Process System Exit Codes Using Perl Eval

Author: , March 9th, 2021

The trick to using eval to catch shell execution is to return twice, once inside the eval and once outside:

Neat!

How To Cleanup Hacked WordPress PHP Code Using A Perl Script

Author: , March 21st, 2012

Perl to the Rescue! This perl script cleans just one type of infection as an example. Vary the script to search for and clean other combinations and patterns. Also, the script is deliberately written long-hand and verbose, and could be significantly more compact and efficient. It was done this way for ease of use and […]