目录

Indexing

Indexing实际上提供了调查员完整查看文件并从中收集潜在证据。 证据可以包含在文件,磁盘映像,内存快照或网络跟踪中。

索引有助于缩短keyword searching等耗时任务的时间。 法医调查还涉及交互式搜索阶段,其中索引用于快速定位关键字。

索引还有助于在关键字列表中列出关键字。

例子 (Example)

以下示例显示了如何在Python中使用indexing

aList = [123, 'sample', 'zara', 'indexing'];
print "Index for sample : ", aList.index('sample')
print "Index for indexing : ", aList.index('indexing')
str1 = "This is sample message for forensic investigation indexing";
str2 = "sample";
print "Index of the character keyword found is " 
print str1.index(str2)

上面的脚本将产生以下输出。

索引输出
<上一篇.Searching
↑回到顶部↑
WIKI教程 @2018