FORUMS

EVLeaks Shows Off Possible BlackBerry Android Phone

It wasn’t too long ago that we received reports of BlackBerry planning to use … more

Mysterious GG1 Google Device Stops by FCC. Glass v2?

As the year progresses, we draw further away from Google’s annual I/O … more

Material and Material Dark Hit Samsung’s Theme Store

The latest version of Touchwiz, launched alongside the Galaxy S6 and S6 Edge, … more

Swappa’s New App Helps You Value Your Device

There comes a sad time in everyone’s life where you must part ways with your … more

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: 8
 
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-*
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes