https://github.com/turriform/01_project_pk_zip
zip extraction
https://github.com/turriform/01_project_pk_zip
zip
Last synced: about 1 year ago
JSON representation
zip extraction
- Host: GitHub
- URL: https://github.com/turriform/01_project_pk_zip
- Owner: turriform
- Created: 2024-04-15T15:19:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T14:09:03.000Z (about 2 years ago)
- Last Synced: 2025-02-24T17:50:46.188Z (over 1 year ago)
- Topics: zip
- Language: C
- Homepage:
- Size: 6.06 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### Workflow
1. opening file, checking if its intact
2. looking for the main file (jpeg or png)
3. comparing current position with the file size,
- if values match, then there is no archive present -> Printing, Cleaning and Exiting (1)
- if file size is larger, then program assumes the archive is in the file
4. (?) extracting main file
5. looking for all localfileheaders (lfh) in the file
6. after lfh type is read printing the filename using the lfh filesize field
7. Printing, Cleaning and Exiting (2)
### Run
`make all`
by default will check all files in ./assets directory