Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clam 2256 add alz support (not ready to merge) #1168

Closed
wants to merge 79 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
37d72d3
Creating sample to unpack alz file
ragusaa Jan 24, 2024
d1a7160
blah
ragusaa Jan 24, 2024
a5eaef4
blah
ragusaa Jan 24, 2024
ffc2fba
blah
ragusaa Jan 24, 2024
8b57432
blah
ragusaa Jan 24, 2024
8f3c456
blah
ragusaa Jan 24, 2024
9da7f88
blah
ragusaa Jan 24, 2024
54bbdf5
blah
ragusaa Jan 25, 2024
f5148a4
blah
ragusaa Jan 25, 2024
fb89fe4
blah
ragusaa Jan 25, 2024
c32be72
blah
ragusaa Jan 25, 2024
9f3d192
blah
ragusaa Jan 25, 2024
1a1b3c7
blah
ragusaa Jan 25, 2024
1d62bf5
blah
ragusaa Jan 25, 2024
400a8db
blah
ragusaa Jan 25, 2024
424ffdd
blah
ragusaa Jan 25, 2024
3d57d1f
blah
ragusaa Jan 25, 2024
eadd152
blah
ragusaa Jan 25, 2024
9b32c78
blah
ragusaa Jan 25, 2024
c3c6638
blah
ragusaa Jan 25, 2024
b7832a4
blah
ragusaa Jan 25, 2024
acc8c56
blah
ragusaa Jan 25, 2024
6562e57
blah
ragusaa Jan 25, 2024
20aa858
blah
ragusaa Jan 25, 2024
d97b675
blah
ragusaa Jan 25, 2024
ef27375
blah
ragusaa Jan 25, 2024
eb6eea5
blah
ragusaa Jan 25, 2024
57a99ef
blah
ragusaa Jan 25, 2024
7a751bf
blah
ragusaa Jan 25, 2024
5a6bc62
blah
ragusaa Jan 25, 2024
e6fb424
blah
ragusaa Jan 26, 2024
d708dac
blah
ragusaa Jan 26, 2024
9c5e9bd
blah
ragusaa Jan 26, 2024
a5c5e94
blah
ragusaa Jan 29, 2024
09dce5d
blah
ragusaa Jan 29, 2024
94e2730
blah
ragusaa Jan 29, 2024
966a29b
blah
ragusaa Jan 29, 2024
0a26f64
blah
ragusaa Jan 29, 2024
94ebac4
blah
ragusaa Jan 29, 2024
6b9ed98
blah
ragusaa Jan 29, 2024
b21d1a1
blah
ragusaa Jan 29, 2024
d17b9e2
blah
ragusaa Jan 29, 2024
93d83f8
blah
ragusaa Jan 29, 2024
277d7eb
blah
ragusaa Jan 29, 2024
2cc8ab5
blah
ragusaa Jan 29, 2024
3646d1f
blah
ragusaa Jan 29, 2024
808b5dd
blah
ragusaa Jan 29, 2024
51017da
blah
ragusaa Jan 29, 2024
117475a
blah
ragusaa Jan 29, 2024
3fc54fb
blah
ragusaa Jan 29, 2024
84874c6
blah
ragusaa Jan 29, 2024
5a9ae7c
blah
ragusaa Jan 29, 2024
f731d27
blah
ragusaa Jan 30, 2024
16f9224
blah
ragusaa Jan 30, 2024
ea183fe
blah
ragusaa Jan 30, 2024
12ded7e
blah
ragusaa Jan 30, 2024
c6fb11d
blah
ragusaa Jan 30, 2024
107d668
blah
ragusaa Jan 30, 2024
4f76101
blah
ragusaa Feb 2, 2024
2c85105
blah
ragusaa Feb 2, 2024
fb5d1e5
blah
ragusaa Feb 5, 2024
aff6249
blah
ragusaa Feb 5, 2024
031f793
balh
ragusaa Feb 5, 2024
aa45d49
blah
ragusaa Feb 5, 2024
5283bf3
blah
ragusaa Feb 5, 2024
5c9d36c
blah
ragusaa Feb 5, 2024
9474df6
blah
ragusaa Feb 5, 2024
65a96cb
blah
ragusaa Feb 5, 2024
518e436
blah
ragusaa Feb 5, 2024
889b2ea
blah
ragusaa Feb 5, 2024
496111b
blah
ragusaa Feb 6, 2024
acb775d
blah
ragusaa Feb 6, 2024
d592cdf
blah
ragusaa Feb 6, 2024
6a759a1
blah
ragusaa Feb 6, 2024
98aae36
blah
ragusaa Feb 6, 2024
92f89d3
blah
ragusaa Feb 6, 2024
9b47606
blah
ragusaa Feb 6, 2024
ffe0f46
blah
ragusaa Feb 6, 2024
a62e3f1
blah
ragusaa Feb 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 123 additions & 0 deletions CLAM-2256/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions CLAM-2256/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[package]
name = "open_alz"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
byteorder = "1.5.0"
bzip2 = "0.4.4"
cursor = "2.3.0"
deflate = "1.0.0"
flate2 = "1.0.28"

