Commit graph

36 commits

Author SHA1 Message Date
atxr
321daf3ac8 Trigger virus if size mismatch 2024-02-28 03:21:41 +01:00
atxr
c06790d5e0 Fix unsigned typos 2024-02-28 03:21:08 +01:00
atxr
e037cce4ca Change logic and add blocklist 2024-02-27 17:02:27 +01:00
atxr
20021ffa49 Use sha256 instead of crc 2024-02-26 14:37:52 +01:00
atxr
43ac716bf2 Add crc32 function 2024-02-26 10:20:35 +01:00
atxr
88becd6097 Scan zip for multiple threats 2024-02-23 18:02:03 +01:00
atxr
a38b5d4ec4 Free some strucs 2024-02-23 18:01:15 +01:00
atxr
e4d37542bb Add sort for int 2024-02-23 18:00:33 +01:00
atxr
3122c5b76f Check mismatch in filename lengths 2024-02-22 11:54:16 +01:00
atxr
e3147c10c7 Remove get encoded block 2024-02-22 11:53:40 +01:00
atxr
a0b4fe5433 Get number for dynamic huffman tree 2024-02-21 17:09:33 +01:00
atxr
090e17b3d9 Track only LFH offsets and init zip struct 2024-02-21 17:08:57 +01:00
atxr
527fe98054 Add first draft of scan zip 2024-02-21 16:16:12 +01:00
atxr
01c55375f9 Track LF offsets 2024-02-21 16:15:51 +01:00
atxr
50293f18e0 Rename and clean 2024-02-21 16:15:04 +01:00
atxr
cebaad1ab1 Remove raw type 2024-02-21 16:13:37 +01:00
atxr
9f8bcf7769 Align to next byte 2024-02-21 16:11:01 +01:00
atxr
669915c0d7 Refactor test code 2024-02-20 15:38:34 +01:00
atxr
1ae8e5f050 Move next token to huffman tree lib 2024-02-20 15:36:46 +01:00
atxr
48aba6093b Read next token 2024-02-20 12:33:44 +01:00
atxr
a69783a108 Add raw union to ISH 2024-02-20 12:33:06 +01:00
atxr
84b33095b0 Decode lengths/distances from token 2024-02-20 12:32:33 +01:00
atxr
4cdc14e48b Add default distance tree 2024-02-20 12:30:50 +01:00
atxr
2341217e2d Clean bs 2024-02-20 12:30:24 +01:00
atxr
92d805659b Add bitstream constr 2024-02-20 12:29:33 +01:00
atxr
3449b9edbf Print LFH info in the cdh test 2024-02-19 15:00:54 +01:00
atxr
b4e1f7df8c Add huffman tree utility 2024-02-19 14:56:54 +01:00
atxr
fa7045bf1c Add bitstream utility 2024-02-19 14:54:37 +01:00
atxr
2d34e143d7 Decode canonical huffman tree 2024-02-13 11:27:24 +01:00
atxr
f24444a7b1 Get eocd and cdh entries 2024-02-06 20:13:46 +01:00
atxr
8bb984e61a Update zip structs 2024-02-06 20:13:10 +01:00
atxr
e04a231974 Fix typos 2024-02-06 16:18:08 +01:00
atxr
4692b1e643 Find cdh in zip 2024-02-06 15:16:41 +01:00
atxr
8830c46593 Define main function in lib 2024-02-06 15:03:12 +01:00
atxr
691475d013 Add first idea of zip struct 2024-02-06 15:02:51 +01:00
atxr
05b42d1b86 Setup repo 2024-02-06 14:42:35 +01:00