[go: up one dir, main page]

File: run_scapy

package info (click to toggle)
scapy 2.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,564 kB
  • ctags: 10,248
  • sloc: python: 49,469; makefile: 61; sh: 21
file content (8 lines) | stat: -rwxr-xr-x 174 bytes parent folder | download
1
2
3
4
5
6
7
8
#! /bin/sh
DIR=$(dirname $0)
if python --version 2>&1 | grep -q '^Python 2'; then
    PYTHON=python
else
    PYTHON=python2
fi
PYTHONPATH=$DIR exec $PYTHON -m scapy.__init__