emposha/PHP-Shell-Detector — pull request #14 by kost (2013-03-13 22:45:53+00:00)
Title: Introduce console mode and basic getopt support

So, you can say something like:

php shelldetect.php -d /web/myweb.com

but you must have console=true in .ini file