chuxi111 commited on
Commit
e048f5b
·
verified ·
1 Parent(s): 26c82b5

Babyheap: restore unix exec bit in attachment.zip (bin was packed with DOS attrs)

Browse files

attachment.zip was created with create_system=0 (FAT/DOS), so no unix mode was stored and every
entry extracted as 0644. babyheap is an ELF the solver is expected to run locally, so ./babyheap
failed with Permission denied (even for root). Set version-made-by to UNIX/3.0 and external_attr
to 0100755 for that one central-directory entry: 5 bytes changed, size unchanged, no recompression,
all entry CRCs and file md5s identical (verified against the bundled checksum file).

Also re-sync dataset.toml digests: Babyheap (content changed here) and ddddddd (whose attachment
was fixed in 26c82b5 without a manifest re-sync).

alibabactf-2023-pwn-Babyheap/environment/attachment.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:340669727fddb0016a1793696bd3036034ab466da86d9f2d1671fe7ccc25403f
3
  size 2500974
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82d6c7b5da28274388ecd4db3fdd2860969b5b0fc990104cccec4055e91471ff
3
  size 2500974
dataset.toml CHANGED
@@ -28,11 +28,11 @@ digest = "sha256:6be506bd096651ed9b78ccf9465f2b51c3a0e389215ade6afc37317f3c6fc9e
28
 
29
  [[tasks]]
30
  name = "alibaba-aaig/alibabactf-2023-misc-dddddddd"
31
- digest = "sha256:efdb58688991a75301af12c04fbe088ac416e4185669eb54a4c4fd49a929e72c"
32
 
33
  [[tasks]]
34
  name = "alibaba-aaig/alibabactf-2023-pwn-Babyheap"
35
- digest = "sha256:5eefddca06bfa5e4dc426c30b303aa06b03305fd16239edcb4761c5b098e052a"
36
 
37
  [[tasks]]
38
  name = "alibaba-aaig/alibabactf-2023-pwn-EscapeFromTheEarth"
 
28
 
29
  [[tasks]]
30
  name = "alibaba-aaig/alibabactf-2023-misc-dddddddd"
31
+ digest = "sha256:e1689572e184449833f40bba6715a17dafda9c2763fe21585e44d66e81860f61"
32
 
33
  [[tasks]]
34
  name = "alibaba-aaig/alibabactf-2023-pwn-Babyheap"
35
+ digest = "sha256:b1f8f2db233907a2e1fb4e8ce64ea08ecbc438820552a6beac6235353f38349a"
36
 
37
  [[tasks]]
38
  name = "alibaba-aaig/alibabactf-2023-pwn-EscapeFromTheEarth"