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

Source Code for Module modules.packages.msi

 1  # Copyright (C) 2010-2015 Cuckoo Foundation. 
 2  # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org 
 3  # See the file 'docs/LICENSE' for copying permission. 
 4   
 5  from lib.common.abstracts import Package 
 6   
7 -class Msi(Package):
8 """MSI analysis package.""" 9 10 PATHS = [ 11 ("SystemRoot", "system32", "msiexec.exe"), 12 ] 13
14 - def start(self, path):
15 msi_path = self.get_path("msiexec.exe") 16 msi_args = "/I \"{0}\"".format(path) 17 return self.execute(msi_path, msi_args)
18