Free software that ...
 
Notifications
Clear all

Free software that copies a block into a new file?

5 Posts
2 Users
0 Likes
854 Views
(@loonaluna)
Posts: 33
Eminent Member
Topic starter
 

Hi sorry for the noob question, I may not be understanding how this works at all. But I found a continuous amount of free space in winhex that I suspect is the truecrypt container I'm looking for. I'm probably wrong, but I'll give it a try. Anyway, so Winhex says ''cannot allocate 74gb of continuous RAM, and the edit/copy block/into new file says with the evaluation version I can't save files larger than 200kb. I tried a free hexeditor out there called HxD and it doesn't have this option at all. Is there a free software out there that does this? Of course I hope to just copy the file into another hard drive, use the password I remember and it'll open…

 
Posted : 27/02/2018 5:46 pm
jaclaz
(@jaclaz)
Posts: 5133
Illustrious Member
 

You want to use dd (Linux) or one of its ports to extract the data to a new file.

UNder Windows use (I personally prefer it over various dd ports) dsfo, part of the dsfok toolkit
http//members.ozemail.com.au/~nulifetv/freezip/freeware/index.html

If you want a GUI tool under Windows, meet Datarescuedd
https://www.datarescue.com/photorescue/v3/drdd.htm

jaclaz

 
Posted : 27/02/2018 6:52 pm
(@loonaluna)
Posts: 33
Eminent Member
Topic starter
 

You want to use dd (Linux) or one of its ports to extract the data to a new file.

UNder Windows use (I personally prefer it over various dd ports) dsfo, part of the dsfok toolkit
http//members.ozemail.com.au/~nulifetv/freezip/freeware/index.html

I'm not sure I understand. I copied the first 512 bytes of data from the free space I saw in winhex, pasted it into a file, saved it. Then applied this dsfo tool to it, and it made a new file with chinese characters in it. What's dsfo doing, am I doing something wrong, and where can I test my password on these 512 bytes of data?

If you want a GUI tool under Windows, meet Datarescuedd
https://www.datarescue.com/photorescue/v3/drdd.htm

jaclaz

I believe by this you mean make a backup of the volume the deleted truecrypt container is sitting in. I already did that with other software, I'm working on a mirrored backup. Unless you mean it can select the free space that winhex is capable of seeing, and backup that. In that case this tool would be of use to me right now, but I don't see it?

 
Posted : 01/03/2018 8:27 am
jaclaz
(@jaclaz)
Posts: 5133
Illustrious Member
 

I'm not sure I understand. I copied the first 512 bytes of data from the free space I saw in winhex, pasted it into a file, saved it. Then applied this dsfo tool to it, and it made a new file with chinese characters in it. What's dsfo doing, am I doing something wrong, and where can I test my password on these 512 bytes of data?

Well, it seems like you are missing some basics ? .

Without knowing HOW EXACTLY you used dsfo, it is hard to say, however it won't produce "Chinese characters", you asked about how to extract a block, and that is what dsfo can do, but you seemingly used Winhex for the extraction and then used dsfo (for doing what) on the already extracted/created new file.

Anything that is saved on a hard disk (or similar storage media) or on an image can be defined as an "extent" (or "block" as you called it).

An "extent" is defined by a start address and a length (usually measured either in bytes or in sectors).

If you open the *whatever* you are working on, the first sector you find of interest in Winhex will have an address, as an offset (as said either in bytes or in sectors, usually 512 bytes each).

So, if you are working on a file, let's say for the sake of the example you are working on file C\mynicefile.img you open it in Winhex, you will start at offset 0.
If you want to extract from it first 512 bytes, you select in Winhex first 512 bytes, copy and paste to a new file, let's say C\1st_sector_WH.bin.
Or you use dsfo as follows
dsfo C\mynicefile.img 0 512 C\1st_sector_dsfo.bin

If you open (in Winhex) both files C\1st_sector_WH.bin and C\1st_sector_dsfo.bin, and compare them you will find that they are identical.

If you want to get an extent starting from second sector of length one sector, you can do the same with Winhex, with dsfo that would be
dsfo C\mynicefile.img 512 512 C\2nd_sector_dsfo.bin

If you want to get the "extent" starting from third sector of length 10,000 sectors, with dsfo
dsfo C\mynicefile.img 1024 5120000 C\3_10000_dsfo.bin

DatarescueDD can do the same, only, since it is born to recove extents from disk, it acceppts only a disk or drive as source (that can be your image mounted) and not a file (while dsfo/dsfi accept files, physicaldrives and logical volumes).

jaclaz

 
Posted : 01/03/2018 11:41 am
(@loonaluna)
Posts: 33
Eminent Member
Topic starter
 

Thanks for pointing all that out so patiently jaclaz. Indeed I am new to this and didn't know what I was doing yesterday. )

 
Posted : 02/03/2018 6:56 pm
Share: