{"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\/sq\/blog\/news\/implementing-self-loading-zip-archives","title":{"rendered":"Implementimi i ZIP-arkivave q\u00eb shkarkohen vet\u00eb","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>David Oberhollenzer, autor i mjetit squashfs-tools-ng, propozoi konceptin e arkivave ZIP q\u00eb ngarkohen vet\u00eb. Projekti \u00ebsht\u00eb nj\u00eb adaptim i mekanizmit t\u00eb arkivave ZIP q\u00eb shkarkohen vet\u00eb p\u00ebr t\u00eb p\u00ebrdorur skedarin ZIP si nj\u00eb imazh ngarkese, pa k\u00ebrkuar nj\u00eb shkarkim t\u00eb ve\u00e7ant\u00eb p\u00ebr ngarkimin e sistemit q\u00eb ndodhet n\u00eb k\u00ebt\u00eb imazh. Sidoqoft\u00eb, imazhi vazhdon t\u00eb jet\u00eb nj\u00eb arkiv ZIP plot\u00ebsisht funksional, i cili kalon kontrollin me komand\u00ebn \"unzip -t\".      <\/p>\n<p>Ndryshe nga formati TAR ose CPIO, formati ZIP ka vet\u00ebm nj\u00eb titull t\u00eb vog\u00ebl n\u00eb fillim, nd\u00ebrsa p\u00ebrmbajtja e t\u00eb gjith\u00eb skedar\u00ebve dhe offsetet e tyre ruhet n\u00eb fund t\u00eb skedarit, \u00e7ka lejon vendosjen e t\u00eb dh\u00ebnave t\u00eb rast\u00ebsishme n\u00eb pothuajse fillimin e arkivit. N\u00eb projektin e paraqitur, parametrat e titullit t\u00eb arkivave ZIP jan\u00eb p\u00ebrshtatur n\u00eb m\u00ebnyr\u00eb q\u00eb t\u00eb p\u00ebrdoren si sektori i ngarkes\u00ebs MBR.    <\/p>\n<p>Bajt e para t\u00eb arkivit \"PK\\03\\04\" procesori x86 i interpreton si kod makine, q\u00eb p\u00ebrputhet me udh\u00ebzimet 16-bit t\u00eb procesorit i8086 \"push %ax; dec %bx; add (%si),%ax\". M\u00eb pas vjen nj\u00eb titull me versionin, flamujt, metod\u00ebn e kompresimit dhe koh\u00ebn e modifikimit, t\u00eb dh\u00ebna n\u00eb t\u00eb cilat mund t\u00eb p\u00ebrzgjidhen p\u00ebr t\u00eb siguruar q\u00eb gjat\u00eb ekzekutimit p\u00ebrmbajtja p\u00ebrputhet me udh\u00ebzime t\u00eb pa d\u00ebmshme dhe komand\u00ebn e kalimit t\u00eb padiskutuesh\u00ebm jmp, e cila transferon kontrollin n\u00eb kodin kryesor t\u00eb ngarkuesit.     <\/p>\n<p>N\u00eb skedarin ZIP gjithashtu p\u00ebrcaktohet nj\u00eb n\u00ebnshkrim \"1BADB002\", i cili p\u00ebrcaktohet nga ngarkuesit q\u00eb mb\u00ebshtesin Multiboot, si nj\u00eb tregues i imazhit t\u00eb ngarkes\u00ebs s\u00eb p\u00ebrputhsh\u00ebm (n\u00eb b\u00ebrtham\u00eb). Fal\u00eb k\u00ebsaj, imazhi ZIP mund t\u00eb ngarkohet p\u00ebrmes GRUB ose duke specifikuar opsionin \"-kernel\" n\u00eb QEMU. N\u00eb k\u00ebt\u00eb rast, ngarkuesi nxjerr skedarin binar t\u00eb pakompresuar, e vendos n\u00eb memorie sipas titullit dhe transferon kontrollin n\u00eb modalitetin e mbrojtur 32-bit. Imazhi ZIP gjithashtu mund t\u00eb shkruhet n\u00eb sektorin e par\u00eb t\u00eb diskut t\u00eb fort\u00eb, n\u00eb k\u00ebt\u00eb rast bajt\u00ebt e par\u00eb 512 perceptohen si MBR klasik.     <\/p>\n<p>I gjith\u00eb kodi fillestar i ngarkes\u00ebs, duke p\u00ebrfshir\u00eb titujt ZIP dhe Multiboot, tabel\u00ebn GDT, logjik\u00ebn e ngarkimit t\u00eb p\u00ebrmbajtjes s\u00eb arkivit n\u00eb memoria dhe kalimin n\u00eb m\u00ebnyr\u00ebn e mbrojtur, arriti t\u00eb p\u00ebrfshihej n\u00eb 817 byte. Skedar\u00ebt n\u00eb arkivin ZIP jan\u00eb vendosur pa komprimim (n\u00eb fush\u00ebn e metod\u00ebs s\u00eb kompresimit tregohet 0), prandaj pas ngarkimit t\u00eb arkivit ZIP n\u00eb memorie, mund t\u00eb aksesohen drejtp\u00ebrdrejt skedar\u00ebt q\u00eb ndodhen n\u00eb t\u00eb, duke p\u00ebrdorur indeksin n\u00eb fund t\u00eb arkivit ZIP (Central Directory) p\u00ebr t\u00eb simuluar nj\u00eb sistem t\u00eb thjesht\u00eb skedari.<br \/>\n<br \/>Burimi: <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\/sq\/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=\"sq_AL\" \/>\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\/sq\/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\udd47Realizimi i arkivave ZIP vet\u00eb-ngarkuese | ProHoster","description":"David Oberhollenzer, autori i veglave squashfs-tools-ng, propozoi konceptin e arkivave ZIP vet\u00eb-ngarkuese.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/news\/implementing-self-loading-zip-archives","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","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\/sq\/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\/sq\/wp-json\/wp\/v2\/posts\/184305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=184305"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/184305\/revisions"}],"predecessor-version":[{"id":184306,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/184305\/revisions\/184306"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=184305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=184305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=184305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}