Giter VIP home page Giter VIP logo

Comments (5)

erottier avatar erottier commented on August 24, 2024 1

Since the 1.2.0 version the scan keeps running this time!
Since it keeps running it's no biggie for me anymore.

Error is the same.

from log4j-finder.

yunzheng avatar yunzheng commented on August 24, 2024

Strange, the duplication of "Application Data" in the path also seem to indicate some deep recursion.. Is it possible for you to go the specific machines specifically and see if that path is correct?

from log4j-finder.

KrisJanssen avatar KrisJanssen commented on August 24, 2024

Symlinks often causes issues: other projects scanning for this vulnerability ignore them. Consider:

def iter_scandir(path, stats=None, exclude=None):
    """
    Yields all files matcthing JAR_EXTENSIONS or FILENAMES recursively in path
    """
    p = Path(path)
    if p.is_file() and **not p.is_symlink():**
        if stats is not None:
            stats["files"] += 1
        yield p
        return
    if stats is not None:
        stats["directories"] += 1
    try:
        for entry in scantree(path, stats=stats, exclude=exclude):
            if entry.is_symlink():
                continue
            elif entry.is_file():
                name = entry.name.lower()
                if name.endswith(JAR_EXTENSIONS):
                    yield Path(entry.path)
                elif name in FILENAMES:
                    yield Path(entry.path)
    except IOError as e:

from log4j-finder.

erottier avatar erottier commented on August 24, 2024

Strange, the duplication of "Application Data" in the path also seem to indicate some deep recursion.. Is it possible for you to go the specific machines specifically and see if that path is correct?

I can actually browse to that specific folder. 0.o
It could be a long filename issue and/or what @KrisJanssen said, sound plausible. :)

from log4j-finder.

yunzheng avatar yunzheng commented on August 24, 2024

Since the 1.2.0 version the scan keeps running this time! Since it keeps running it's no biggie for me anymore.

Error is the same.

Good to know! Will close this issue.

from log4j-finder.

Related Issues (20)

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.