Best trick related to computers and computing

So i am 29 years old and now in 2014 i think the coolest trick related to computers and computing is to extract saperated part from http hosted iso file :) Some time ago i think that can not be even possible but since iso file has no other encryption inside then it is posible.

This is possible using curl utility:

This is how to extrat/download 32-bit boot.wim from Windows 8.1 x86 iso image:
curl -N -r 19824640-218018958 http://care.dlservice.microsoft.com/dl/download/B/9/9/B999286E-0A47-406D-8B3D-5B5AD7373A4A/9600.17050.WINBLUE_REFRESH.140317-1640_X86FRE_ENTERPRISE_EVAL_EN-US-IR3_CENA_X86FREE_EN-US_DV9.ISO -o"boot-x86.wim"
e68d157e28ecd8766fede473864d0819
e41478eb8b60b8274db1b054b3e2dbc9596f2719

This is how to extrat/download 64-bit boot.wim from Windows 8.1 x64 iso image:
curl -N -r 23371776-265428424 http://care.dlservice.microsoft.com/dl/download/B/9/9/B999286E-0A47-406D-8B3D-5B5AD7373A4A/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_ENTERPRISE_EVAL_EN-US-IR3_CENA_X64FREE_EN-US_DV9.ISO -o"boot-x64.wim"
84416c0b9c5050952a31041ca4214340
5aa9501d40a9232a75a7c3cb53fef5c85f6ded80

To make yourself this kind of nice command you need some text editor. I prefer "HxD" from Hirens 15.2 disk.

To search for start and end sector you need to do these things:
1) Extract iso file
2) Open "boot.wim" into hex editor in tab 1
3) In second tab open the iso file by itself
4) From the first tab select start content from boot.wim. Make suru you really select the first byte of file! Copy all content!
Go to the iso file tab and hit CTRL+F for search bar. Paste the content in clipboard:
Select the just exact byte wich was the first in tab 1 :)
Note down the address and convert it to decimal
Scroll down the first tab to the bottom and select the bytes which identifier the end of this file. Make sure you really select the last byte!
Go to second tab and search for end location. Select the last byte!
Note down the address and convert to decimal:
That is it!
boot.wim file in 64-bit version of windows is located from byte 23371776 to 265428424 (Hex: 164A000-FD21DC8)

Note:
For really small files you can open the first tab and just hit CTRL+A to select all bytes and then search for it in the whole iso. :)

Please leave a comment if you know how to search start and end sector using some command line utils ;)

No comments: