IMG PACKAGE

IMG_CAT

IMG PACKAGE – img_cat outputs the contents of an image file. Image files that are not raw will have embedded data and metadata. img_cat will output only the data. This allows you to convert an embedded format to raw or to calculate the MD5 hash of the data by piping the output to the appropriate tool.

Usage

Syntax

IMG PACKAGE - img_cat [-vV] [-i imgtype] [-b dev_sector_size] [-s start_sector] [-e stop_sector] image

Options

        -i imgtype: The format of the image file (use 'i list' for supported types)
	-b dev_sector_size: The size (in bytes) of the device sectors
	-s start_sector: The sector number to start at
	-e stop_sector:  The sector number to stop at
	-v: verbose output to stderr
	-V: Print version

Example

cyborg@cyborg:~$ img_cat -s 100 -e 1000 -v  file_001.aff 
tsk_img_open: Type: 0   NumImg: 1  Img1: file_001.aff
aff_read: byte offset: 51200 len: 65536
aff_read: byte offset: 116736 len: 65536
aff_read: byte offset: 182272 len: 65536
aff_read: byte offset: 247808 len: 65536
aff_read: byte offset: 313344 len: 65536
aff_read: byte offset: 378880 len: 65536



IMG_STAT

IMG PACKAGE – img_stat displays the details associated with an image file. The output of this command is image format specific. At a minimum, the size will be given and the byte range of each file will be given for split image formats.

Usage

Syntax

IMG PACKAGE - img_stat [-tvV] [-i imgtype] [-b dev_sector_size] image

Options

        -t: display type only
	-i imgtype: The format of the image file (use '-i list' for list of supported types)
	-b dev_sector_size: The size (in bytes) of the device sectors
	-v: verbose output to stderr
	-V: Print version IMG PACKAGE

Example

cyborg@cyborg:~$ img_stat -v fileewf.E01 
tsk_img_open: Type: 0   NumImg: 1  Img1: fileewf.E01
Error opening AFF/AFD/AFM file
aff_open: Success
tsk_img_findFiles: fileewf.E01 found
tsk_img_findFiles: 1 total images found
tsk_img_findFiles: fileewf.E01 found
IMAGE FILE INFORMATION
--------------------------------------------
Image Type: raw

Size in bytes: 209573638
0 Comments

Leave a reply

CONTACT US

We're are building as a community and a team. Be a part of it.

Sending

©2017 Ztrela Knowledge Solutions Pvt. Ltd

Log in with your credentials

Forgot your details?