espenfjo / malwarecookbook

Automatically exported from code.google.com/p/malwarecookbook
0 stars 0 forks source link

Problems with avsubmit.py #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

In the avsubmit.py script there are two issues i see

1) Under the novirusthanks class under "def upload_file" it should say:

conn = httplib.HTTPConnection('vscan.novirusthanks.org')

2) Submissions to Threatexpert fail

What is the expected output? What do you see instead?

$ python avsubmit.py -e -f setup.exe
Using ThreatExpert...
Checking ThreatExpert for file with MD5L 04b...
Analysis does not yet exist!
Nothing to add, submission failed.

This format works for all the other sites...

What version of the product are you using? On what operating system?

Ubuntu 10.04.1 Desktop

Please provide any additional information below.

I'm not much of a coder yet, but i'm learning, thanks for the great material! :D

Original issue reported on code.google.com by jae.will...@gmail.com on 28 Jan 2011 at 8:45

GoogleCodeExporter commented 9 years ago
Thanks sir. They must have recently changed the URL from scanner to vscan, so I 
updated that in revision 40 of the script 
(http://code.google.com/p/malwarecookbook/source/detail?r=40)

Regarding ThreatExpert, that module only supports querying what's already in 
TE's database. I never added an upload_file function to the ThreatExpert class, 
though I can't remember why. If you're interested in adding that ability, I can 
commit it with credits to you.

Original comment by michael.hale@gmail.com on 4 Feb 2011 at 5:07

GoogleCodeExporter commented 9 years ago
Hello michael,

Would you please add the upload_file function to the ThreatExpert class? I'm 
interested in using this functionality. 

regards

Original comment by A.Qa...@gmail.com on 1 Nov 2012 at 6:13