dedal0 / php_backdoor_scanner Goto Github PK
View Code? Open in Web Editor NEWThis project forked from micahflee/php_backdoor_scanner
A simple script that scans a webserver for suspicious looking php files
License: MIT License
This project forked from micahflee/php_backdoor_scanner
A simple script that scans a webserver for suspicious looking php files
License: MIT License
PHP Backdoor Scanner This is a quick and dirty scanner I wrote to search a web server for traces of PHP backdoors or other malware, since they're so common, especially on sites that use open source content management systems like WordPress, Drupal, and Joomla. I wrote it php, but it's meant to be run on a cron job, not a web browser. Edit the configuration section at the beginning of php_backdoor_scanner.php to configure it. $config['target_dir'] is the root folder that gets scanned $config['output_file'] is the name of the file that it outputs to $config['false_positives_file'] is an optional file with a list of filenames that come up as suspicious but should be ignored by the scanner $config['email'] is an optional email address that will get sent an email if any suspicious files are found When you run the backdoor scanner, it recursively searches your target directory for php files. When it finds them, it searches them for a list of things that look suspiciously like they could be malware, like the "c99shell" or "eval(base64(". When it finds them, it saves their filenames to your output file, and at the end of the scan sends you an email. You should run it as root if you're scanning files in several different user's home directories. Also, beneath the configuration section of php_backdoor_scanner.php is an array of suspicious strings. Feel free to add your own strings to that list. But remember, the more vague the string, the more false positives you'll get. Wishlist: - instead of using an array of strings, use regex
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.