frida-get-ifaddrs
Get the interface addresses of a connected phone through frida.
Currently shells out to adb
for android until a native solution exists.
Example
var frida = ;var getifaddrs = ; frida;
With a phone connected:
$ node example.js[
CLI
$ npm install -g frida-get-ifaddrs $ frida-ifaddrsen0 fe80:0000:0000:0000:0809:2cd8:eaf0:affden0 192.168.1.18awdl0 fe80:0000:0000:0000:1023:3aff:fe56:7b48 $ frida-ifaddrs wifi192.168.1.18
API
getifaddrs(device[, opts])
Options:
wifi
: If true, return only wifi addresses (most likely only one)
Kudos
Initial implementation by @oleavr.
License
MIT