mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
17 lines
326 B
Python
17 lines
326 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import os
|
|
import platform
|
|
|
|
|
|
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']
|