Frida: Difference between revisions

imported>Mic92
NUR first!
imported>Nix
m add Software/Applications subcategory
 
(2 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 Mic92's NUR package ==
== Using the genesis's NUR package ==


Setup [https://github.com/nix-community/NUR NUR] as described.
Setup [https://github.com/nix-community/NUR NUR] as described.
Then install frida from Mic92's repository:
Then install frida from genesis's repository:


<syntaxHighlight lang=console>
<syntaxHighlight lang=console>
$ nix-shell -p nur.repos.mic92.frida-tools
$ nix-shell -p nur.repos.genesis.frida-tools
nix-shell> frida-trace -i "recv*" firefox
nix-shell> frida-trace -i "recv*" firefox
</syntaxHighlight>
</syntaxHighlight>


The python bindings are available via <code>nur.repos.mic92.python3Packages.frida</code>
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 ==
== Using frida's own binaries ==
Line 58: 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 75: Line 77:


<syntaxHighlight lang=console>
<syntaxHighlight lang=console>
$  make python-64
$  make python-linux-x86_64
</syntaxHighlight>
</syntaxHighlight>


Line 81: Line 83:


<syntaxHighlight lang=console>
<syntaxHighlight lang=console>
$ cd frida-python/src/
$ 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]]