Jump to content











Photo
- - - - -

[script] XP bootdisk


  • Please log in to reply
No replies to this topic

#1 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10544 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 15 July 2006 - 06:45 AM

[script] XP bootdisk

Category: .script
File Version: 1.0.0
File License: GNU Public Licence

Description:
How to get a boot disk from Windows XP files
This is the result of an interesting topic started out by jaclaz regarding some "hidden" features embbebed on some windows XP/2003 files (not sure about win2000 yet..).


The source code below exemplifies a sample script that can be used to obtain a bootable DOS disk (based on windows millennium) from your local windows.


[main]

Title=Extract boot disk

Description=This script uses a special command that will search for a specific byte signature inside the files that match the specified wildcard (subdirs included). Once the first match is found, this command will extract the specified byte length to a new file - this is how this script will find our boot disk.

Selected=True

Level=4

Author=Boot Land community

Contact=http://BootLand.pt.vu

Credits=Thanks to jaclaz who started a very interesting topic, wich taught how to handle some of the hidden resources within system.

Version=043

Locked=true

Date=2006-07-05



[process]

FileByteExtract,"%WindowsDir%\system32\diskcopy.dll","%targetdir%\bootdisk.img",EB3C902A2D76345649484300,1474560


You can find more detailed informations on the original topic here:
http://www.911cd.net...showtopic=16745



btw:

This is where we'll search for the code - if wildcards are used it will also search on subdirs..

%WindowsDir%\system32\diskcopy.dll



This is the resulting file if a match is found - after a match the command will stop searching for more matches.

%targetdir%\bootdisk.img



This is the byte signature wich is used to identify the start of the sample to extract

EB3C902A2D76345649484300



This is the exact size of a floppy image (the number of bytes to extract - including signature bytes)

1474560



This command is available on OB builds 043 and above,
Have fun!
:P

View File

Submitted by Nuno Brito, on Today, 06:45 AM




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users