Git Product home page Git Product logo

habu's People

Contributors

fabaff avatar fportantier avatar gpotter2 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

habu's Issues

Suppress scapy IPv6 warning

Hi,
This is a interesting project using "Scapy-Python3" to build networking tools.

I suggest to suppress the WARNING caused by scapy.

WARNING: No route found for IPv6 destination :: (no default route?)

AndyLee

error when try to install habu

I've got these comment below when trying to install habu using sudo pip3 install habu :

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-2s2bcpwn/pycrypto/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-eq7sy789-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-2s2bcpwn/pycrypto/

README.md missing on pypi, setup fails

In the last two or three days:

$ pip3 install habu
Collecting habu
  Downloading https://files.pythonhosted.org/packages/c1/a5/db298f9b1e094167c39a39015336834c13482d05a97577770ce8cc539ab0/habu-0.0.72.tar.gz (731kB)
    100% |████████████████████████████████| 737kB 16.4MB/s 
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-qahj4zof/habu/setup.py", line 3, in <module>
        with open('README.md') as f:
    FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-qahj4zof/habu/

I downloaded and unpacked habu-0.0.72.tar.gz manually, and sure enough, README.md isn't in there.

arp.sniff reporting error

Running habu.sniff.arp on Mac OS X produces the following error:

$ habu.arp.sniff
Waiting for ARP packets...
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/habu.arp.sniff", line 10, in
sys.exit(cmd_arp_sniff())
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/habu/cli/cmd_arp_sniff.py", line 61, in cmd_arp_sniff
sniff(filter="arp", store=False, prn=procpkt)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/scapy/sendrecv.py", line 886, in sniff
r = prn(p)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/habu/cli/cmd_arp_sniff.py", line 24, in procpkt
hosts[pkt[ARP].psrc]['vendor'] = conf.manufdb._get_manuf(pkt[ARP].hwsrc)
AttributeError: 'NoneType' object has no attribute '_get_manuf'

shodan api

Describe the bug
shodan api key config file to update>?

To Reproduce
habu.shodan.open

Expected behavior
to show the scanned results.

Environment

  • OS: kali

Blackarch dependency version issue prompt_toolkit==1.0.15

I've installed Habu on Arch Linux, through the BlackArch repo.
However, none of the dependencies get picked up during the installation and even after installing them manually one issue remains. The version of prompt_toolkit is somehow locked to 1.0.15. Without virtualenv Arch linux does not support version locking like this.

Is there a reason to stick to this specific version and if not, what should I modify to just use the latest version of prompt_toolkit?


Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 791, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (prompt-toolkit 2.0.7 (/usr/lib/python3.7/site-packages), Requirement.parse('prompt_toolkit==1.0.15'), {'habu'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/habu.arp.poison", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3191, in <module>
    @_call_aside
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3175, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3204, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 585, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'prompt_toolkit==1.0.15' distribution was not found and is required by habu

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.