Skip to content

Instantly share code, notes, and snippets.

@raulillana
Created December 14, 2021 12:00
Show Gist options
  • Save raulillana/f92da1ba083903de82b0a5d162edc4f8 to your computer and use it in GitHub Desktop.
Save raulillana/f92da1ba083903de82b0a5d162edc4f8 to your computer and use it in GitHub Desktop.
Log4j apartheid
#Find evidence of log4j usage on Linux servers with these 3 commands
ps aux | egrep '[l]og4j'
find / -iname "log4j*"
lsof | grep log4j
#Find places to which your applications write logs
lsof | grep '\.log'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment