Applied Sciences (Oct 2024)

A Generator for Recursive Zip Files

  • Ruben Van Mello,
  • Pieter Audenaert

DOI
https://doi.org/10.3390/app14219797
Journal volume & issue
Vol. 14, no. 21
p. 9797

Abstract

Read online

This paper explores the concept of zip quines, which are zip files that contain themselves upon extraction, extending the idea of computational self-reference. While only two individuals, Russ Cox and Erling Ellingsen, have created such entities, this study focuses on Cox’s method to develop a generator for these files. Overcoming the initial limitations, the generator allows for the inclusion of additional files within the zip quine. Additionally, this research explores the concept of looped zip files, wherein a zip archive contains another archive. This archive then contains the initial zip file. By offering practical methodologies and insights, this study advances the understanding and application of quines in computer science.

Keywords