nowsecure / r2frida

Radare2 and Frida better together.
MIT License
1.18k stars 121 forks source link

Implement support for frida://tcp/host:port/pid #31

Closed trufae closed 5 years ago

trufae commented 7 years ago

Ideally frida:///... i dont think we may find much deviceids with : in the name.. but we can change that later

Manouchehri commented 7 years ago

Lazy workaround:

socat TCP-LISTEN:27042,bind=127.0.0.1,fork,reuseaddr TCP:172.17.0.3:27042
r2 frida://tcp/Gadget
radare commented 7 years ago

This is done already. the problem is that host can only be an IP, not hostname, for some reason the Frida API doesn't resolves IPs addresses out of hostnames. and its only ipv4, no ipv6

You can do this:

$ ./frida-server-10.6.11-macos-x86_64 -l '0.0.0.0:9999'

and then

$ r2 frida://127.0.0.1:9999/92202

trufae commented 7 years ago

Hostname not resolved because its not done in frida land

On 12 Oct 2017, at 19:15, radare notifications@github.com wrote:

This is done already. the problem is that host can only be an IP, not hostname, for some reason the Frida API doesn't resolves IPs addresses out of hostnames. and its only ipv4, no ipv6

You can do this:

$ ./frida-server-10.6.11-macos-x86_64 -l '0.0.0.0:9999'

and then

$ r2 frida://127.0.0.1:9999/92202

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

trufae commented 5 years ago

Closing as "fixed" and continuing the work in https://github.com/nowsecure/r2frida/issues/123