mirror of
https://github.com/hanzoui/custom-nodes-security-scan.git
synced 2026-10-30 20:56:54 +00:00
17 lines
515 B
Python
17 lines
515 B
Python
# Copyright (C) 2010-2013 Claudio Guarnieri.
|
|
# Copyright (C) 2014-2016 Cuckoo Foundation.
|
|
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
|
|
# See the file 'docs/LICENSE' for copying permission.
|
|
|
|
from lib.common.abstracts import Package
|
|
|
|
class Firefox(Package):
|
|
"""Firefox analysis package."""
|
|
PATHS = [
|
|
("ProgramFiles", "Mozilla Firefox", "firefox.exe"),
|
|
]
|
|
|
|
def start(self, url):
|
|
firefox = self.get_path("Firefox")
|
|
return self.execute(firefox, args=[url])
|