Frida: Difference between revisions
imported>Mic92 nobody like eggs |
imported>Nix m add Software/Applications subcategory |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[https://www.frida.re Frida] is a dynamic binary instrumentation framework. | [https://www.frida.re Frida] is a dynamic binary instrumentation framework. | ||
== | == Using the genesis's NUR package == | ||
The project provides pre-compiled binaries that almost work out of the box (when installed via <code> pip install frida</code>) | |||
Setup [https://github.com/nix-community/NUR NUR] as described. | |||
Then install frida from genesis's repository: | |||
<syntaxHighlight lang=console> | |||
$ nix-shell -p nur.repos.genesis.frida-tools | |||
nix-shell> frida-trace -i "recv*" firefox | |||
</syntaxHighlight> | |||
The python bindings are available via <code>nur.repos.genesis.python3Packages.frida</code> | |||
Both frida and frida-tools packages are based on pypi, feel free to post a PR to add support for your platform to them. | |||
== Using frida's own binaries == | |||
The project provides pre-compiled binaries that almost work out of the box (when installed via <code> pip install frida-tools</code>) | |||
However at runtime it unpacks a helper called <code>frida-helper-64</code> that uses <code>/lib64/ld-linux-x86-64.so.2</code> as its link-loader. | However at runtime it unpacks a helper called <code>frida-helper-64</code> that uses <code>/lib64/ld-linux-x86-64.so.2</code> as its link-loader. | ||
The error message will be similar to this one: | The error message will be similar to this one: | ||
Line 46: | Line 59: | ||
profile = '' | profile = '' | ||
export hardeningDisable=all | export hardeningDisable=all | ||
export SSL_CERT_FILE="${cacert}/etc/ssl/certs/ca-bundle.crt" | |||
# initialize sdk | # initialize sdk | ||
make | make | ||
Line 63: | Line 77: | ||
<syntaxHighlight lang=console> | <syntaxHighlight lang=console> | ||
$ make python- | $ make python-linux-x86_64 | ||
</syntaxHighlight> | </syntaxHighlight> | ||
Line 69: | Line 83: | ||
<syntaxHighlight lang=console> | <syntaxHighlight lang=console> | ||
$ cd frida-python | $ cd frida-python | ||
$ python setup.py bdist_wheel | $ python setup.py bdist_wheel | ||
$ pip install dist/frida-*.whl | $ pip install dist/frida-*.whl | ||
</syntaxHighlight> | </syntaxHighlight> | ||
[[Category:Applications]] |