You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change download location for Windows from scapy.net to hg repo
The ZIP file available at http://scapy.net/ has an additional header to
make it startable on Linux. This confuses the Windows internal unzipper
and causes warnings about corrupted archives. The files can be
extracted with 7-Zip or InfoUnzip, but this might be inconvenient
for a lot of users. So we now point to the Hg repo which carries
an unmodified ZIP.
* * *
Fixed duplicate reference in install.rst
The duplicate reference "latest version" gave a Sphinx warning.
* * *
Updated version number of Scapy documentation
* * *
Fixed typo in Windows installation doc
Copy file name to clipboardexpand all lines: doc/scapy/installation.rst
+13-3
Original file line number
Diff line number
Diff line change
@@ -44,25 +44,35 @@ Make sure you have Python installed before you go on.
44
44
Latest release
45
45
--------------
46
46
47
-
Download the `latest release<http://scapy.net>`_ to a temporary directory and install it in the standard `distutils <http://docs.python.org/inst/inst.html>`_ way::
47
+
Download the `latest version<http://scapy.net>`_ to a temporary directory and install it in the standard `distutils <http://docs.python.org/inst/inst.html>`_ way::
48
48
49
49
$ cd /tmp
50
50
$ wget scapy.net
51
51
$ unzip scapy-latest.zip
52
52
$ cd scapy-2.*
53
53
$ sudo python setup.py install
54
54
55
-
Alternatively, you can make the zip file executable, move it to a directory in your PATH and run it directly::
55
+
Alternatively, you can execute the zip file::
56
56
57
57
$ chmod +x scapy-latest.zip
58
58
$ sudo ./scapy-latest.zip
59
59
60
+
or::
61
+
62
+
$ sudo sh scapy-latest.zip
63
+
64
+
or::
65
+
66
+
$ mv scapy-latest.zip /usr/local/bin/scapy
67
+
$ sudo scapy
68
+
60
69
.. note::
61
70
62
71
To make a zip executable, some bytes have been added before the zip header.
63
72
Most zip programs handle this, but not all. If your zip program complains
64
73
about the zip file to be corrupted, either change it, or download a
65
74
non-executable zip at http://hg.secdev.org/scapy/archive/tip.zip
75
+
66
76
67
77
Current development version
68
78
----------------------------
@@ -372,7 +382,7 @@ Scapy is primarily being developed for Unix-like systems and works best on those
372
382
You need the following software packages in order to install Scapy on Windows:
373
383
374
384
* `Python <http://www.python.org>`_: `python-2.5.4.msi <http://www.python.org/ftp/python/2.5.4/python-2.5.4.msi>`_. `python-2.6.3.msi <http://www.python.org/ftp/python/2.6.3/python-2.6.3.msi>`_. After installation, add the Python installation directory and its \Scripts subdirectory to your PATH. Depending on your Python version, the defaults would be ``C:\Python25`` and ``C:\Python25\Scripts`` or ``C:\Python26`` and ``C:\Python26\Scripts`` respectively.
375
-
* `Scapy <http://www.secdev.org/projects/scapy/>`_: `latest version from the Mercurial repository <http://scapy.net>`_. Unzip the archive, open a command prompt in that directory and run "python setup.py install".
385
+
* `Scapy <http://www.secdev.org/projects/scapy/>`_: `latest development version <http://hg.secdev.org/scapy/archive/tip.zip>`_ from the `Mercurial repository <http://hg.secdev.org/scapy>`_. Unzip the archive, open a command prompt in that directory and run "python setup.py install".
* `WinPcap <http://www.winpcap.org/>`_: `WinPcap_4_1_1.exe <http://www.winpcap.org/install/bin/WinPcap_4_1_1.exe>`_. You might want to choose "[x] Automatically start the WinPcap driver at boot time", so that non-privileged users can sniff, especially under Vista and Windows 7. If you want to use the ethernet vendor database to resolve MAC addresses or use the ``wireshark()`` command, download `Wireshark <http://www.wireshark.org/>`_ which already includes WinPcap.
378
388
* `pypcap <http://code.google.com/p/pypcap/>`_: `pcap-1.1-scapy-20090720.win32-py25.exe <http://www.secdev.org/projects/scapy/files/pcap-1.1-scapy-20090720.win32-py2.5.exe>`_ `pcap-1.1-scapy-20090720.win32-py2.6.exe <http://www.secdev.org/projects/scapy/files/pcap-1.1-scapy-20090720.win32-py2.6.exe>`_. This is a *special version for Scapy*, as the original leads to some timing problems. Now works on Vista and Windows 7, too. Under Vista/Win7 please right-click on the installer and choose "Run as administrator".
0 commit comments