A self-contained PHP webshell scanner that uses token analysis, hash filtering, machine learning, and entropy-based anomaly detection to hunt for backdoors, supports legacy PHP 4.3 to the very recent PHP 8, no dependencies required
- Token-based detection – scans PHP tokens for known obfuscation, shell execution, file I/O, and credential-related functions (method names like $pdo->exec() and text inside strings/comments are ignored)
- Structural detection – catches what name matching can't: calls through variables or superglobals ($_GET['a']($_GET['b'])), function names hidden in strings ('ba'.'se64_decode', "\x73ystem"), preg_replace with /e, backtick shell execution, payloads after __halt_compiler(), and giant single-line blobs