Created
December 20, 2021 19:56
-
-
Save joswr1ght/a6badf9b0b148efadfccbf967fcc2b41 to your computer and use it in GitHub Desktop.
Search for log4shell attack patterns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Specify a starting directory as the first command-line argument to search for | |
# log4shell-style attack patterns. | |
grep -E -i -r '\$\{jndi:(ldap[s]?|rmi|dns):/[^\n]+' $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How did I miss that? Thanks, man! Not just for the link, but for everything you all have done for the HHC! Awesome as always.