WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Upload Scanner

Scan all uploaded files with ClamAV or your favorite malware scanner

It says ClamAV isn't installed?

You'll need to install ClamAV and php-clamav. You don't actually need ClamAV to use this plugin, though.  You can use the system command to run another scanner that can accept input on the command line.

For example, you could scan with avira like this:

avscan $UPLOAD_SCANNER_ORIG_TEMPNAME

It says exec is disabled

Your server admin has probably disabled the "exec" function.  You'll want to talk to your server admin before moving forward with this plugin.  They may be able to help, or they may have other security measures in place that mean you don't need this plugin.

Why doesn't this plugin offer a "delete file" option?

PHP automatically deletes the files for you if they're not handled.

"The file will be deleted from the temporary directory at the end of the request if it has not been moved away or renamed."

http://www.php.net/manual/en/features.file-upload.post-method.php

Are there any security issues running shell commands?

The only user input that is passed to the shell command is the original file name chosen by the user, and this is passed through escapeshellarg() to sanitize it.  Otherwise, the only command that's run is chosen by you.  It's left to your server admin (or you) to determine that it's safe for you to issue commands. This plugin should prevent attacker input from making it into the command. Let me know if you see any problems.

Is this compatible with Multisite?

I haven't tested this with Multisite yet.  If you have input, let me know.

Requires: 3.2 or higher
Compatible up to: 3.4.2
Last Updated: 2012-5-19
Downloads: 2,051

Ratings

4 stars
4.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,2,2
100,1,1