wrong render while null in the zip

40 views
Skip to first unread message

Dext

unread,
Apr 21, 2026, 12:47:50 PM (13 days ago) Apr 21
to Bandizip for Windows forum
使用bandizip打开jar时,jar内部分文件以nul字符开头 bandizip无法正确渲染出

seyo IM

unread,
Apr 21, 2026, 10:42:08 PM (12 days ago) Apr 21
to Bandizip for Windows forum
Hello, this is Bandisoft.

We tested Bandizip but could not reproduce the same issue you reported here. We would greatly appreciate it if you could share the JAR file where you encounter this issue, and it would allow us to make a more accurate diagnosis and solution. Thank you for your issue report.

2026년 4월 22일 수요일 오전 1시 47분 50초 UTC+9에 Dext님이 작성:
使用bandizip打开jar时,jar内部分文件以nul字符开头 bandizip无法正确渲染出
Message has been deleted

Dext

unread,
Apr 23, 2026, 2:42:05 PM (11 days ago) Apr 23
to Bandizip for Windows forum

 当前样本设计是:

  - 可见条目:Visible.class
  - 隐藏条目:
      - \0HiddenPayload.class
      - \0HiddenPayload$Alpha.class
      - \0HiddenPayload$Beta.class
      - \0Ghost.class

  其中隐藏条目的文件名原始字节以 00 开头。
jar tf .\bandizip-repro.jar
Visible.class
HiddenPayload.class
HiddenPayload$Alpha.class
HiddenPayload$Beta.class
Ghost.class
生成结果:
- samples\bandizip-repro.zip
- samples\bandizip-repro.jar
- samples\bandizip-repro.7z

校验说明文件(单独放在外面,没有打进压缩包):
- samples\verification.txt

当前样本结构(根目录):
- 可见条目:Visible.class
- 隐藏条目:\u0000HiddenPayload.class
- 隐藏条目:\u0000HiddenPayload$Alpha.class
- 隐藏条目:\u0000HiddenPayload$Beta.class
- 隐藏条目:\u0000Ghost.class

校验结论:
- ZIP/JAR 根目录下已包含 1 个可见条目和 4 个 NUL 前缀隐藏条目。
- 例如 \u0000HiddenPayload.class 的原始文件名字节为:00 48 69 64 64 65 6E 50 61 79 6C 6F 61 64 2E 63 6C 61 73 73
- 7z 也写入了同样的根目录名字流,但严格解析器重开时会把带 NUL 的名字视为异常结构并报错。
很抱歉我无法提供原始文件,但这里有他的复现版本https://drive.google.com/file/d/1pGQwfE21Ffqn3ls2WJOFjKEgVScRMghp/view?usp=drive_link, https://drive.google.com/file/d/1PIJ2e3NkM8PDmLLKTCq5erpX7OCzverm/view?usp=drive_link, https://drive.google.com/file/d/1xOh4o-cwPuOcRjnvhg-0ottyrrjHQD68/view?usp=drive_link, https://drive.google.com/file/d/1p31dZ12mM7a6NUMN0d1b_5xNlP2MHhcN/view?usp=drive_link

seyo IM

unread,
Apr 28, 2026, 2:56:38 AM (6 days ago) Apr 28
to Bandizip for Windows forum
Hello again,

We do not have access to the files you shared here. Please grant permission to ap...@bandisoft.com and let us know.

2026년 4월 24일 금요일 오전 3시 42분 5초 UTC+9에 Dext님이 작성:
Reply all
Reply to author
Forward
0 new messages