Skip to content

How to launch pcap2curl?Β #9

@UNIVAC-Colonel-Panic

Description

@UNIVAC-Colonel-Panic

Hi Johannes,

Raspberry Pi running Raspbian Jessie

After installing, scapy is found in $PATH OK. Is pcap2curl or pcap2curl.py supposed to be found in $PATH?

Here's what I've done so far:

$ python3 --version
Python 3.4.2

$ sudo pip3 install --upgrade pip setuptools wheel
(successful install)
$ sudo pip3 install scapy
(version 2.4.0 was installed)
$ type scapy
/usr/local/bin/scapy

$ wget https://github.com/jullrich/pcap2curl/archive/master.zip
$ mv -i master.zip pcap2curl-master.zip
$ unzip pcap2curl-master.zip 
$ cd pcap2curl-master/
$ sudo python3 setup.py install
(successful install)

$ type pcap2curl
-bash: type: pcap2curl: not found
$ type pcap2curl.py
-bash: type: pcap2curl.py: not found

$ sudo find /usr -type f -name "pcap2curl*"
/usr/local/lib/python3.4/dist-packages/pcap2curl-0.1-py3.4.egg
$ cd /usr/local/lib/python3.4/dist-packages/
$ ls -l
total 52
-rw-r--r--  1 root staff   26 Apr  8 16:16 easy-install.pth
-rw-r--r--  1 root staff  126 Apr  8 16:12 easy_install.py
-rw-r--r--  1 root staff 1038 Apr  8 16:16 pcap2curl-0.1-py3.4.egg
drwxr-sr-x 11 root staff 4096 Apr  8 16:12 pip
drwxr-sr-x  2 root staff 4096 Apr  8 16:12 pip-9.0.3.dist-info
drwxr-sr-x  5 root staff 4096 Apr  8 16:12 pkg_resources
drwxr-sr-x  2 root staff 4096 Apr  8 16:12 __pycache__
drwxr-sr-x  9 root staff 4096 Apr  8 16:15 scapy
drwxr-sr-x  2 root staff 4096 Apr  8 16:15 scapy-2.4.0.dist-info
drwxr-sr-x  6 root staff 4096 Apr  8 16:12 setuptools
drwxr-sr-x  2 root staff 4096 Apr  8 16:12 setuptools-39.0.1.dist-info
drwxr-sr-x  5 root staff 4096 Apr  8 16:12 wheel
drwxr-sr-x  2 root staff 4096 Apr  8 16:12 wheel-0.31.0.dist-info
$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions