Jump to content

How to detect if text file is uploaded ?


markthien

Recommended Posts

How can a virus be in a text file? How would an attacker get it to run when it is you that decides where the file is uploaded to.

If the text file is to contain certain data then you can read it to verify the contents.

 

Simply checking the file extension will suffice (.txt) and that is as far as I would go.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.