{"id":184305,"date":"2026-11-18T03:36:34","date_gmt":"2026-11-18T01:36:34","guid":{"rendered":"https:\/\/prohoster.info\/blog\/news\/realizacziya-samozagruzhayushhihsya-zip-arhivov"},"modified":"2026-11-18T03:36:38","modified_gmt":"2026-11-18T01:36:38","slug":"implementing-self-loading-zip-archives","status":"publish","type":"post","link":"https:\/\/prohoster.info\/fr\/blog\/news\/implementing-self-loading-zip-archives","title":{"rendered":"Mise en \u0153uvre d'archives ZIP auto-extractibles","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>David Oberhollenzer, auteur de l'outil squashfs-tools-ng, a propos\u00e9 le concept d'archives ZIP auto-extractibles. Le projet est une adaptation du m\u00e9canisme des archives ZIP auto-extractibles pour utiliser un fichier ZIP comme image de d\u00e9marrage, ne n\u00e9cessitant pas de d\u00e9compression s\u00e9par\u00e9e pour d\u00e9marrer le syst\u00e8me contenu dans cette image. De plus, l'image reste un v\u00e9ritable fichier ZIP, qui peut \u00eatre v\u00e9rifi\u00e9 avec la commande \u00ab unzip -t \u00bb.      <\/p>\n<p>Contrairement aux formats TAR ou CPIO, dans le format ZIP, un petit en-t\u00eate est plac\u00e9 au d\u00e9but, tandis que la table des fichiers et leurs d\u00e9calages sont conserv\u00e9s \u00e0 la fin du fichier, ce qui permet de placer des donn\u00e9es arbitraires presque au d\u00e9but de l'archive. Dans le projet pr\u00e9sent\u00e9, les param\u00e8tres de l'en-t\u00eate de l'archive ZIP sont configur\u00e9s de telle mani\u00e8re qu'ils peuvent \u00eatre utilis\u00e9s comme secteur de d\u00e9marrage MBR.    <\/p>\n<p>Les premiers octets de l'archive \u00ab PK\\03\\04 \u00bb sont interpr\u00e9t\u00e9s par le processeur x86 comme du code machine, correspondant aux instructions 16 bits du processeur i8086 \u00ab push %ax; dec %bx; add (%si),%ax \u00bb. Ensuite, un en-t\u00eate suit, contenant la version, des indicateurs, une m\u00e9thode de compression et une date de modification, dont les donn\u00e9es peuvent \u00eatre ajust\u00e9es de sorte qu'\u00e0 l'ex\u00e9cution, le contenu corresponde \u00e0 des instructions inoffensives et \u00e0 une commande de saut inconditionnel jmp, transmettant le contr\u00f4le au code principal du chargeur.     <\/p>\n<p>Le fichier ZIP indique \u00e9galement la signature \u00ab 1BADB002 \u00bb, qui est reconnue par les chargeurs prenant en charge Multiboot comme un indicateur d'une image de d\u00e9marrage compatible (noyau). Gr\u00e2ce \u00e0 cela, l'image ZIP peut \u00eatre charg\u00e9e en utilisant GRUB ou en sp\u00e9cifiant l'option \u00ab -kernel \u00bb dans QEMU. Dans ce cas, le chargeur extrait le fichier binaire non compress\u00e9, le place en m\u00e9moire selon l'en-t\u00eate et transmet le contr\u00f4le en mode prot\u00e9g\u00e9 32 bits. L'image ZIP peut \u00e9galement \u00eatre \u00e9crite dans le premier secteur du disque dur, auquel cas les 512 premiers octets sont per\u00e7us comme un MBR classique.     <\/p>\n<p>Tout le code de d\u00e9marrage initial, y compris les en-t\u00eates ZIP et Multiboot, la table GDT, la logique de chargement du contenu de l'archive en m\u00e9moire et le passage en mode prot\u00e9g\u00e9, a pu \u00eatre compress\u00e9 en 817 octets. Les fichiers dans l'archive ZIP sont plac\u00e9s sans compression (le champ du mode de compression indique 0), donc apr\u00e8s le chargement de l'archive ZIP en m\u00e9moire, on peut acc\u00e9der directement aux fichiers qui y sont contenus, en utilisant l'index \u00e0 la fin de l'archive ZIP (Central Directory) pour simuler un syst\u00e8me de fichiers simple.<br \/>\n<br \/>Source : <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=66709\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u0430\u0432\u0438\u0434 \u041e\u0431\u0435\u0440\u0445\u043e\u043b\u043b\u0435\u043d\u0446\u0435\u0440 (David Oberhollenzer), \u0430\u0432\u0442\u043e\u0440 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f squashfs-tools-ng, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e \u0441\u0430\u043c\u043e\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u0445\u0441\u044f ZIP-\u0430\u0440\u0445\u0438\u0432\u043e\u0432. \u041f\u0440\u043e\u0435\u043a\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044e \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 \u0441\u0430\u043c\u043e\u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u044e\u0449\u0438\u0445\u0441\u044f ZIP-\u0430\u0440\u0445\u0438\u0432\u043e\u0432 \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f ZIP-\u0444\u0430\u0439\u043b\u0430 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430, \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0435\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0438 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0440\u0430\u0437\u043c\u0435\u0449\u0451\u043d\u043d\u043e\u0439 \u0432 \u044d\u0442\u043e\u043c \u043e\u0431\u0440\u0430\u0437\u0435. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0431\u0440\u0430\u0437 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u043c ZIP-\u0430\u0440\u0445\u0438\u0432\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 &#171;unzip -t&#187;. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432 TAR \u0438\u043b\u0438 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-184305","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u0430\u0432\u0438\u0434 \u041e\u0431\u0435\u0440\u0445\u043e\u043b\u043b\u0435\u043d\u0446\u0435\u0440 (David Oberhollenzer), \u0430\u0432\u0442\u043e\u0440 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f squashfs-tools-ng, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e \u0441\u0430\u043c\u043e\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u0445\u0441\u044f ZIP-\u0430\u0440\u0445\u0438\u0432\u043e\u0432.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alexander Kovalev\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/fr\/blog\/news\/implementing-self-loading-zip-archives\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u0430\u043c\u043e\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u0445\u0441\u044f ZIP-\u0430\u0440\u0445\u0438\u0432\u043e\u0432 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u0430\u0432\u0438\u0434 \u041e\u0431\u0435\u0440\u0445\u043e\u043b\u043b\u0435\u043d\u0446\u0435\u0440 (David Oberhollenzer), \u0430\u0432\u0442\u043e\u0440 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f squashfs-tools-ng, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e \u0441\u0430\u043c\u043e\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u0445\u0441\u044f ZIP-\u0430\u0440\u0445\u0438\u0432\u043e\u0432.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/fr\/blog\/news\/implementing-self-loading-zip-archives\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-11-18T01:36:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-11-18T01:36:38+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47 Mise en \u0153uvre des archives ZIP auto-extractibles | ProHoster","description":"David Oberhollenzer, l'auteur de l'outil squashfs-tools-ng, a propos\u00e9 le concept des archives ZIP auto-extractibles.","canonical_url":"https:\/\/prohoster.info\/fr\/blog\/news\/implementing-self-loading-zip-archives","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"fr_FR","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u0430\u043c\u043e\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u0445\u0441\u044f ZIP-\u0430\u0440\u0445\u0438\u0432\u043e\u0432 | ProHoster","og:description":"\u0414\u0430\u0432\u0438\u0434 \u041e\u0431\u0435\u0440\u0445\u043e\u043b\u043b\u0435\u043d\u0446\u0435\u0440 (David Oberhollenzer), \u0430\u0432\u0442\u043e\u0440 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f squashfs-tools-ng, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e \u0441\u0430\u043c\u043e\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u0445\u0441\u044f ZIP-\u0430\u0440\u0445\u0438\u0432\u043e\u0432.","og:url":"https:\/\/prohoster.info\/fr\/blog\/news\/implementing-self-loading-zip-archives","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-11-18T01:36:34+00:00","article:modified_time":"2026-11-18T01:36:38+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/184305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/comments?post=184305"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/184305\/revisions"}],"predecessor-version":[{"id":184306,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/184305\/revisions\/184306"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/media?parent=184305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/categories?post=184305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/tags?post=184305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}