Files
frida-frida-python/tests/data/__init__.py
T
Ole André Vadla Ravnås 6084f2fef4 Update mac → macos
2017-05-10 14:34:50 +02:00

15 lines
324 B
Python

# -*- coding: utf-8 -*-
import platform
import os
system = platform.system()
if system == 'Windows':
target_program = r"C:\Windows\notepad.exe"
elif system == 'Darwin':
target_program = os.path.join(os.path.dirname(__file__), "unixvictim-macos")
else:
target_program = "/bin/cat"
__all__ = ['target_program']