8000 Fix `is_tar_magic` by JSCU-CNI · Pull Request #1170 · fox-it/dissect.target · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix is_tar_magic #1170

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fix is_tar_magic #1170

wants to merge 2 commits into from

Conversation

JSCU-CNI
Copy link
Contributor

Fixes #1169 will add and fix tests later.

@yunzheng
Copy link
Member

Confirmed this fixes the issue, tested with:

% uv run --with "git+https://github.com/JSCU-CNI/dissect.target.git@fix-tar-loader[full]" target-shell FGT_1000D-v7.6.1.F-build3457-FORTINET.out
Installed 58 packages in 122ms
2025-06-13T07:51:27.438854Z [warning  ] <Target FGT_1000D-v7.6.1.F-build3457-FORTINET.out>: Can't identify volume system or no volumes found, adding as raw volume instead: <FortiFirmwareContainer size=268435968 vs=None> [dissect.target.target]
2025-06-13T07:51:29.708101Z [warning  ] <Target FGT_1000D-v7.6.1.F-build3457-FORTINET.out>: Attempting to load rootfs.gz, this can take a while [dissect.target.target]
2025-06-13T07:51:45.920679Z [warning  ] <Target FGT_1000D-v7.6.1.F-build3457-FORTINET.out>: Attempting to load XZ files, this can take a while [dissect.target.target]
FGT_1000D-v7.6.1.F-build3457-FORTINET.out:/$ ls
bin
bin.tar.xz
boot
data
data2
dev
etc
fortidev
init
lib
lib64
migadmin
migadmin.tar.xz
node-scripts
node-scripts.tar.xz
proc
sbin
sys
tmp
usr
usr.tar.xz
var
FGT_1000D-v7.6.1.F-build3457-FORTINET.out:/$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FortiGate loader is broken
3 participants
0