Commit b36d85cb authored by Babak's avatar Babak

initial commit of code

parent 84d3229c
This diff is collapsed.
......@@ -43,3 +43,7 @@ optional arguments:
The MODE flag accepts 3 possible inputs: i) unanimous: only assigns a type if *all* AV labels agree with each other, ii) majority: assigns a type if *majority* (>50%) of AV labels agree with each other, and iii) aggressive: makes best effort to assign a type, for example, by assigning the most *specific* type among the types extracted from AV labels. The aggressive mode might produce unexpected results. For example, if a file has two AV labels and one AV's type is spyware and one AV's type is adware, then AVType cannot decide between the two and will produce trojan as output since it covers both spyware and adware.
We recommend to provide the verbose flag at all times. It provides more information about why AVType decided to assign a specific type to a given file based on the types extracted from each individual AV label.
## LICENSING
The code is released under GNU GENERAL PUBLIC license. Please refer to the COPYING file for details.
#! /usr/bin/python
###########################################################################
# Copyright (C) 2017 Babak Rahbarinia #
# brahbari@aum.edu #
# #
# Distributed under the GNU Public License #
# http://www.gnu.org/licenses/gpl.txt #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version #
# #
###########################################################################
import argparse
import json
import sys
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment