modules.packages.vbs

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

# Source Code for Module modules.packages.vbs

     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 VBS(Package):
     9      """VBS analysis package."""
    10      PATHS = [
    11          ("System32", "wscript.exe"),
    12      ]
    13
    14 -    def start(self, path):
    15          wscript = self.get_path("WScript")
    16          return self.execute(wscript, args=[path], trigger="file:%s" % path)
    17