Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8863185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:54:50+00:00 2026-06-14T15:54:50+00:00

How to corrupt header of tar.gz for testing purpose? So that when the application

  • 0

How to corrupt header of tar.gz for testing purpose? So that when the application tries to unzip it … it fails.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T15:54:52+00:00Added an answer on June 14, 2026 at 3:54 pm

    It’s awfully simple to create a file that gzip won’t recognize:

    dd if=/dev/urandom bs=1024 count=1 of=bad.tar.gz
    

    While of course it’s possible to create a valid gzip file with /dev/urandom, it’s about as likely as being struck by lightning. Under a clear sky.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

During my work on this database application, I've apparently managed to corrupt a form
I have a windows .NET application that manages many PDF Files. Some of the
I am writng a Django application that let's you download a file after some
<?php header('Content-disposition: attachment; filename=Booking.pdf'); header('Content-type: application/pdf'); readfile('http://mysite.com/Booking.pdf'); ?> why is the Booking.pdf file downloaded
After having had a dev PC HD corrupt, I'm considering the idea of making
Update : The problem appears to have been corrupt DLLs somewhere in my PHP
I have what appears to be a corrupt index? Here is what is happening.
I have a text file something like: lineat2 corrupt exitCode() and so on... Each
sometimes i get an error like table is marked as corrupt and shld be
I have a sqlite3 database in which I have corrupt data. I qualify corrupt

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.