brav0hax / easy-creds

274 stars 97 forks source link

Easy-creds on Kali 1.09 #19

Open ThomasMW opened 9 years ago

ThomasMW commented 9 years ago

Hi,

I've been trying to get easy-creds set up a fake AP but I ran into some trouble due to the fact that Kali uses isc-dhcp-server now and not dhcp3 anymore.

I looked at some fixes online but I still can't get it to work properly. My devices can connect to the fake AP but traffic doesn't get through.

Did you fix this in any later versions, and if not do you recommend using something else?

I'm running EC 3.7.3, so maybe updating will fix this?

Kind regards, Thomas

brav0hax commented 9 years ago

run version 3.8-dev from github

On Tue, Dec 16, 2014 at 1:03 PM, ThomasMW notifications@github.com wrote:

Hi,

I've been trying to get easy-creds set up a fake AP but I ran into some trouble due to the fact that Kali uses isc-dhcp-server now and not dhcp3 anymore.

I looked at some fixes online but I still can't get it to work properly. My devices can connect to the fake AP but traffic doesn't get through.

Did you fix this in any later versions, and if not do you recommend using something else?

I'm running EC 3.7.3, so maybe updating will fix this?

Kind regards, Thomas

— Reply to this email directly or view it on GitHub https://github.com/brav0hax/easy-creds/issues/19.

ThomasMW commented 9 years ago

Just did, but now I'm back the fact that it tries to use dhcpd3 again on line 710. I can change that to work with dhcp but is that all that is needed to fix the issue?

I'm sorry if this is annoying, I know it's a very old project but I would really like this to work on this version of Kali.

ThomasMW commented 9 years ago

I altered the code to work with dhcp and now my devices can connect again, although when I request an url with the connected device the pages stay blanc. I do see information coming by on URL Snarf as in what is being requested.

Routing issue?

ThomasMW commented 9 years ago

For some reason I am able to use Whatsapp and some newsapps where I can view content. Only browser requests are handled poorly.

The only thing is that SSLStrip is showing some python errors. Could this be the cause? I have python2.7 installed.

ThomasMW commented 9 years ago

Got it to work, you can close this topic.

ghost commented 9 years ago

wait so you have to change the code for it to work with dhcp?

ThomasMW commented 9 years ago

Yes,

Go to line 710 and change: dhcpd3 -q -cf $DHCPPATH -pf /var/run/dhcp3-server/dhcpd.pid $TUNIFACE &

to

dhcpd -q -cf $DHCPPATH -pf /var/run/dhcp3-server/dhcpd.pid $TUNIFACE &

brav0hax commented 9 years ago

That shouldn't be the case, you shouldn't have to change anything, it should default to ISC-DHCP-SERVER

On Tue, Dec 16, 2014 at 4:21 PM, ThomasMW notifications@github.com wrote:

Yes,

Go to line 710 and change: dhcpd3 -q -cf $DHCPPATH -pf /var/run/dhcp3-server/dhcpd.pid $TUNIFACE &

to

dhcpd -q -cf $DHCPPATH -pf /var/run/dhcp3-server/dhcpd.pid $TUNIFACE &

— Reply to this email directly or view it on GitHub https://github.com/brav0hax/easy-creds/issues/19#issuecomment-67257918.

ThomasMW commented 9 years ago

Weird, for some reason it didn't work untill I changed it.

I didn't make use of a dhcpd.conf while setting up the AP in Easy-Creds. Maybe I did something wrong?

brav0hax commented 9 years ago

not sure but I know I addressed the whole dhcp server issue in v3.8-dev

I'll probably remove it if I ever get 4.0 finished.

On Tue, Dec 16, 2014 at 4:25 PM, ThomasMW notifications@github.com wrote:

Weird, for some reason it didn't work untill I changed it.

I didn't make use of a dhcp.conf while setting up the AP in Easy-Creds. Maybe I did something wrong?

— Reply to this email directly or view it on GitHub https://github.com/brav0hax/easy-creds/issues/19#issuecomment-67258279.

Bhomaidan commented 9 years ago

dsniff is sniffing on eth0 and disconnecting my internet access > how to change interface to at0 ?

Bhomaidan commented 9 years ago

fake AP isn't neighther ( giving ip over isc-dhcp ) or (internet Access)