Hi, I've tried afro for recovering deleted files on a raw APFS image (500GB) but the result is always that only "Preboot", "Recovery" and "VM" volumes got recovered but not the volume where the OS is:
ls -l mac001.img.carve_apsb.extracted/
total 0
drwxrwxrwx 4 xx xxx 128 Apr 15 18:50 Preboot
drwxrwxrwx 4 xx xxx 128 Apr 15 18:49 Recovery
drwxrwxrwx 5 xx xxx 160 Apr 15 18:49 VM
The log for carving kept showing errors like:
INFO Found apsb in block 1060460
INFO Found apsb in block 1060469
INFO 'PointerValT' object has no attribute 'ov_paddr'
INFO Found apsb in block 1060657
INFO 'PointerValT' object has no attribute 'ov_paddr'
INFO Found apsb in block 1060688
INFO Found apsb in block 1060897
INFO 'ApfsSuperblockT' object has no attribute 'btn_flags'
INFO Found apsb in block 1060965
INFO 'PointerValT' object has no attribute 'ov_paddr'
INFO Found apsb in block 1061039
INFO 'PointerValT' object has no attribute 'ov_paddr'
INFO Found apsb in block 1061457
INFO 'PointerValT' object has no attribute 'ov_paddr'
INFO Found apsb in block 1061578
INFO 'PointerValT' object has no attribute 'ov_paddr'
INFO Found apsb in block 1061698
INFO 'PointerValT' object has no attribute 'ov_paddr'
INFO Found apsb in block 1061742
INFO 'PointerValT' object has no attribute 'ov_paddr'
INFO Found apsb in block 1061792
INFO 'PointerValT' object has no attribute 'ov_paddr'
INFO Found apsb in block 1062839
INFO 'PointerValT' object has no attribute 'ov_paddr'
INFO Found apsb in block 1062842
INFO Found apsb in block 1063444
INFO 'BtreeNodePhysT' object has no attribute 'om_tree_oid'
INFO Found apsb in block 1063449
INFO 'BtreeNodePhysT' object has no attribute 'om_tree_oid'
INFO Found apsb in block 1063666
INFO 'BtreeNodePhysT' object has no attribute 'om_tree_oid'
INFO Found apsb in block 1063709
INFO Found apsb in block 1063782
INFO 'BtreeNodePhysT' object has no attribute 'om_tree_oid'
INFO Found apsb in block 1064320
INFO 'BtreeNodePhysT' object has no attribute 'om_tree_oid'
INFO Found apsb in block 1066450
INFO 'BtreeNodePhysT' object has no attribute 'om_tree_oid'
INFO Found apsb in block 1068889
INFO 'Obj' object has no attribute 'body'
And I tried the "-m parse" option to see if same errors appear:
afro -o 409640 -m parse -l DEBUG -e bodyfile disk0\ Image\ raw.00001
Traceback (most recent call last):
File "/usr/local/bin/afro", line 11, in <module>
load_entry_point('afro==0.2', 'console_scripts', 'afro')()
File "/usr/local/lib/python3.7/site-packages/afro-0.2-py3.7.egg/afro/__init__.py", line 115, in main
File "/usr/local/lib/python3.7/site-packages/afro-0.2-py3.7.egg/afro/__init__.py", line 74, in extract
File "/usr/local/lib/python3.7/site-packages/afro-0.2-py3.7.egg/afro/parse.py", line 74, in parse
File "/usr/local/lib/python3.7/site-packages/afro-0.2-py3.7.egg/afro/parse.py", line 59, in parse_nxsb
File "/usr/local/lib/python3.7/site-packages/afro-0.2-py3.7.egg/afro/parse.py", line 46, in parse_apsb
AttributeError: 'PointerValT' object has no attribute 'ov_paddr'
Would you mind explain what could be the reason for these "no attribute" errors? (parsing the OS volume leads to null objects?) Thanks very much!
Hi, I've tried afro for recovering deleted files on a raw APFS image (500GB) but the result is always that only "Preboot", "Recovery" and "VM" volumes got recovered but not the volume where the OS is:
The log for carving kept showing errors like:
And I tried the "-m parse" option to see if same errors appear:
Would you mind explain what could be the reason for these "no attribute" errors? (parsing the OS volume leads to null objects?) Thanks very much!