• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance) CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission) ROMs must give full credit to the original author ISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

[DEV] scapy module for python2.6

4 posts in this topic

Hi all,

At first: sorry for my English, I am from Czech rep. :P

I am successfully ported scapy module for python, runs great :lol:


1) sl4a with python 2.6 interpret

2) pyconfig.h - just copy a source code and paste to new file named pyconfig.h

3) Makefile - same operation as pyconfig.h

4) Scapy module (.zip)

5) rooted device


1) follow these tutorial on xda link (you need to run install.py script with "install" parameter).

2) copy Makefile to "/data/data/com.googlecode.pythonforandroid/files/python/lib/python2.6/config/" if missing folders, create it

3) copy pyconfig.h to "/data/data/com.googlecode.pythonforandroid/files/python/include/python2.6/" if missing folders, create it

4) unzip all files from downloaded scapy archive and copy to "/sdcard/sl4a/scripts/"

5) edit last line to: /data/data/com.googlecode.pythonforandroid/files/python/bin/python "/sdcard/sl4a/scripts/setup.py" install

Thats all. Tested with my HTC Desire (leedroid, 2.2 Froyo)

Edited by Ponyta

Share this post

Link to post
Share on other sites

Dears Ponyta,

It's a very nice job, it's working very well on Samsung galaxy S II !!!

Just one point :

5) edit last line to: /data/data/com.googlecode.pythonforandroid/files/python/bin/python "/sdcard/sl4a/scripts/setup.py" install

If you follow step one you can write

py "/sdcard/sl4a/scripts/setup.py" install

Thank's you very much !!

Can you tell me why you use scapy on your phone ?


Share this post

Link to post
Share on other sites

to pilpoile: Experiments, especially experiments, but nothing major..

For example I write in PyScapy equivalent of GNU Driftnet (capturing pictures from TCP flow) originally for GNU/linux, because original is not supporting monitor mode, otherwise on phone monitor mode is not available, at least it was more fun :)

Call of Duty 2 DoS script, which adds fake players to game server

Some experimental scripts for arp / cookies spoofing...

Of course, this module is more or less useless on phone, but for someone can be good fun, mainly if you often boring in some public places :D


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.