5,601,223 Members 57,434 Now Online
XDA Developers Android and Mobile Development Forum

Ettercap for Android ARM

Tip us?
 
onaips
Old
(Last edited by onaips; 21st January 2011 at 02:54 PM.)
#1  
Senior Member - OP
Thanks Meter 50
Posts: 101
Join Date: May 2010
Location: Porto

 
DONATE TO ME
Default Ettercap for Android ARM

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
personal blog - a small contribute to technology, and misc art
The Following User Says Thank You to onaips For This Useful Post: [ Click to Expand ]
 
grpi84
Old
#2  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jan 2011
How did You do that?
 
dazdaz
Old
(Last edited by dazdaz; 2nd January 2011 at 08:56 PM.)
#3  
Senior Member
Thanks Meter 2
Posts: 102
Join Date: Apr 2010
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
 
hotweiss
Old
#4  
Senior Member
Thanks Meter 23
Posts: 1,483
Join Date: Jun 2009
Location: Warsaw
Can you reupload the file. Thanks.
 
onaips
Old
#5  
Senior Member - OP
Thanks Meter 50
Posts: 101
Join Date: May 2010
Location: Porto

 
DONATE TO ME
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
personal blog - a small contribute to technology, and misc art
 
mr_bomber
Old
#6  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jan 2011
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
Old
#7  
skafan2's Avatar
Member
Thanks Meter 10
Posts: 97
Join Date: Dec 2010
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?
 
onaips
Old
#8  
Senior Member - OP
Thanks Meter 50
Posts: 101
Join Date: May 2010
Location: Porto

 
DONATE TO ME
Try to give it executable permissions,

chmod 777 ettercap
personal blog - a small contribute to technology, and misc art
 
skafan2
Old
#9  
skafan2's Avatar
Member
Thanks Meter 10
Posts: 97
Join Date: Dec 2010
Quote:
Originally Posted by onaips View Post
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.
 
badook
Old
#10  
Member
Thanks Meter 7
Posts: 30
Join Date: Sep 2009
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-*

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Decompile, Edit, and Recompile in One Tool with APK Studio

If you’ve ever modified precompiled applications, you have undoubtedly spent … more

TasGear: A Tasker Extension for the Samsung Galaxy Gear

With wearable technology taking center stage this year, one can only expect more … more

Intelligently Place Contacts on Your Home Screen with CallWho Widget

There are plenty of ways to get your contacts to show up on your … more