mirror of
https://github.com/hanzoui/custom-nodes-security-scan.git
synced 2026-10-30 20:56:54 +00:00
15 lines
438 B
Python
15 lines
438 B
Python
#!/usr/bin/env python
|
|
# Copyright (C) 2015 Dmitry Rodionov
|
|
# This software may be modified and distributed under the terms
|
|
# of the MIT license. See the LICENSE file for details.
|
|
|
|
from os import system
|
|
from lib.core.packages import Package
|
|
|
|
class Macho(Package):
|
|
""" Mach-O executable analysys package. """
|
|
|
|
def prepare(self):
|
|
# Make sure that our target is executable
|
|
system("/bin/chmod +x \"%s\"" % self.target)
|