Git Product home page Git Product logo

pcap2curl's People

Contributors

jason2605 avatar jonasbn avatar jullrich avatar matir avatar yoavtzelnick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pcap2curl's Issues

How to launch pcap2curl?

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
$

user cannot set the output's scheme

Current behaviour:
Seems that any input generates "https" output

Desired:
User may indicate which scheme they want in the generated URL: http/https.

What inputfile?

Thanks for making this script. Can I know what inputfile the program requires? Thanks :)

Suggestion: Use Python3 Syntax

At a glance, this would run fine in Python3 if the print statements used parentheses. Please consider updating your syntax to work with modern Python versions.

Thanks!

P.S. If you'd prefer this suggestion in the form of a pull request, I'll gladly oblige.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.