mirror of
https://github.com/hanzoui/custom-nodes-security-scan.git
synced 2026-10-30 20:56:54 +00:00
18 lines
577 B
Python
18 lines
577 B
Python
# Copyright (C) 2017 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 HWP(Package):
|
|
"""Hangul (Korean) Word Processor File 5.x analysis package."""
|
|
PATHS = [
|
|
("ProgramFiles", "Hnc", "Hwp80", "Hwp.exe"),
|
|
]
|
|
|
|
def start(self, path):
|
|
word = self.get_path("Hangul (Korean) Word Processor File 5.x")
|
|
return self.execute(
|
|
word, args=[path], mode="office", trigger="file:%s" % path
|
|
)
|