Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions log4j-finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,9 @@ def main():
print(f"[{now}] {hostname} Finished scan, elapsed time: {elapsed:.2f} seconds")
print_summary(stats)
print(f"\nElapsed time: {elapsed:.2f} seconds")
# If script is running as an frozen executable on Windows, prevent the console from closing.
if sys.platform == "win32" and getattr(sys, 'frozen', False):
os.system("pause")


if __name__ == "__main__":
Expand Down