sensepost / mana

*DEPRECATED* mana toolkit for wifi rogue AP attacks and MitM
https://w1f1.net/
Other
1.09k stars 275 forks source link

start-noupstream.sh - Client not to connecting to the fake AP #66

Open amb1s1 opened 8 years ago

amb1s1 commented 8 years ago

I'm testing on both iPhone and Chromebook. When the iPhone connects, it gets an IP but then the interface IP config goes away right away. On the chromebook, I get failed to connect to the network "internet". DHCP lookup failed. I'm using Kali 2.0. I will like to give you more log info, but don't know where to get it. Thanks

jesusmmago commented 7 years ago

Hi amb1s1,

probably the help comes late but anyway it would be useful for other people. I had your same problem. I sorted it out using other DNS server. Basically what I did was the next. Add to the /etc/mana-toolkit/karmetasploit.rc file the next lines:

#use auxiliary/server/fakedns
#set TARGETACTION FAKE
#set TARGETHOST 10.0.0.1
#set TARGETDOMAIN *
#exploit -j
#exploit -j

Comment the next lines in the start-noupstream.sh script: dnsspoof -i $phy -f /etc/mana-toolkit/dnsspoof.conf& dnsmasq -C /etc/mana-toolkit/dnsmasq-dhcpd.conf $phy

And add the next one: dnsmasq -C /etc/mana-toolkit/dnsmasq-dhcpd.conf -i $phy

Cheers!