Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have a website and in website some people can upload files .... and when user upload file it must scan from virus by antivirus ... so i need test virus have the following extention (.doc ,jpg, png, jpeg, gif, doc, docx, pdf, xls, xlsx ) to sure the antivirus work correctly

share|improve this question

closed as off topic by ChrisF, BinaryMisfit Oct 13 '10 at 14:46

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Crossposting is frowned upon. – Ignacio Vazquez-Abrams Oct 13 '10 at 14:35
up vote 0 down vote accepted

It's already been done, take a look at the eicar test file. You can try renaming the extension then uploading it.

share|improve this answer
i try it but when i test it it give me the mime file invalied ??? – Mohammad AL-Rawabdeh Oct 13 '10 at 14:44
That's a good sign. Your upload script can detect when people simply change file extensions by looking at the MIME type. – John T Oct 13 '10 at 15:08

Not the answer you're looking for? Browse other questions tagged .