diogo-fernan / ir-rescue

A Windows Batch script and a Unix Bash script to comprehensively collect host forensic data during incident response.
Other
459 stars 94 forks source link

Fix missing zip extension if hostname includes a dot #20

Closed mczap closed 3 years ago

mczap commented 3 years ago

My zip command on macOS automatically adds the .zip file extension if not explicitly defined.

The problem occurred under Linux (RHEL*) because the hostname contained a dot (like foo.bar). This was interpreted by zip as an extension and no other was added. With hostname without dot this problem did not occur. Thanks for merging.

diogo-fernan commented 3 years ago

Ahh, understood now. Quite the edge case.