#
#		ITSV GmbH
#	CCDB - Command and Control Database
#
#	FILE:		dquermfile_DUMPMFILE.txt
#	DESCRIPTION:	DQUERY definition for CCDB DQUERY "DUMPMFILE"
#
@querytitle				Managed File als Hex-Dump anzeigen
@querydescription		Das Query DUMPMFILE zeigt ein Managed File im Binär-Format als Hex-Dump an
@group					DATAFILE
@title					Hex-Dump des Managed Files {{mfileid}}
@querytype				jsexpr
@attributenames			mfileid:mfileid
@aexpression			mfile.process_mfile(that,that.session,that.query.mfileid,{read_mode: 'chunk', start: 0, end: 1024, process_result: 'hex_dump_filedata'},that)
@hex_dump_filedata		convert_buffer_to_hex_dump_result(that.exectx.filedata,that.exectx.result);
@decoration {
	decorate_colcell:	[	{ rawhtml:		"<code>@@celldata@@</code>" },
							{ rawhtml:		"<code>@@celldata@@</code>" },
							{ rawhtml:		"<code>@@celldata@@</code>" } ]
	}
