2017 © Pedro Peláez
 

library tissue

A PHP library that scans your files for viruses using the adapter of your choice

image

cleentfaar/tissue

A PHP library that scans your files for viruses using the adapter of your choice

  • Tuesday, November 18, 2014
  • by cleentfaar
  • Repository
  • 1 Watchers
  • 6 Stars
  • 14,300 Installations
  • PHP
  • 3 Dependents
  • 1 Suggesters
  • 6 Forks
  • 2 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

Tissue License

A PHP library that scans your files for viruses. It does this by providing adapters for various virus-scanning software. Currently, the only adapter available is the ClamAvAdapter which, obviously, integrates the ClamAV scanner into your projects., (*1)

NOTE: If your project is built on top of the Symfony Framework, you are much better off using the TissueBundle that was specially made for it., (*2)

Build Status Scrutinizer Code Quality Code Coveragebr/ Latest Stable Version Total Downloads Latest Unstable Version, (*3)

Documentation

Important

I highly recommend you to research the security issues involved before using any of these packages on a production server!, (*4)

Although following the steps described in the documentation should be enough to keep most evil-doers from uploading infected files to your application, I can never give any 100% guarantee! You should take care in keeping your virus-scanner's signature database up-to-date, otherwise new viruses may get through. You should also keep in mind that there are many more ways to abuse uploads than just uploading an infected file!, (*5)

Make sure your application cannot be manipulated to execute any of the uploaded files! Not even those deemed 'clean'!, (*6)

For instance, if you were to keep files available on your web-directory after they have been uploaded, you better make sure that there is NO CHANCE that the file may get executed by your application in one way or another., (*7)

A malicious user could simply upload a piece of PHP-code (no virus!) that will open your application up to a huge range of leaks. Again, that's just one of the reasons that you should not solely rely on this package protecting your site!, (*8)

Read up on this subject before opening up your application to possible security leaks! I am not responsible for any damage done to your server or application while using this package!, (*9)

FAQ

Q: Why is there no adapter for [virusscanner here] yet?, (*10)

A: I don't always have the time to make new stuff so if you would like to contribute adapters feel free to submit an issue or an PR for it! Take a look at the contributing guide for instructions, thanks!, (*11)

The Versions

18/11 2014

dev-master

9999999-dev

A PHP library that scans your files for viruses using the adapter of your choice

  Sources   Download

MIT

The Requires

 

The Development Requires

security clamav virus anti-virus

18/11 2014

0.0.2

0.0.2.0

A PHP library that scans your files for viruses using the adapter of your choice

  Sources   Download

MIT

The Requires

 

The Development Requires

security clamav virus anti-virus

18/11 2014

0.0.1

0.0.1.0

A PHP library that scans your files for viruses using the adapter of your choice

  Sources   Download

MIT

The Requires

 

The Development Requires

security clamav virus anti-virus