Scripts Thread, Finding files where the names have been obscured in Coding and Web Development; Hey all
We had an issue with students storing gigabytes of flash games across their personal folders on the servers. ...
5th November 2009, 02:44 PM #1
- Rep Power
Finding files where the names have been obscured
We had an issue with students storing gigabytes of flash games across their personal folders on the servers. Unfortunately, the IT teaching team use Flash with students so I couldn't just veto storing swf files.
Instead I've written a little python script that takes a folder full of files - "needles" and searches for those files, optionally recursively inside a second folder "haystack". It matches files on filesize and md5 checksum so it will pick up files even if they've been renamed, extensions changed etc.
We're a Linux shop so it's only tested on Ubuntu 8.04. If you're going to run it on Windows then do some proper testing first! Usual disclaimers apply.
FileHunter Unstructured Musings Of A Geek
IDG Tech News
16th November 2009, 11:28 AM #2
By Nick_Parker in forum Windows
Last Post: 1st October 2009, 12:42 PM
Last Post: 15th February 2008, 03:20 PM
By Oops_my_bad in forum Windows
Last Post: 22nd November 2007, 04:51 PM
By boosting in forum Windows Vista
Last Post: 14th June 2007, 04:43 PM
By Gambit in forum Windows
Last Post: 22nd May 2007, 03:42 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)