modules.packages.msi

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

# Source Code for Module modules.packages.msi

     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 Msi(Package):
     9      """MSI analysis package."""
    10
    11      PATHS = [
    12          ("System32", "msiexec.exe"),
    13      ]
    14
    15 -    def start(self, path):
    16          msi_path = self.get_path("msiexec.exe")
    17          return self.execute(msi_path, args=["/I", path])
    18