This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Description
started running the script early this morning. 8 hours later it was still running. The script does not take
into account if there are duplicate files in a zip file. So it seems to hanging. The line where it is hanging is
unzip -d /tmp/log4j_for_extract/ $war_file > /dev/null
This should be
unzip -o -d /tmp/log4j_for_extract/ $war_file > /dev/null
So that duplicate files in the archive will overwrite by default instead of hanging at a user prompt for input, since stdout is redirected to /dev/null it is difficult to tell if it is hanging because it is waiting for a prompt answer or actually running.