Ettercap for Android ARM

Search This thread

onaips

Senior Member
May 2, 2010
101
57
Porto
www.onaips.com
Hi guys, just to let you know, i successfully compiled ettercap for android!
This is a command-line tool only(for now) so if you never used ettercap, try it first on your PC.


What is working now (that i've tested):
- Text only support
- ARP spoofing
- ...

Not Working:
- Plugin Loading (should be easy to fix)
- Curses (is it really necessary?)

Sample usage on my galaxy S:
Code:
./ettercap -i eth0 // // -qT -M ARP

Now, use with care :p
I'd appreciate if someone write a how-to for "non-geeks", and a better mirror.

Download 0.11
Mirror (courtesy of a1Pha)

Cheers
 
Last edited:

dazdaz

Senior Member
Apr 30, 2010
104
3
Hi,

How did you cross compile it, and did you upload the diff back to ettercap project ? They would benefit from the changes.

I did the following to get it to work so I could execute the file from the sdcard.

# mount -o remount,rw,dirsync,nosuid,nodev,exec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro -t vfat /dev/block/vold/179:1 /mnt/sdcard

# ./ettercap -i eth0 // // -qT -M ARP
 
Last edited:

onaips

Senior Member
May 2, 2010
101
57
Porto
www.onaips.com
Link updated.

There is only one line of code modified from the original project, which sets the uid and gid to another than root, and prevents ettercap from working correctly, so i commented it and now it works well. Later ill make a tutorial on how to build it.

Cheers
 

mr_bomber

New member
Jan 9, 2011
3
0
Great work onaips. But how to install it? Do you have any guide ready?

I can not find out a way to install it.
 

skafan2

Senior Member
Dec 28, 2010
97
10
Great job here, I use Ettercap on my laptop pretty frequently, and have been waiting for an Android port. The only problem is that I keep on getting a permission error using my personal terminal emulator.

After getting su permissions, I type:
# ./ettercap -i eth0 // // -qT -M AR

Then, it just spits out:
./ettercap: permission denied

Any thoughts?
 

badook

Member
Sep 8, 2009
44
10
Still no luck with the plugins? Can someone help?
@skafan2 you probably are trying to run it from your sdcard, on a fat partition. Try to move it to the /system directory, or any other place formatted as ext-*
 

skatopsixos

Senior Member
Mar 23, 2011
89
9
Hi,

How did you cross compile it, and did you upload the diff back to ettercap project ? They would benefit from the changes.

I did the following to get it to work so I could execute the file from the sdcard.

# mount -o remount,rw,dirsync,nosuid,nodev,exec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro -t vfat /dev/block/vold/179:1 /mnt/sdcard

# ./ettercap -i eth0 // // -qT -M ARP

Hey.... Many many many thanks, but i have a question..
i run debian-ubuntu-bt5 on my HTC DesireZ and i can not run ettercap because of some Fatal error with the Layer 3 (wich is the internet layer). Then, i was suspicious with the interface (eth0). Eth0 refers to ethernet connection and i am connected wireless (is this the problem)????? i tried to change my eth0 interface with the wlan0 but without luck.... please help me how to make it work....

Thank u again :p
 

tohitsugu

New member
Oct 1, 2010
2
0
dude on most mobiles wifi= eth0 or tiwlan0 so quit trying to change it to wlan0. Also, are you talking about the android ettercap binary or the debian chroot version? also post exactly what it says if you can
 

gnarfoleon

New member
Feb 8, 2011
2
0
links dead :(

Both links are dead. Can you fix it?

You can mail me the app, i can mirror it for you if you'd like.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Hi guys, just to let you know, i successfully compiled ettercap for android!
    This is a command-line tool only(for now) so if you never used ettercap, try it first on your PC.


    What is working now (that i've tested):
    - Text only support
    - ARP spoofing
    - ...

    Not Working:
    - Plugin Loading (should be easy to fix)
    - Curses (is it really necessary?)

    Sample usage on my galaxy S:
    Code:
    ./ettercap -i eth0 // // -qT -M ARP

    Now, use with care :p
    I'd appreciate if someone write a how-to for "non-geeks", and a better mirror.

    Download 0.11
    Mirror (courtesy of a1Pha)

    Cheers