Files
frida-frida-python/examples/query_system_parameters.py
T
2022-09-12 20:59:52 +03:00

14 lines
438 B
Python

from pprint import pformat
from pygments import highlight
from pygments.formatters import Terminal256Formatter
from pygments.lexers import PythonLexer
import frida
print("Local parameters:", highlight(pformat(frida.query_system_parameters()), PythonLexer(), Terminal256Formatter()))
print(
"USB device parameters:",
highlight(pformat(frida.get_usb_device().query_system_parameters()), PythonLexer(), Terminal256Formatter()),
)