Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cyber Security Cards › Revision Cards

Archives and Compression: tar, gzip, zip

Archives and Compression: tar, gzip, zip tar packs many files into one archive. gzip and zip make files smaller. Pack: tar czf site.tar.gz /var/www/html Unpack: tar xzf site.tar.gz Never leave backups like site.tar.gz or backup.zip inside the web folder. Folder-guessing tools like Gobuster look for

Archives and Compression: tar, gzip, zip tar packs many files into one archive. gzip and zip make files smaller. Pack: tar czf site.tar.gz /var/www/html Unpack: tar xzf site.tar.gz Never leave backups like site.tar.gz or backup.zip inside the web folder. Folder-guessing tools like Gobuster look for
Archives and Compression: tar, gzip, zip · Download PNG
Read card text

What this card says

What it is

tar packs many files into one archive. gzip and zip make files smaller.

Example

Pack: tar czf site.tar.gz /var/www/html

Unpack: tar xzf site.tar.gz

Why it matters for security

Never leave backups like site.tar.gz or backup.zip inside the web folder.

Folder-guessing tools like Gobuster look for exactly these files and download your whole site.

Learn more in the lesson: 6.5 Archives and Compression: tar, gzip, zip

See all Ravi Sir's Cyber Security Cards