[workspace]
Binary file added CLAM-2256/alz_example.alz
Binary file not shown.
55 changes: 55 additions & 0 deletions CLAM-2256/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#!/bin/bash

rm -rf outDir

#cargo run alz_example.alz outDir
#cargo run test outDir
#cargo run

#extracts 1 jpg, mine works the same as unalz
#cargo run samples/19d17e940e603b7fec36f147b3f8ae482cac429fdcc762f61186d4c00adce8db outDir

#cargo run samples/0abac736fb1b1dbd66901ec5258c73c543dd6b01e8d4c06970f94ff697ae1745 outDir

#cargo run samples/e81e2bb0fa7c00c849465e10329c01f5b40ef66c48a5fa12bee24279411aa297 outDir


#FILE=5d21b3f56ed5e349631024ac08006622fa989cfb7bec4ad13c946d331bbffe47 corrupted
#FILE=7b1f0ecdbf1d10e6ee78510901f418c9ec7787b4caf13ac87b5da542d9a26383 corrupted
#FILE=b6461509e990d556579688a758d4018919b0087435f9147a48ef813c865e0b3d corrupted
#FILE=b47d5aa5a024f841b77f20d0d2d8410d1b411aaddd54624e94667e610c1ceabe corrupted
#FILE=e8cedbeec4eb5a9715c514da5c5ceeec375239220750cdff99e4f87e49c7c8ad corrupted
#FILE=7bbf9dafd68b5b5106b5996eaac419228d72b4872707fc2a611a468319bef509 corrupted
#FILE=72a0718760f744a67853f3ee7f5740a34db124e24f787fc61efdeb538fa30376 corrupted
#FILE=ecca4711802697a96528c8bade5158cca011b1759988aad1e44b10fb9889f8aa corrupted
#FILE=8bb3fc1d6a5e703b2a5037ea3a168b45a8b641bcfd337d3bf67152ec353affb6 corrupted
#FILE=e617b015136b23dcd3eb299ca4114b3e19a3b4ee9c4220f5dc7dd529165a45ab corrupted
#FILE=f0fb18a36848e4c12414c101a3505c4f2a74e0b476f770c5a36a47742629c379 corrupted
#FILE=fe6106acdfcc2fd821814801d8f850cfdd08d901216b52463bd7d6e2ca6fc6d8 corrupted
#FILE=f9a5b18c7d15efe4d3db5a0b5259edbaa8917fc36cec99a7571d5192aa6cff1f corrupted
#FILE=58ac36b24ecdbe6726ce2bda0b308b0273f61e8bad858339409046f93d7478df corrupted
#FILE=8cbb8f7ae044db16671003c6c3bbf063b43dc8520f503e66c49360269b4e154b corrupted
#FILE=6c3e1563ce4235720c73de8297cd3aa84959c28b9c8040ac227154920183aeb4 corrupted
#FILE=86b5e5c78a8de95510cd2fbc4dddf66e824a82412bdfb1d67ca504a51d8f1eac corrupted
#FILE=7fc7b135ed44a3f201cfac31945bf7c3007464634b5b8b464c13d87ca6f7bbea corrupted

#cargo run samples/$FILE outDir

FILE=unit_tests/deflate.alz
FILE=unit_tests/uncompressed.alz
FILE=unit_tests/bzip2.alz
FILE=unit_tests/bzip2.bin.alz
FILE=unit_tests/uncompressed.bin.alz

rm -rf outDir unalz

unalz -d unalz $FILE

cargo run $FILE outDir







Loading
Loading