<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1746946614390371171.post6442060124647643984..comments</id><updated>2009-09-23T01:18:29.449-07:00</updated><category term='Cell Phones'/><category term='CRLF'/><category term='Wireless'/><category term='Vista'/><category term='Kindle'/><category term='CP'/><category term='File Signatures'/><category term='Hash'/><category term='SQL'/><category term='File System'/><category term='Email'/><category term='Patch'/><category term='Exclusion List'/><category term='dd'/><category term='SHA1'/><category term='MFT'/><category term='Photos'/><category term='Service Pack'/><category term='Keywords'/><category term='Import'/><category term='Encryption'/><category term='Firewall'/><category term='export'/><category term='EnScript Requests'/><category term='Install Date'/><category term='Timestamps'/><category term='Office Metadata'/><category term='NIST'/><category term='Password Bypass'/><category term='EnScript Tutorial'/><category term='MAC Address'/><category term='Domains'/><category term='GREP'/><category term='Thumbnails'/><category term='FTP'/><category term='USB History'/><category term='Virus'/><category term='Search Hits'/><category term='Bookmark'/><category term='MD5'/><category term='Winen'/><category term='LogFile'/><category term='EMLX'/><category term='Video'/><category term='Operating System'/><category term='Yahoo'/><category term='Duplicates'/><category term='Icons'/><category term='USNJRNL'/><category term='Restore Points'/><category term='Windows 7'/><category term='Base64'/><category term='Unallocated'/><category term='eBlaster'/><category term='Ghost'/><category term='XOR'/><category term='VSS'/><category term='Selected Text'/><category term='Network Information'/><category term='Forensic Practical'/><category term='Decode'/><category term='SANS'/><category term='Extensions'/><category term='Limewire'/><category term='Search'/><category term='Registry'/><category term='OSX'/><category term='IIS'/><category term='Unused Disk Space'/><category term='Event Logs'/><category term='Norton AV'/><category term='Foreign Language'/><category term='Lanman'/><category term='Redaction'/><category term='UserAssist'/><category term='ICAC'/><category term='LUHN'/><category term='Count'/><category term='Filename'/><category term='thumbcache'/><category term='ROT13'/><category term='HTML'/><category term='Incident Response'/><category term='Anti-Forensics'/><category term='Memory'/><category term='Internet History'/><category term='LEF'/><category term='File Types'/><category term='Triage'/><category term='SearchPak'/><category term='F-Response'/><category term='BitLocker'/><title type='text'>Comments on Computer Forensics, Malware Analysis &amp;amp; Digital Investigations: Filter to remove duplicates for export</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.forensickb.com/feeds/6442060124647643984/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1746946614390371171/6442060124647643984/comments/default'/><link rel='alternate' type='text/html' href='http://www.forensickb.com/2009/04/filter-to-remove-duplicates-for-export.html'/><author><name>Lance Mueller</name><uri>http://www.blogger.com/profile/15789264000499223230</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1746946614390371171.post-6653107490496431860</id><published>2009-09-23T01:18:29.449-07:00</published><updated>2009-09-23T01:18:29.449-07:00</updated><title type='text'>Many thanks, this just cut the number of review fi...</title><content type='html'>Many thanks, this just cut the number of review files in half&lt;br /&gt;&lt;br /&gt;John</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1746946614390371171/6442060124647643984/comments/default/6653107490496431860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1746946614390371171/6442060124647643984/comments/default/6653107490496431860'/><link rel='alternate' type='text/html' href='http://www.forensickb.com/2009/04/filter-to-remove-duplicates-for-export.html?showComment=1253693909449#c6653107490496431860' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.forensickb.com/2009/04/filter-to-remove-duplicates-for-export.html' ref='tag:blogger.com,1999:blog-1746946614390371171.post-6442060124647643984' source='http://www.blogger.com/feeds/1746946614390371171/posts/default/6442060124647643984' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-455239702'/></entry><entry><id>tag:blogger.com,1999:blog-1746946614390371171.post-3930052270250393120</id><published>2009-05-01T08:43:00.000-07:00</published><updated>2009-05-01T08:43:00.000-07:00</updated><title type='text'>Lance,

Here is a similar filter, with better perf...</title><content type='html'>Lance,&lt;br /&gt;&lt;br /&gt;Here is a similar filter, with better performance, using a suggestion by Shawn Mcreight on the GSI forum.  Basically just uses a hash array rather than name class array, since hash comparisons are orders of magnitude faster than string comparisons.  This is also easily modified to dedupe the entire case.&lt;br /&gt;&lt;br /&gt;typedef HashClass[] HashArray;&lt;br /&gt;class MainClass {&lt;br /&gt;  HashArray   HashList;&lt;br /&gt;  SearchClass Search;&lt;br /&gt;  MainClass() :&lt;br /&gt;    HashList(),&lt;br /&gt;    Search()&lt;br /&gt;  {&lt;br /&gt;  }&lt;br /&gt;  bool Main(EntryClass entry) {&lt;br /&gt;    if (entry.IsSelected()) {&lt;br /&gt;      HashClass hash = Search.ComputeHash(entry);&lt;br /&gt;      if (HashList.Find(hash) == -1) {&lt;br /&gt;        HashList.Add(hash);&lt;br /&gt;        return true;&lt;br /&gt;      }&lt;br /&gt;      else&lt;br /&gt;        Console.WriteLine("Duplicate File:\t" + entry.FullPath() + "\t" + hash);&lt;br /&gt;    }&lt;br /&gt;    return false;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Thanks for the great resources available on your blog.&lt;br /&gt;&lt;br /&gt;Brian Larsen</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1746946614390371171/6442060124647643984/comments/default/3930052270250393120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1746946614390371171/6442060124647643984/comments/default/3930052270250393120'/><link rel='alternate' type='text/html' href='http://www.forensickb.com/2009/04/filter-to-remove-duplicates-for-export.html?showComment=1241192580000#c3930052270250393120' title=''/><author><name>Brian Larsen</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.forensickb.com/2009/04/filter-to-remove-duplicates-for-export.html' ref='tag:blogger.com,1999:blog-1746946614390371171.post-6442060124647643984' source='http://www.blogger.com/feeds/1746946614390371171/posts/default/6442060124647643984' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1083193415'/></entry></feed>
