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

20 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.

Aion chinese gold said...

I like play online game, I also buy Aion gold and Aion gold, the Aion china gold is very cheap, and use the Aion China kina can buy many things, I like Aion chinese gold, thanks, it is very good.

haoran said...

Your blog is wonderful, I like it very much, thank you!
By the way, do you like polo shirts, which are very chic, especially the polo t shirts, I love them very much. I also like playing tennis rackets, it can keep healthy, what do you like to do?
We are the outlet of polo t shirts women, polo t shirts on sale, polo t shirts for women, polo shirts on sale, these products are best-seller in our store online.besides we also sell polo shirts men, men's polo shirt, men polo shirt, mens polo shirts, mens polo shirt and cheap polo shirts, discount polo shirts, men's polo shirts, women's polo shirts We are also the outlet of cheap tennis racket, discount tennis racket and the main product is prince tennis racquet, head tennis rackets, wilson tennis racket, babolat tennis racquet. So if you love sports, you should not miss our store, we can meet what you want, and you can find many surprise in our store

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.

Roxy said...

Costa rica tours, shopping online, costa rica fishing, jaco fishing charters, costa rica whale watching, costa rica dolphin watching, costa rica party boat, panama fishing, fishing costa rica los suenos, los suenos fishing charters, costa rica fishing los suenos, los suenos costa rica fishing, costa rica los suenos fishing, fishing costa rica los suenos, los suenos fishing charters, costa rica fishing los suenos, los suenos costa rica fishing charters, costa rica los suenos fishing, Los suenos fishing, Fishing costa rica los suenos, Costa Rica Rafting,
http://www.kingtours.com/.

Simple Luxury said...

Burberry Outlet Store Online
Handbags Outlet Store Online

www.burberry-outlets.org
www.prada-outlet.org

Bayan Ankara Escort said...

Ankara Escort, Escort Ankara, Escort Ankara Bayan
Escort Ankara, Escort Ankara Bayan, Ankara Escort Bayan
Bayan Ankara Escort, Ankara Bayan Escort, Ankara Escort Kızlar
Escort Kızlar Ankara, Escort Bayan Ankara, Escort Bayanlar Ankara
Escort Bayanlar Ankara, Ankara Bayan Escortlar, Ankara Eskort Bayan
Escort Kızlar Ankara, Ankara Escort Kadınlar, Ankara Eskort Bayanlar
Ankarada Tele Kızlar, Ankara Escort Kızlar, Ankara Eskort Bayan
Bursa Escort, Bayan Escort Bursa, Bursa Eskort Bayan
Kayseri Escort, Bayan Escort Kayseri, Kayseri Eskort Bayan
Escort Bayan Ankara
Escort Bayan
Escort Ankara
Escort Ankara Bayan

Escort Bayan Ankara,
Escort Bayan,
Ankara Escort,
Ankara Escort Bayan,
Escort Bayan Ankara,
Escort Bayan,
Escort Ankara Bayan,
Ankara Escort,
Ankara Escort Bayan,
Escort Bayan Ankara
Ankara Escort Bayan
Escort Ankara
Bayan Ankara Escort
Escort Ankara
Escort Bursa
Escort Ankara Bayan
Ankara Escort Bayan
Escort Bayan Ankara

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

Syaiful tenun said...

article from a very amazing, Good Job, Thank you for presenting a wide variety of information that is very interesting to see in this artikle


pemesana furniture jepara |
rute expedisi furniture |
warna furniture jepara |
produk furniture jepara |
furniture jepara |
toko furniture jepara |
toko mebel jepara |

kamar set mewah |
kamar set minimalis |
kamar anak hello kitty |
gebyok pelaminan |
meja kantor jati |
kamar set minimalis |
meja makan jati |
kursi tamu mewah |
kursi tamu mewah |
set kursi tamu |
meja makan jati |
set meja makan |
lemari jati mewah |
almari pakaian |
lemari pakaian 4 pintu |
almari hias ukir jati |
almari hias ukir |
ayunan jati |
ayunan jati jepara |
kursi bale bale |

toko tenun said...

article from a very amazing, Good Job, Thank you for presenting a wide variety of information that is very interesting to see in this artikle

tempat tidur minimalis
ranjang tidur anak
tempat tidur terbaru
tempat tidur
ranjang tidur jati
luxury bed sets
bed models italian
tempat tidur tingkat
tempat tidur hello kitty
tempat tidur anak bertingkat
set kamar tidur jati
set bed bayi
tempat tidur anak minimalis
set tempat tidur bayi
kamar set modern
tempat tidur coklat
dipan rahwana jati
kamar set mewah jati
kamar mewah italian
kamr set mewah model terbaru
set tempat tidur minimalis
tempat tidur minimalis
tempat tidur mewah
tempat tidur anak
kamar set mewah
MEJA KANTOR
meja kantor direktur
meja kantor presiden
kursi kantor ukiran
meja kantor jati
meja kantor mewah
meja kantor

Chang bui thi said...

Great post,Thanks for providing us this great knowledge,Keep it up.
A good blog.
Visit to friv 4 school than play funny games and play game desney games ! have fun!

juegos de frozen said...

I think I need it. Thank you
---
friv 2 | friv2 | friv games

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

Nay Denature said...

Hemorrhoids are associated with constipation and straining at bowel movements Pregnancy is also associated with hemorrhoids These conditions lead to increased pressure within the hemorrhoidal veins that causes them to swell Other conditions for example chronic liver disease may also cause increased venous pressure and may be associated with hemorrhoids Hemorrhoids are very common and are estimated to occur in up to one-half of the population by age 50

lionelmessi10 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

Syaiful wisata 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

Alice Denny said...

I was working and suddenly I visits your site frequently and recommended it to me to read also. Age Of War 2
Big Farm | Slitherio
Tank Trouble | Happy Wheels
Goodgeme Empire | Slither.io