Giter Site home page Giter Site logo

nmass's People

Contributors

chesteroni avatar mkjasinski avatar

Watchers

 avatar  avatar

nmass's Issues

Import checking

Nmass' plugins do import a ton of various libraries. Nmass SHOULD NOT enforce having all of them being available in every run because users can specify only a subset of plugins.
However for each plugin specified to be used (or all of them if no plugins specified) there should be a prerequisites check being done on nmass start.

whitelisting

nmass should have feature allowing for excluding some host/port from plugin or globally.
Imagine you have an FTP anonymous server in infrastructure and this is well-known server (e.g. free software mirror). Scheduled reporting should not contain the same false-positive in each run.
All the exclusions should be configured globally in yaml file.

code refactoring

  • remove unused classes, functions, etc.
  • remove unnecessary classes, change to functions
  • requirements.txt with all libs

Doc improvement

Doc should contain detailed walkthrough from masscan run through nmass scan to email reporting with findings (if any).
This should ease wide adoption of nmass.

Error druing the file name

Command:

python nmass.py --inmass=output.xml --intype=xml --scripts=mysql,smtp --out=csv`

Result:

Traceback (most recent call last):
  File "nmass.py", line 133, in <module>
    sectest()
  File "/Library/Python/2.7/site-packages/click/core.py", line 610, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/click/core.py", line 590, in main
    rv = self.invoke(ctx)
  File "/Library/Python/2.7/site-packages/click/core.py", line 782, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Python/2.7/site-packages/click/core.py", line 416, in invoke
    return callback(*args, **kwargs)
  File "nmass.py", line 108, in sectest
    second_line = inmass.name + "\n" + scripts + "\n" + intype + "\n" + out
AttributeError: 'unicode' object has no attribute 'name'

błąd podczas obsługi pliku

Po wywołaniu polecenia:
python nmass.py --inmass=./test.xml

Otrzymuję błąd:

Found saved state, resuming
Traceback (most recent call last):
  File "nmass.py", line 119, in <module>
    sectest()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "nmass.py", line 54, in sectest
    if state_content[4] == "<stdin>":
IndexError: list index out of range

W razie wyjątku w obsłudze pliku stanu powinien być on ignorowany.

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.