malwarelab / malwarecookbook

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

F-prot scanning for av_multiscan.py #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use av_multiscan.py from Chapter 3

What is the expected output? What do you see instead?
It does not append the result from Linux F-Port

What version of the product are you using? On what operating system?
Version: 6.3.3.5015 
OS: Ubuntu 11.04

najmi@vostro:~/malware$ fpscan --version
F-PROT Antivirus version 6.3.3.5015 (built: 2009-12-23T13-43-55)

FRISK Software International (C) Copyright 1989-2009
Engine version:   4.5.1.85
Arguments:        --version
Virus signatures: 201106191228b0d2a90521b6711b1b1f6782a3bd350e
                  (/home/najmi/f-prot/antivir.def)

Please provide any additional information below.
Line 102:

Original;
  #result = output.split('\n')[8].split('\t')[0]

Correct;
result = output.split('\n')[10].split('\t')[0]

Otherwise the result won't appended on the display.

Original issue reported on code.google.com by najmi.zabidi on 19 Jun 2011 at 4:47

GoogleCodeExporter commented 9 years ago
Thanks a fix for this is about to be applied. Instead of just having 8 or 10 in 
the code, it is now a variable named RESULTLINE - which hopefully will make it 
easier to deal with different fprot versions. 

Original comment by michael.hale@gmail.com on 20 Jun 2011 at 8:23

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r73.

Original comment by michael.hale@gmail.com on 20 Jun 2011 at 8:24