Coder Social home page Coder Social logo

log4jtool's Introduction

log4jtool

Find vulnerable versions of Log4j on Linux

This tool does not change anything, it will iterate through the filesystem looking for Java packages and when it finds them it will read the manifest looking for vulnerable versions of Log4J and will report the package that contains them.

To run the tool

sudo ./log4jtool

It doesn't need full root permissions but root will allow it to read anything it could find. It will search the filesystem for java packages, .Jar files, .War files and .Ear files. It will read the contents looking for instances of Log4j and if it finds them it will read the manifest and compare the versions against known vulnerable versions. It is safe to run and doesn't modify anything.

The output looks like:

File: /home/spyderbat/test/log4j/log4j-1.2.12.jar    contains version: 1.2.12  which is not-vulnerable
File: /home/spyderbat/testx/apache-tomcat-8.5.73/webapps/log4shell-demo.war    contains version: 2.14.1  which is vulnerable

Log4jTool X86_64 Log4jTool ARM64

log4jtool's People

Contributors

spyder-ian avatar bsmith1180 avatar

Stargazers

 avatar  avatar Brent Haub avatar John Moen avatar Jeff Noxon avatar  avatar  avatar

Watchers

 avatar  avatar

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.