1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Parsing an image of a device?

Discussion in 'C' started by tootypegs, Nov 28, 2007.

  1. tootypegs

    tootypegs New Member

    Hi i'm new to this forum.

    ..Basically i have a program that can create an image of a device (for example USB thumb drive). I would now like to take that image file and parse it so that i can see all of the files and the directory structure but i have to be honest, i have not a clue how to attemp this!!!

    ........does any one have any ideas- or is able to point me in the direction of research sources??

    thank you
  2. shabbir

    shabbir Administrator Staff Member

    If you have the program you can look into the code and see how it creates the image and you can get the image to content out. If you just have the application then you are at the mercy of the program creator to disclose that to you.
  3. tootypegs

    tootypegs New Member

    I made the program. I gets a handle on a device then using readFile() and WriteFile() it takes a copy of the device a 'bit' a a time.
  4. shabbir

    shabbir Administrator Staff Member

    Probably you should have the algo so that you can extract the image back to some folder and for that you may need some delimiter between the files / folders and then if you have such algo then you will be able to manipulate the content.

Share This Page