modules.packages.ff

Package modules :: Package packages :: Module ff |
[hide private]
[frames] | no frames]

# Source Code for Module modules.packages.ff

     1  # Copyright (C) 2010-2013 Claudio Guarnieri.
     2  # Copyright (C) 2014-2016 Cuckoo Foundation.
     3  # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
     4  # See the file 'docs/LICENSE' for copying permission.
     5
     6  from lib.common.abstracts import Package
     7
     8 -class Firefox(Package):
     9      """Firefox analysis package."""
    10      PATHS = [
    11          ("ProgramFiles", "Mozilla Firefox", "firefox.exe"),
    12      ]
    13
    14 -    def start(self, url):
    15          firefox = self.get_path("Firefox")
    16          return self.execute(firefox, args=[url])
    17