Coder Social home page Coder Social logo

pcap-analyzer's People

Contributors

evilmoonem avatar le4f 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  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

pcap-analyzer's Issues

pip in stall error

C:\Users\duckzheng\Documents\GitHub\pcap-analyzer [master ≡ +1 ~0 -1 !]> pip in
stall -r requirements.txt
Traceback (most recent call last):
File "C:\Python27\Scripts\pip-script.py", line 9, in
load_entry_point('pip==1.4.1', 'console_scripts', 'pip')()
File "C:\Python27\lib\site-packages\pkg_resources.py", line 357, in load_entry
point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Python27\lib\site-packages\pkg_resources.py", line 2394, in load_entr
y_point
return ep.load()
File "C:\Python27\lib\site-packages\pkg_resources.py", line 2108, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "C:\Python27\lib\site-packages\pip_init
.py", line 10, in
from pip.util import get_installed_distributions, get_prog
File "C:\Python27\lib\site-packages\pip\util.py", line 17, in
from pip.vendor.distlib import version
File "C:\Python27\lib\site-packages\pip\vendor\distlib\version.py", line 13, i
n
from .compat import string_types
File "C:\Python27\lib\site-packages\pip\vendor\distlib\compat.py", line 38, in

Error when running analy

capture
capture1

When running an analysis I get the attached error message. It could be that I'm missing a dependency
but that's not clear from the error.
If you have any suggestions on how to resolve the issue I'd much appreciate that.

add default tshark_path for CentOS7

Hi,when i try pcap-analyzer in CentOS7,TSharkNotFoundException occured.

TSharkNotFoundException: TShark not found in the following locations: C:\Program Files\Wireshark\tshark.exe, /usr/bin/tshark, /usr/lib/tshark, /usr/local/bin/tshark Either place tshark there or add more paths to the config file.

the reason is default tshark path "/usr/sbin/tshark" of CentOS7 is not in all your possible_paths.
so why not add it? even though i can add it to config.ini.

def get_tshark_path():
    """
    Finds the path of the tshark executable. If the user has specified a
    location in config.ini it will be used. Otherwise default locations
    will be searched.

    :raises TSharkNotFoundException in case TShark is not found in any location.
    """
    config = get_config()

    if sys.platform.startswith('win'):
        win32_progs = os.environ.get('ProgramFiles(x86)', '')
        win64_progs = os.environ.get('ProgramFiles', '')
        tshark_path = ('Wireshark', 'tshark.exe')
        possible_paths = [config.get('tshark', 'tshark_path'),
                          os.path.join(win32_progs, *tshark_path),
                          os.path.join(win64_progs, *tshark_path)]
    else:
        possible_paths = [config.get('tshark', 'tshark_path'),
                          '/usr/bin/tshark',
                          '/usr/sbin/tshark',
                          '/usr/lib/tshark',
                          '/usr/local/bin/tshark']

    for path in possible_paths:
        if os.path.exists(path):
            return path
    raise TSharkNotFoundException('TShark not found in the following locations: ' + ', '.join(possible_paths) +
                                  ' Either place tshark there or add more paths to the config file.')

pip install error

Could not find a version that satisfies the requirement Flask==0.10.1 (from -r requirements.txt (line 2)) (from versions: )
No matching distribution found for Flask==0.10.1 (from -r requirements.txt (line 2))

install requirements error

Hi,i try to install pcap-analyzer in CentOS7
but when install requirements ,error happended.
i just remove "--index-url http://mirrors.aliyun.com/pypi/simple/",
then install requirements success,just a little slow.
maybe you should not to use mirrors.aliyun.com.

[root@localhost pcap-analyzer]# pip install -r requirements.txt
/usr/lib/python2.7/site-packages/pip-7.1.0-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Collecting Flask==0.10.1 (from -r requirements.txt (line 2))
  The repository located at mirrors.aliyun.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host mirrors.aliyun.com'.
  Could not find a version that satisfies the requirement Flask==0.10.1 (from -r requirements.txt (line 2)) (from versions: )
No matching distribution found for Flask==0.10.1 (from -r requirements.txt (line 2))

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.