go-ios
go-ios copied to clipboard
WIP: Find IP based on packets without MAC
This implements a way to find the IP address of the device, without using the mac address of the device. Basically just counts the number of occurrences of the IP in the src, and then takes the one with the most, as it's most likely to be the correct one.
Works fine, if you make some noise while it's running.
I can't get the --duration to work however, not sure why.
But I would appreciate some comments on this.
Also functions are not named findIp, findIp and findIP anymore. Should be more readable.
@shamanec and @danielpaulus WIP as I would appreciate any comments on this.