Corrupt a TAR Archive Online
Corrupt a .tar, .tar.gz or .tgz archive online for free. Destroys the ustar block headers so extraction fails instead of yielding partial files.
- Sem envio
- Sem limite de tamanho
- Sem registo
Corrompa o seu ficheiro TAR
Afinado para .tar, .tar.gz, .tgz, .gz, e funciona igualmente bem com qualquer outro formato.
Porque os ficheiros TAR são difíceis de corromper como deve ser
TAR is the most recoverable archive format in existence. It has no central index at all. Every file is preceded by its own 512-byte header, so tar can simply scan forward and extract whatever it finds. Breaking a TAR means destroying those headers wherever they appear.
O que esta ferramenta destrói
- ustar block headers. The
ustarmagic in each 512-byte file header is destroyed, so no entry can be identified. - Header checksums. The checksum field that
tarvalidates before trusting a header is overwritten. - The end-of-archive marker. The two zero blocks that terminate a valid archive are destroyed, so it also reads as truncated.
- Gzip wrapper. For
.tar.gzthe gzip member header and the trailing CRC32/ISIZE are destroyed as well.
O que vai ver a seguir
| Aplicação | Comportamento |
|---|---|
tar -xf | "This does not look like a tar archive" followed by "Exiting with failure status." |
gzip -d | "not in gzip format" or "invalid compressed data, crc error." |
| 7-Zip / The Unarchiver | Reports an unsupported or damaged archive. |
| Docker image loads | Layer extraction fails and the import is aborted. |
Motivos comuns para fazer isto
- Testing that a deployment pipeline validates artifacts before extracting them.
- Verifying a container image load fails cleanly on a damaged layer.
- Simulating an interrupted backup transfer for a restore rehearsal.
- Checking that extraction errors are surfaced rather than swallowed.
Como corromper um ficheiro TAR
- Largue o seu ficheiro .tar na caixa acima, ou clique para procurar.
- Deixe o nível em Standard, a menos que queira dano parcial (Light) ou precise de derrotar software de recuperação (Heavy).
- Prima Corromper ficheiro. O processamento decorre no seu dispositivo, por isso termina quase de imediato.
- Transfira o resultado. Por predefinição mantém o nome de ficheiro e o comprimento em bytes originais.
Perguntas frequentes sobre TAR
Why is TAR usually so recoverable?
Because it has no index. Each file carries its own header, so tar can scan forward and extract whatever it can identify. Destroying every ustar header is what removes that fallback.
Does it work on .tar.gz and .tgz?
Yes. The gzip wrapper is broken first, which alone prevents extraction, and the tar headers underneath are damaged too.
Can any files be extracted partially?
No. Without a valid header and checksum, tar cannot determine where any file starts or how long it is.
What about .tar.bz2 or .tar.xz?
Those fall back to the generic binary profile, which still breaks the compression wrapper reliably.