hackedteam/test-av

View on GitHub
utils/testreport.py

Summary

Maintainability
A
50 mins
Test Coverage
#!/usr/bin/env python
# Copyright (C) 2010-2012 Cuckoo Sandbox Developers.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.

import os
import sys
import logging

logging.basicConfig(level=logging.DEBUG)

sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)), ".."))

from lib.cuckoo.core.processor import Processor
from lib.cuckoo.core.reporter import Reporter

results = Processor(sys.argv[1]).run()
Reporter(sys.argv[1]).run(results)