If this is your first visit, be sure to
check out the Forum Rules by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Crap pastebin is down and I don't have the script XD yeah i know.. backup well I didnt :P .. Working on my Jasager on Fonera+ and successfully got ettercap installed on it. But I forgot how the heck I got ettercap working the way I want it to.

Would anyone mind providing me with the script if they have it somewhere?
edit: It's back up again, phew ...

Speed

As a lot of you know Badkarma has written a wicket rouge AP with Karma functionality that uses ettercap for packet capture and manipulation. It is not only vary well written but made for BT4. Seems all his apps are for BT4 now...

The P C 60 seem to work fine etc. I have tried more or less every softAP out there, but they all seem to suffer from one detail. They are slow. I am not to sure if fragmentation is the whole story. Has ANYBODY had a rougeAP working that runs really well? If so what wifi card/s are you using?

onryo

Let me explain officer, I am not a hacker. I am a security tester of sorts!

I can't get the internet access on the rogue AP to work at all. I have modded the script slightly to make it work with dhcpd3 on BT4. I'm using BT4 in VMWare with Alfa USB and wired ethernet. Also modded it so it does not use the -p -c flags to interfere with other clients or AP's, and also removed ettercap for now while I try to get it to work.

The client gets through the full DHCP cycle, discover, offer, request, ack. Clients gets an IP. I can see in Wireshark that the doman names are resolving successfully, but no internet access. Tried using MTU 1500 and 1400. Also checked I have internet access in BT4 by doing wget. Here's the modded script:

same problem here, i can connect to my access point, but not to the internet. i have used your modified code.
(p.s. does anybody know how to rewrite it, to forward all urls to an apache webserver running on the the same machine like the access point?)

I've finally got this working after a long while. My setup is as follows:

Vista laptop running BT4-Beta in VMWare Player
Internet source is a wireless connection using the on board laptop wifi card, to my Netgear DG834GT router.
Using the Alfa USB wifi adapter for creating the AP.

Below is the script which I have modified to get it to work with BT4-Beta. I haven't tried it in BT4 PreFinal.

Note: The script is also modified so that it will not use the -P and -C options of airbase (the ones which interfere with other clients aka illegal). If you want that on then uncomment and comment the relevant lines.
I also have the ettercap section of the script commented out because I found that BT lagged too much or crashed, you can try it though, just uncomment the line.
Also: I have modified the script so that it does not ask for the wireless and Internet source interfaces - I got sick of typing wlan0 and eth0 everytime I ran the script. It only asks for the AP SSID, the two interfaces are hard coded as wlan0 for the Alfa, and eth0 for the Internet source (even though my Internet source is wireless not ethernet).

This is running very fast from the client's point of view, I can surf online and I can't tell the difference between using the rogue AP or connecting directly to the router. I have only tried this using an iPhone as the client so far. I can also open up Wireshark and listen on the at0 interface to capture all the traffic passed through the rogue AP.

Be sure to turn networking on in BT before running the script - otherwise BT will not have an Internet connection to route for the clients. I do this by:

Code:

/etc/init.d/networking start

Then I do a quick test using wget to verify that my internet connection is available to BT.: