FORUMS

Analysis & Opinion

Top Forum Discussions

Ettercap for Android ARM

101 posts
Thanks Meter: 50
 
By onaips, Senior Member on 25th December 2010, 08:42 PM
Post Reply Subscribe to Thread Email Thread
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 by onaips; 21st January 2011 at 02:54 PM.
The Following User Says Thank You to onaips For This Useful Post: [ View ]
 
 
2nd January 2011, 07:52 PM |#2  
Junior Member
Thanks Meter: 0
 
More
How did You do that?
2nd January 2011, 08:44 PM |#3  
Senior Member
Thanks Meter: 2
 
More
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=00 20,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 by dazdaz; 2nd January 2011 at 08:56 PM.
5th January 2011, 09:07 PM |#4  
Senior Member
Flag Warsaw
Thanks Meter: 27
 
More
Can you reupload the file. Thanks.
7th January 2011, 11:33 PM |#5  
OP Senior Member
Flag Porto
Thanks Meter: 50
 
Donate to Me
More
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
15th January 2011, 02:43 PM |#6  
Junior Member
Thanks Meter: 0
 
More
Great work onaips. But how to install it? Do you have any guide ready?

I can not find out a way to install it.
17th January 2011, 10:26 PM |#7  
skafan2's Avatar
Member
Thanks Meter: 10
 
More
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?
21st January 2011, 02:53 PM |#8  
OP Senior Member
Flag Porto
Thanks Meter: 50
 
Donate to Me
More
Try to give it executable permissions,

chmod 777 ettercap
22nd January 2011, 09:28 PM |#9  
skafan2's Avatar
Member
Thanks Meter: 10
 
More
Quote:
Originally Posted by onaips

Try to give it executable permissions,

chmod 777 ettercap

No luck, but thanks for the suggestion. It still gives the same permission denied error. None of the other files in the folder have permission as well, not even with the chmod command.
20th February 2011, 12:31 PM |#10  
Member
Thanks Meter: 10
 
More
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-*
30th May 2011, 03:06 PM |#11  
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by dazdaz

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=00 20,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

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes