Saturday, December 29, 2007

Vinetto - A Thumbs DB Parser/Viewer

A while ago I blogged about a program to view the contents of a thumbs.db file. In the comments Christophe Monniez AKA d-fence (who created the FCCU GNU/Linux boot CD) brought to my attention the open source project Vinetto which is a forensics tool to examine Thumbs.db files written by Michel Roukine. It is a command line python script that works on Linux, Mac OS X and Cygwin(win32). Now I tried it on Cygwin and thought it was a great tool to have in the old tool belt, you can never have enough tools. Since I do not know python I thought it would be a good time to learn it. Well I am still trying to learn it and hopefully in the future will be providing so new tools in it.

Now as most of you know most of my tools will run on Linux (command line) and windows (command line and gui) and I try and strive to make sure that they will work on both (some will only work on windows because that is where the libraries are). Now I saw that Vinetto would work under Cygwin but not win32 natively. So I thought I would see what it would take to make it so it would work natively under win32. Those that just want to use the program and not worry about what I changed can skip to the bottom to the link where the program is (I have compiled the program so there is no need to have python on your system to use the program).

After downloading it and making sure that I had the pre reqs ( Python-2.3 or later and PIL (Python Imaging Library) 1.1.5 or later) installed I opened up the files and looked at what would have to change. Here is all that had to change.

Changes to program vinetto

Line 1 change #!/usr/local/bin/python to #!c:\python25\python
Line 160 chage /usr/share/vinetto/header to ./res/header
Line 161 change /usr/share/vinetto/quantization to ./res/quantization
Line 162 change /usr/share/vinetto/huffman to ./res/huffman
Line 320 change open(outputdir + "/" + NUMBERED_THUMBS_DIR + "/" + TNfname(SIDstr, "2") + ".jpg", \
to open(outputdir + "/" + TNfname(SIDstr, "2") + ".jpg", \


changes to vinreport.py program

Line 62 change /usr/share/vinetto/HtRepTemplate.html to ./res/HtRepTemplate.html


changes to the setup.py program

replace everything with the following

from distutils.core import setup
import py2exe

setup(console=['vinetto'])



run the following to create the executable

python setup.py py2exe

Once the executable has been created (if you already have python and PIL then you do not need to create the executable) you just need to copy the res directory underneath the dist directory (if you are lost here do not worry I have everything compiled for you and if you have done this before you will understand). I then tested it out and it works great (there is one error that states the number of arguments are not correct that I have not looked into) and outputs the files and created the html report.

So future changes/additions for this I think will be to add a autoit gui front end for the windows users who are command line adverse and an option to scan a directory (top most directory) to find all the thumbs.db files. Any other additions I would have to use the program so more

For more information about this program go to the website http://vinetto.sourceforge.net/.

To download my changes and an executable copy of the program go here

10 comments:

Anonymous said...

The following will fix the error "that states the number of arguments are not correct that I have not looked into"

Change in program vinetto
os.system("mkdir " + opts.outputdir + "/" + NUMBERED_THUMBS_DIR)
to
os.system("mkdir " + opts.outputdir)

soo2loo said...

You also need to install py2exe and PIL (Python Image Library) to make compilation successfully.

Anonymous said...

Over the years, replica handbags has offered several high-profile backpacks that have gained acclaim among regular consumers as well as today’s hottest celebrities. These modern louis vuitton bags are a fresh alternative for contemporary career women (and men). Here are some of our favorites: Christopher Backpack: This spacious stunner has been seen on the shoulders of Usher, Kanye West, and other noteworthy celebrities. One of the largest of lv backpacks, it accommodates enough items for a weekend trip. Plus, replica louis vuitton classic monogram logo pattern pays homage to the origins of the esteemed designer.

pay per head said...

This is really fantastic work friend..The Way in which You represent this blog is awesome.I really appreciate your work. Keep it up in future.

furniture said...

very amazing post, good job, Thank you for presenting a wide variety of information that is very interesting to see in this artikle


karimunjawa
and furniture jepara
or mebel jepara
and tenun

click jogos said...

Great post. i like it. feeling great when reading your post .
---
apply baixar facebook movel online free and Facebook movil Gratis online free and apply Facebook Móvil

mobogenie said...

I think I need it. Thank you for update information. i like your blog.
---
descargar whatsapp gratis para android

and Facebook Iniciar Sesion | Facebook Movil

Unknown said...

obat gonore atau kemaluan keluar cairan nanah obat cairan nanah keluar dari alat kelamin obat alat kelamin keluar nanah obat kemaluan keluar nanah obat wasir herbal obat kutil kelamin ampuh cara mengobati sipilis penyakit kencing nanah cara mengobati ujung kemaluan keluar nanah cara mengobati ujung kemaluan keluar nanah cara mengobati ujung kemaluan keluar nanah cara mengobati ujung kemaluan keluar nanah kemaluan yang keluar nanah kemaluan keluar nanah tapi tidak sakit obat wasir luar stadium obat herbal wasir stadium kenapa kemaluan lelaki keluar nanah obat ambeien tradisional paling ampuh obat ambeien tanpa operasi obat wasir ampuh di apotik obat wasir ibu hamil obat ampuh wasir berdarah obat untuk kemaluan lelaki yang keluar nanah obat penyakit gonore atau kemaluan keluar nanah

Unknown said...

very amazing post, I like It
paket karimunjawa 2 hari 1 malam
paket karimunjawa 3 hari 2 malam
paket karimunjawa 4 hari 3 malam
paket honeymoon karimunjawa
jiwaquest resort karimunjawa
nirvana resort karimunjawa

paket karimunjawa 2 hari 1 malam
paket karimunjawa 3 hari 2 malam
paket karimunjawa 4 hari 3 malam
paket honeymoon karimunjawa

paket karimunjawa 2 hari 1 malam
paket karimunjawa 3 hari 2 malam
paket karimunjawa 4 hari 3 malam
jiwaquest resort karimunjawa
paket honeymoon karimunjawa

paket karimunjawa 2 hari 1 malam
paket karimunjawa 3 hari 2 malam
paket karimunjawa 4 hari 3 malam

paket honeymoon karimunjawa
paket karimunjawa rombongan

paket karimunjawa 2 hari 1 malam
paket karimunjawa 3 hari 2 malam
paket karimunjawa 4 hari 3 malam
paket honeymoon karimunjawa
jiwaquest resort karimunjawa
nirvana resort karimunjawa

paket tahun baru karimunjawa
paket tahun baru karimunjawa
paket tahun baru karimunjawa
paket tahun baru karimunjawa

Unknown said...

ankara escort
cankaya escort
turangünes escort
dikmen escort
cukurambar escort
emek escort
demetevler escort
ostim escort
batıkent escort
yenimahalle escort
eryaman escort