亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ewfacquirestream.c

?? sleuthit-2.09 一個磁盤的工具集
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* * ewfacquirestream * Reads data from a stdin and writes it in EWF format * * Copyright (c) 2006-2007, Joachim Metz <forensics@hoffmannbv.nl>, * Hoffmann Investigations. All rights reserved. * * Refer to AUTHORS for acknowledgements. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, *   this list of conditions and the following disclaimer. * - Redistributions in binary form must reproduce the above copyright notice, *   this list of conditions and the following disclaimer in the documentation *   and/or other materials provided with the distribution. * - Neither the name of the creator, related organisations, nor the names of *   its contributors may be used to endorse or promote products derived from *   this software without specific prior written permission. * - All advertising materials mentioning features or use of this software *   must acknowledge the contribution by people stated in the acknowledgements. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER, COMPANY AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */#include "../libewf/libewf_includes.h"#include <errno.h>#include <stdio.h>#ifdef HAVE_SYS_IOCTL_H#include <sys/ioctl.h>#endif#ifdef HAVE_UNISTD_H#include <unistd.h>#endif#ifdef HAVE_STDLIB_H#include <stdlib.h>#endif#include <libewf.h>#include "../libewf/libewf_char.h"#include "../libewf/libewf_common.h"#include "../libewf/libewf_notify.h"#include "../libewf/libewf_string.h"#include "ewfcommon.h"#include "ewfgetopt.h"#include "ewfglob.h"#include "ewfsignal.h"/* Prints the executable usage information */void usage( void ){	fprintf( stderr, "Usage: ewfacquirestream [ -b amount_of_sectors ] [ -c compression_type ] [ -C case_number ] [ -d digest_type ] [ -D description ]\n" );	fprintf( stderr, "                        [ -e examiner_name ] [ -E evidence_number ] [ -f format ] [ -m media_type ] [ -M volume_type ] [ -N notes ]\n" );	fprintf( stderr, "                        [ -S segment_file_size ] [ -t target ] [ -hsvV ]\n\n" );	fprintf( stderr, "\tReads data from stdin\n\n" );	fprintf( stderr, "\t-b: specify the amount of sectors to read at once (per chunk), options: 64 (default), 128, 256, 512, 1024, 2048, 4096, 8192, 16384 or 32768\n" );	fprintf( stderr, "\t-c: specify the compression type, options: none (is default), empty_block, fast, best\n" );	fprintf( stderr, "\t-C: specify the case number (default is case_number).\n" );	fprintf( stderr, "\t-d: calculate additional digest (hash) types besides md5, options: sha1\n" );	fprintf( stderr, "\t-D: specify the description (default is description).\n" );	fprintf( stderr, "\t-e: specify the examiner name (default is examiner_name).\n" );	fprintf( stderr, "\t-E: specify the evidence number (default is evidence_number).\n" );	fprintf( stderr, "\t-f: specify the EWF file format to write to, options: ftk, encase2, encase3, encase4,\n" );	fprintf( stderr, "\t    encase5 (is default), encase6, linen5, linen6, ewfx\n" );	fprintf( stderr, "\t-h: shows this help\n" );	fprintf( stderr, "\t-m: specify the media type, options: fixed (is default), removable\n" );	fprintf( stderr, "\t-M: specify the volume type, options: logical (is default), physical\n" );	fprintf( stderr, "\t-N: specify the notes (default is notes).\n" );	fprintf( stderr, "\t-s: swap byte pairs of the media data (from AB to BA)\n" );	fprintf( stderr, "\t    (use this for big to little endian conversion and vice versa)\n" );	fprintf( stderr, "\t-S: specify the segment file size in kbytes (2^10) (default is %" PRIu32 ")\n", (uint32_t) ( 650 * 1024 ) );	fprintf( stderr, "\t-t: specify the target file (without extension) to write to (default is stream)\n" );	fprintf( stderr, "\t-v: verbose output to stderr\n" );	fprintf( stderr, "\t-V: print version\n" );}/* The main program */#ifdef HAVE_WIDE_CHARACTER_SUPPORT_FUNCTIONSint wmain( int argc, wchar_t * const argv[] )#elseint main( int argc, char * const argv[] )#endif{#if defined(HAVE_UUID_UUID_H) && defined(HAVE_LIBUUID)	uint8_t guid[ 16 ];#endif	CHAR_T *filenames[ 1 ]                  = { "stream" };	LIBEWF_HANDLE *handle                    = NULL;	LIBEWF_CHAR *calculated_md5_hash_string  = NULL;	LIBEWF_CHAR *calculated_sha1_hash_string = NULL;	LIBEWF_CHAR *case_number                 = NULL;	LIBEWF_CHAR *description                 = NULL;	LIBEWF_CHAR *evidence_number             = NULL;	LIBEWF_CHAR *examiner_name               = NULL;	LIBEWF_CHAR *notes                       = NULL;	LIBEWF_CHAR *acquiry_operating_system    = NULL;	LIBEWF_CHAR *acquiry_software_version    = NULL;	CHAR_T *option_case_number               = NULL;	CHAR_T *option_description               = NULL;	CHAR_T *option_examiner_name             = NULL;	CHAR_T *option_evidence_number           = NULL;	CHAR_T *option_notes                     = NULL;	CHAR_T *time_string                      = NULL;	CHAR_T *end_of_string                    = NULL;	void *callback                           = &ewfcommon_stream_process_status_fprint;	INT_T option                             = 0;	size_t string_length                     = 0;	time_t timestamp_start                   = 0;	time_t timestamp_end                     = 0;	int64_t segment_file_size                = ( 650 * 1024 );	int64_t count                            = 0;	uint64_t acquiry_offset                  = 0;	uint64_t acquiry_size                    = 0;	uint64_t sectors_per_chunk               = 64;	uint32_t sector_error_granularity        = 64;	int8_t compression_level                 = LIBEWF_COMPRESSION_NONE;	int8_t result_md5_hash                   = 0;	int8_t result_sha1_hash                  = 0;	uint8_t media_type                       = LIBEWF_MEDIA_TYPE_FIXED;	uint8_t volume_type                      = LIBEWF_VOLUME_TYPE_LOGICAL;	uint8_t compress_empty_block             = 0;	uint8_t libewf_format                    = LIBEWF_FORMAT_ENCASE5;	uint8_t wipe_block_on_read_error         = 0;	uint8_t read_error_retry                 = 2;	uint8_t swap_byte_pairs                  = 0;	uint8_t seek_on_error                    = 0;	uint8_t calculate_sha1                   = 0;	uint8_t verbose                          = 0;	ewfsignal_initialize();	ewfcommon_version_fprint( stderr, _S_LIBEWF_CHAR( "ewfacquirestream" ) );	while( ( option = ewfgetopt( argc, argv, _S_CHAR_T( "b:c:C:d:D:e:E:f:hm:M:N:sS:t:vV" ) ) ) != (INT_T) -1 )	{		switch( option )		{			case (INT_T) '?':			default:				fprintf( stderr, "Invalid argument: %" PRIs "\n", argv[ optind ] );				usage();				return( EXIT_FAILURE );			case (INT_T) 'b':				if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "32768" ), 5 ) == 0 )				{					sectors_per_chunk = 32768;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "16384" ), 5 ) == 0 )				{					sectors_per_chunk = 16384;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "8192" ), 4 ) == 0 )				{					sectors_per_chunk = 8192;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "4096" ), 4 ) == 0 )				{					sectors_per_chunk = 4096;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "2048" ), 4 ) == 0 )				{					sectors_per_chunk = 2048;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "1024" ), 4 ) == 0 )				{					sectors_per_chunk = 1024;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "512" ), 3 ) == 0 )				{					sectors_per_chunk = 512;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "256" ), 3 ) == 0 )				{					sectors_per_chunk = 256;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "128" ), 3 ) == 0 )				{					sectors_per_chunk = 128;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "64" ), 2 ) == 0 )				{					sectors_per_chunk = 64;				}				else				{					fprintf( stderr, "unsuported amount of sectors per chunk defaulting to 64.\n" );				}				break;			case (INT_T) 'c':				if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "none" ), 4 ) == 0 )				{					compression_level = LIBEWF_COMPRESSION_NONE;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "empty_block" ), 11 ) == 0 )				{					compress_empty_block = 1;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "fast" ), 4 ) == 0 )				{					compression_level = LIBEWF_COMPRESSION_FAST;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "best" ), 4 ) == 0 )				{					compression_level = LIBEWF_COMPRESSION_BEST;				}				else				{					fprintf( stderr, "unsuported compression type defaulting to none.\n" );				}				break;			case (INT_T) 'C':				option_case_number = optarg;				break;			case (INT_T) 'd':				if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "sha1" ), 4 ) == 0 )				{					calculate_sha1 = 1;				}				else				{					fprintf( stderr, "unsuported digest type.\n" );				}				break;			case (INT_T) 'D':				option_description = optarg;				break;			case (INT_T) 'e':				option_examiner_name = optarg;				break;			case (INT_T) 'E':				option_evidence_number = optarg;				break;			case (INT_T) 'f':				if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "ftk" ), 3 ) == 0 )				{					libewf_format = LIBEWF_FORMAT_FTK;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "encase2" ), 7 ) == 0 )				{					libewf_format = LIBEWF_FORMAT_ENCASE2;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "encase3" ), 7 ) == 0 )				{					libewf_format = LIBEWF_FORMAT_ENCASE3;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "encase4" ), 7 ) == 0 )				{					libewf_format = LIBEWF_FORMAT_ENCASE4;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "encase5" ), 7 ) == 0 )				{					libewf_format = LIBEWF_FORMAT_ENCASE5;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "encase6" ), 7 ) == 0 )				{					libewf_format = LIBEWF_FORMAT_ENCASE6;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "linen5" ), 6 ) == 0 )				{					libewf_format = LIBEWF_FORMAT_LINEN5;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "linen6" ), 6 ) == 0 )				{					libewf_format = LIBEWF_FORMAT_LINEN6;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "ewfx" ), 4 ) == 0 )				{					libewf_format = LIBEWF_FORMAT_EWFX;				}				else				{					fprintf( stderr, "unsuported EWF file format type defaulting to encase5.\n" );				}				break;			case (INT_T) 'h':				usage();				return( EXIT_SUCCESS );			case (INT_T) 'm':				if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "fixed" ), 5 ) == 0 )				{					media_type = LIBEWF_MEDIA_TYPE_FIXED;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "removable" ), 9 ) == 0 )				{					media_type = LIBEWF_MEDIA_TYPE_REMOVABLE;				}				else				{					fprintf( stderr, "unsuported media type defaulting to fixed.\n" );				}				break;			case (INT_T) 'M':				if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "logical" ), 7 ) == 0 )				{					volume_type = LIBEWF_VOLUME_TYPE_LOGICAL;				}				else if( CHAR_T_COMPARE( optarg, _S_CHAR_T( "physical" ), 8 ) == 0 )				{					volume_type = LIBEWF_VOLUME_TYPE_PHYSICAL;				}				else				{					fprintf( stderr, "unsuported volume type defaulting to logical.\n" );				}				break;			case (INT_T) 'N':				option_notes = optarg;				break;			case (INT_T) 'q':				break;			case (INT_T) 's':				swap_byte_pairs = 1;				break;			case (INT_T) 'S':				string_length     = CHAR_T_LENGTH( optarg );				end_of_string     = &optarg[ string_length - 1 ];				segment_file_size = CHAR_T_TOLONG( optarg, &end_of_string, 0 );				break;			case (INT_T) 't':				filenames[ 0 ] = optarg;				break;			case (INT_T) 'v':				verbose = 1;				break;			case (INT_T) 'V':				ewfcommon_copyright_fprint( stderr );				return( EXIT_SUCCESS );		}	}	libewf_set_notify_values( stderr, verbose );	segment_file_size *= 1024;	/* Make sure the segment file size is 1 byte smaller than 2 Gb (2 * 1024 * 1024 * 1024)	 */	if( segment_file_size >= (int64_t) INT32_MAX )	{		segment_file_size = (int64_t) INT32_MAX - 1;	}	/* And larger than 1440 kb (1440 * 1024)	 */	else if( segment_file_size < (1440 * 1024) )	{		segment_file_size = 1440 * 1024;	}	if( option_case_number != NULL )	{		string_length = CHAR_T_LENGTH( option_case_number );		if( string_length > 0 )		{			string_length += 1;			case_number    = (LIBEWF_CHAR *) libewf_common_alloc( LIBEWF_CHAR_SIZE * string_length );			if( case_number == NULL )			{				fprintf( stderr, "Unable to create case number string.\n" );				return( EXIT_FAILURE );			}			if( ewfcommon_copy_libewf_char_from_char_t( case_number, option_case_number, string_length ) != 1 )			{				fprintf( stderr, "Unable to set case number string.\n" );				return( EXIT_FAILURE );			}		}	}	if( option_description != NULL )	{		string_length = CHAR_T_LENGTH( option_description );		if( string_length > 0 )		{			string_length += 1;			description    = (LIBEWF_CHAR *) libewf_common_alloc( LIBEWF_CHAR_SIZE * string_length );			if( description == NULL )			{				fprintf( stderr, "Unable to create description string.\n" );				return( EXIT_FAILURE );			}			if( ewfcommon_copy_libewf_char_from_char_t( description, option_description, string_length ) != 1 )			{				fprintf( stderr, "Unable to set description string.\n" );				return( EXIT_FAILURE );			}		}	}	if( option_examiner_name != NULL )	{		string_length = CHAR_T_LENGTH( option_examiner_name );		if( string_length > 0 )		{			string_length += 1;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美日韩国产综合在线| 国产精品丝袜在线| 一本久道中文字幕精品亚洲嫩| 国产中文字幕一区| 久久er99热精品一区二区| 日韩精品1区2区3区| 亚洲成人7777| 日韩和的一区二区| 日韩在线一二三区| 久久不见久久见中文字幕免费| 久久国产精品一区二区| 国产伦精品一区二区三区视频青涩| 日韩精品一二区| 久久国产福利国产秒拍| 国产精品一线二线三线精华| 国产成人在线免费观看| 成人美女在线视频| 91猫先生在线| 日韩一区二区免费电影| 精品成人一区二区三区| 中文字幕在线播放不卡一区| 亚洲综合免费观看高清完整版 | 日韩中文字幕1| 男女男精品视频网| 国产二区国产一区在线观看| 99这里只有久久精品视频| 色88888久久久久久影院按摩| 欧美日韩免费一区二区三区| 欧美大肚乱孕交hd孕妇| 国产精品欧美一区喷水| 亚洲国产毛片aaaaa无费看 | 成人黄色片在线观看| 99精品国产99久久久久久白柏| 欧美在线观看视频在线| 欧美成人精品福利| 亚洲欧洲av在线| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产一区不卡在线| 色呦呦日韩精品| 精品福利一区二区三区免费视频| 国产精品久久久久久久午夜片| 美女网站在线免费欧美精品| 国产主播一区二区| 在线视频一区二区三区| 久久欧美一区二区| 亚洲午夜精品在线| 成人精品一区二区三区四区| 欧美一区三区四区| 亚洲精选免费视频| 国产成人免费高清| 337p亚洲精品色噜噜噜| 亚洲日穴在线视频| 亚洲成人精品一区二区| 国产精品一区免费视频| 69久久99精品久久久久婷婷| 亚洲美女区一区| 成人性色生活片免费看爆迷你毛片| 欧美系列一区二区| 国产精品看片你懂得| 韩国成人福利片在线播放| 欧美乱妇20p| 亚洲在线一区二区三区| 色综合中文综合网| 亚洲日本在线a| 国产98色在线|日韩| 欧美tickling挠脚心丨vk| 偷拍日韩校园综合在线| 欧美专区在线观看一区| 亚洲人快播电影网| 97se亚洲国产综合自在线观| 国产精品色呦呦| 成人免费视频一区| 中文字幕av一区 二区| 国产自产2019最新不卡| 日韩一区二区麻豆国产| 免费在线观看视频一区| 91精品国产综合久久久久久漫画| 亚洲一区成人在线| 欧美日韩一级片在线观看| 亚洲三级电影全部在线观看高清| caoporn国产精品| 亚洲日本一区二区| 色综合天天性综合| 美腿丝袜亚洲综合| 日韩三级伦理片妻子的秘密按摩| 日韩av一区二区三区四区| 91精品国产欧美一区二区成人| 天天av天天翘天天综合网色鬼国产| 精品视频全国免费看| 天堂va蜜桃一区二区三区漫画版| 欧美性猛交xxxx乱大交退制版| 亚洲国产美女搞黄色| 欧美一卡2卡三卡4卡5免费| 久久精品av麻豆的观看方式| 国产清纯在线一区二区www| 福利一区福利二区| 一区二区欧美国产| 337p亚洲精品色噜噜| 狠狠色丁香婷婷综合| 国产精品伦理一区二区| 色欧美乱欧美15图片| 日韩精品欧美成人高清一区二区| 欧美不卡一区二区三区| 国产91色综合久久免费分享| 亚洲欧洲制服丝袜| 日韩三级视频在线看| 成人高清av在线| 1024国产精品| 97精品国产97久久久久久久久久久久| 日韩一区二区中文字幕| 日产精品久久久久久久性色| 久久久久久麻豆| 国产一区二区成人久久免费影院 | 午夜日韩在线观看| 一区二区三区久久久| 亚洲欧美一区二区三区久本道91| 国产精品狼人久久影院观看方式| 国产日产精品1区| 欧美激情中文不卡| 欧美国产精品中文字幕| 国产精品乱码一区二区三区软件 | 色国产综合视频| 91老师片黄在线观看| 91麻豆成人久久精品二区三区| 成人激情图片网| 色综合中文字幕国产 | 日韩美女视频在线| 欧美一区二区三区成人| 日韩一区二区视频| 精品国产一区a| 中文字幕av一区二区三区高 | 国产精品18久久久久久久久| 久久精品国产久精国产爱| 老司机免费视频一区二区三区| 欧美a级理论片| 国产乱子伦视频一区二区三区| 国产在线视视频有精品| 国内成人免费视频| 成人高清视频免费观看| 在线亚洲人成电影网站色www| 欧美日韩在线播放| 精品999久久久| 中文字幕在线不卡视频| 亚洲另类在线视频| 日韩在线一区二区三区| 国产乱对白刺激视频不卡| 99国产精品99久久久久久| 欧亚洲嫩模精品一区三区| 欧美一卡2卡3卡4卡| 国产精品久久99| 亚洲成av人在线观看| 国产精品综合视频| 在线观看不卡一区| 欧美zozo另类异族| 亚洲精品欧美二区三区中文字幕| 图片区日韩欧美亚洲| 成人毛片在线观看| 91精品蜜臀在线一区尤物| 国产精品午夜电影| 日韩一区精品视频| 91蜜桃婷婷狠狠久久综合9色| 欧美精品一卡两卡| 国产精品久久久久久久久免费丝袜 | 欧美在线不卡视频| 亚洲激情图片qvod| 国产一区二区成人久久免费影院| 在线观看国产精品网站| 久久精品欧美一区二区三区不卡 | 欧美激情一区二区三区四区| 性久久久久久久久| 成人av网站在线观看| 欧美大片日本大片免费观看| 一区二区理论电影在线观看| 高清久久久久久| 日韩精品在线一区| 亚洲国产成人精品视频| gogo大胆日本视频一区| 亚洲精品一区二区三区香蕉| 亚洲成人先锋电影| 97se亚洲国产综合自在线不卡| 欧美xxxx在线观看| 日日摸夜夜添夜夜添精品视频| 91亚洲资源网| 国产精品久久久久天堂| 国产精品一区二区免费不卡| 日韩免费观看2025年上映的电影| 亚洲一区在线观看免费| 成人精品亚洲人成在线| 久久久久久日产精品| 蜜桃免费网站一区二区三区| 在线看国产日韩| 亚洲另类色综合网站| 99精品偷自拍| 国产精品美女久久福利网站| 国产在线播精品第三| 精品三级av在线| 在线免费观看视频一区| 国产精品成人网| 成人小视频在线观看| 国产精品天美传媒沈樵|