Last active
March 31, 2022 09:42
-
-
Save marcelsauer4711/0aec24107fcefa2b6d2e63fbf2907a3c to your computer and use it in GitHub Desktop.
This file contains 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
# search in jar/war files beginning from the current directory recursively | |
# prints out all matches where "spring" classes are detected | |
for file in `find ./ -type f \( -iname \*.war -o -iname \*.jar \)`; do echo "######## searching in $file for spring stuff ######"; jar tvf $file | grep "spring" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment