Code Monkey home page Code Monkey logo

rezilion / mi-x Goto Github PK

View Code? Open in Web Editor NEW
140.0 140.0 9.0 3.25 MB

Determine whether your compute is truly vulnerable to a specific vulnerability by accounting for all factors which affect *actual* exploitability (runtime execution, configuration, permissions, existence of a mitigation, OS, etc..)

Home Page: https://www.rezilion.com/rezilion-tools/am-i-exploitable/

License: GNU Affero General Public License v3.0

Python 100.00%
appsec security vulnerability-assessment vulnerability-validation

mi-x's People

Contributors

ofriouzan avatar ofriouzanrezilion avatar pyotam 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

mi-x's Issues

xdg-open problem

Hi, if I try and run this on Ubuntu:22.04 running on WSL2 on Windows I get the following error, if I set --graph True:

Is vulnerable to CVE-2014-7187?
Yes
Your system is vulnerable to CVE-2014-7187
Traceback (most recent call last):
  File "/mi-x/am_i_exploitable.py", line 126, in <module>
    main()
  File "/mi-x/am_i_exploitable.py", line 121, in main
    checks_cve_id_parameter(args.cve_id, args.describe, args.debug, args.graph, container_name='')
  File "/mi-x/am_i_exploitable.py", line 70, in checks_cve_id_parameter
    run(vulnerability, describe, graph, debug, container_name)
  File "/mi-x/am_i_exploitable.py", line 52, in run
    run_cve_check(cve_id, describe, graph, debug, container_name)
  File "/mi-x/am_i_exploitable.py", line 43, in run_cve_check
/usr/bin/xdg-open: 882: w3m: not found
xdg-open: no method available for opening 'Log4Shell.pdf'
    cve_validation.main(describe, graph, debug, container_name)
  File "/mi-x/cves/shellshock.py", line 283, in main
    validation_flow_chart()
  File "/mi-x/cves/shellshock.py", line 229, in validation_flow_chart
    vol_graph = graphviz.Digraph('G', filename={CVE_ID})
  File "/usr/local/lib/python3.10/dist-packages/graphviz/_tools.py", line 171, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/graphviz/graphs.py", line 67, in __init__
    super().__init__(name=name, comment=comment,
  File "/usr/local/lib/python3.10/dist-packages/graphviz/dot.py", line 113, in __init__
    super().__init__(**kwargs)
  File "/usr/local/lib/python3.10/dist-packages/graphviz/saving.py", line 35, in __init__
    self.filename = os.fspath(filename)
TypeError: expected str, bytes or os.PathLike object, not set

If I run without, e.g., python3 am_i_exploitable.py --cve_id all then I don't see it, instead I see:

Is vulnerable to CVE-2014-7187?
Yes
Your system is vulnerable to CVE-2014-7187

NIMBUSPWN - CVE-2022-29799, CVE-2022-29800
...
...

Is it possible to handle the error that xdg-open can't open files (e.g., pdfs) and enable the scan to complete?

Thanks.

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.