Monday, May 2, 2011

Scapy Installation

The easiest way to install and keep updates of scapy is by using mercurial. I prefer to use Ubuntu, rather than Windows, because I don't want to keep thinking about compability things and all other unnecessary stuff to think about. Just to keep my mind focused.

Okay, here is how it is done:
Install mercurial
#apt-get install mercurial
Check out a clone of Scapy’s repository. Here, you'll get the latest development version of it.
# hg clone http://hg.secdev.org/scapy
It will create a new directory named after 'scapy'. Here, all scapy codes are copied. You can either install it to your system (enter to this directory, run 'sudo python setup.py install') or run it directly (using run_scapy.bat).
To keep update with the latest contribution, use the following step:
# hg pull
# hg update
Then, install/run run_scapy as usual.

1 comment:

  1. How would you update on a Windows machine? Also, how do you get the 'contrib' package?

    Thanks,

    michal

    ReplyDelete