2017 © Pedro Peláez
 

symfony-bundle tissue-bundle

A Symfony bundle that let's you scan your files for viruses using the Tissue library

image

bubnov/tissue-bundle

A Symfony bundle that let's you scan your files for viruses using the Tissue library

  • Monday, January 23, 2017
  • by bubnov
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,558 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 10 Versions
  • 15 % Grown

The README.md

TissueBundle License

A Symfony 3 bundle that can scan your files for viruses using the Tissue library and adapters. Uses the ClamAV engine by default., (*1)

Features

  • Scan uploaded files during validation (using the CleanFile constraint).
  • Scan files during a batch process (simply using the cl_tissue.scanner-service).
  • Uses the Tissue library and it's ClamAV adapter, but you can use your own virus-scanning engine by adding your own adapter service and tagging it with cl_tissue.adapter (check out the installation documentation for more information).

Quick example

...pictures say more than a thousand words right?, (*2)

1. You have a file-upload form...

1. You have a file-upload form..., (*3)

3. Someone tries to upload an infected file...

2. Someone tries to upload an infected file..., (*4)

3. The infected file gets rejected...

3. The infected file gets rejected..., (*5)

Please be sure to read the usage documentation if you are planning on actually using this bundle!, (*6)

Documentation

WARNING

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

Although following the steps described in the documentation should be enough to keep most evil-doers from uploading infected files to your forms, 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!, (*8)

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

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., (*10)

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!, (*11)

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!, (*12)

The Versions

23/01 2017

dev-master

9999999-dev

A Symfony bundle that let's you scan your files for viruses using the Tissue library

  Sources   Download

MIT

The Requires

 

The Development Requires

security clamav virus anti-virus tissue

23/01 2017

1.0.6

1.0.6.0

A Symfony bundle that let's you scan your files for viruses using the Tissue library

  Sources   Download

MIT

The Requires

 

The Development Requires

security clamav virus anti-virus tissue

23/01 2017

1.0.5

1.0.5.0

A Symfony bundle that let's you scan your files for viruses using the Tissue library

  Sources   Download

MIT

The Requires

 

The Development Requires

security clamav virus anti-virus tissue

23/01 2017

1.0.4

1.0.4.0

A Symfony bundle that let's you scan your files for viruses using the Tissue library

  Sources   Download

MIT

The Requires

 

security clamav virus anti-virus tissue

21/10 2016

1.0.3

1.0.3.0

A Symfony bundle that let's you scan your files for viruses using the Tissue library

  Sources   Download

MIT

The Requires

 

security clamav virus anti-virus tissue

21/10 2016

1.0.2

1.0.2.0

A Symfony bundle that let's you scan your files for viruses using the Tissue library

  Sources   Download

MIT

The Requires

 

security clamav virus anti-virus tissue

21/10 2016

1.0.1

1.0.1.0

A Symfony bundle that let's you scan your files for viruses using the Tissue library

  Sources   Download

MIT

The Requires

 

security clamav virus anti-virus tissue

21/10 2016

1.0.0

1.0.0.0

A Symfony bundle that let's you scan your files for viruses using the Tissue library

  Sources   Download

MIT

The Requires

 

security clamav virus anti-virus tissue

18/11 2014

0.0.2

0.0.2.0

A Symfony bundle that let's you scan your files for viruses using the Tissue library

  Sources   Download

MIT

The Requires

 

The Development Requires

security clamav virus anti-virus tissue

18/11 2014

0.0.1

0.0.1.0

A Symfony bundle that let's you scan your files for viruses using the Tissue library

  Sources   Download

MIT

The Requires

 

The Development Requires

security clamav virus anti-virus tissue