On this page
article
FIND_CLIENT_IP
FIND_CLIENT_IP Search ARP and DHCP records for an associated WiFi client IP address
When to use it
After a client has associated to a Pineapple access point (such as Open
or EvilWPA), use FIND_CLIENT_IP to search for the IP address used by
the client.
Syntax
FIND_CLIENT_IP [mac] {timeout}
mac required
MAC address of the client, in aa:bb:cc:dd:ee:ff format
timeout
Timeout, in seconds, before giving up.
Results
FIND_CLIENT_IP waits for the requested MAC to have an IP, or until timeout expires
FIND_CLIENT_IP returns the IP as output
FIND_CLIENT_IP exits with a return code of 0 on success and non-zero on failure
Examples
__ip=$(FIND_CLIENT_IP 00:DE:AD:BE:EF:01) || exit 0