amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} /* Inline styles */ img.acss139cf{background-color:#0866FF;}img.acss6ea51{background-color:#12AF0A;}img.acss43e08{background-color:#888990;}img.acss69ec8{background-color:#1A1A1A;}img.acssc8f88{background-color:#0166ff;}p.acss2f015{text-align:center;}div.acss138d7{clear:both;}div.acssf5b84{--relposth-columns:3;--relposth-columns_m:2;--relposth-columns_t:2;}div.acss31f1e{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2024/02/haagen_01-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss6bdea{color:#333333;font-family:Arial;font-size:12px;height:75px;}div.acss52941{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2024/04/cambridge-audio-m100-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss790db{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2020/11/apple-ar-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss45a27{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2021/06/螢幕截圖-2021-06-09-12.19.07-scaled-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;} .ai-align-left * {margin: 0 auto 0 0; text-align: left;} .ai-align-right * {margin: 0 0 0 auto; text-align: right;} .ai-center * {margin: 0 auto; text-align: center; } .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}
即時新聞

專家研究超強壓縮技術!42KB 檔案可解壓出 4.5PB 「深水炸彈」!

表面上,這個壓縮檔只有 46MB,但其實它是一個內含 4.5PB 檔案內容的「深水炸彈」。

話說研究專家 David Fifield 最近公開一個「zip bomb」工具,聲稱可以將 4.5PB(約 4500TB)的檔案數據壓縮到一個 46MB,甚至 42KB 的壓縮檔。

Fifield 在自己的 BamSoftware 網站分享了研究成果,「zip bomb」會透過一種檔案重疊形式進行的壓縮方式,以「非遞迴」(non-recursive)形式壓縮,最高可達到 9800 萬的極高壓縮比,而且只需要平常的壓縮函數 Deflate,就可以將檔案極致壓縮。用這個方法,容量達 5.5GB 的檔案,可壓縮到 42KB,281TB 的檔案可以壓縮到 10MB,而 4.5PB的檔案可以壓縮到 46MB。

[the_ad_placement id=”ad2″]

另外 Fifield 亦分享了一個名為「42.zip」的「深水炸彈」,這個壓縮檔容量只有 42374B(約 42KB),是採用了「遞迴」(recursive)形式壓縮,並以 Zip64 的擴充組件解鎖 zip 的 281TB 的輸出限制,結果這個 42KB 的檔案,解壓縮之後卻是容量高達 4.5PB 的檔案,壓縮比高達 1060 億。

[the_ad_placement id=”ad2″]

David Fifield 已將有關案放進他自己的網站之中,但是,如果你的硬碟沒有 4.5PB 的話的,千萬不要胡亂下載這些啊「深水炸彈」啊。

[the_ad_placement id=”ad2″]

PLAN

曾是過去 PC3 雜誌記者,現時是 PC3 網站的編輯,渡過接近 10 年科技媒體生涯,至今依然為大家提供科技和生活資訊