# Build a Bootable Windows 2000 disk with SP4 and all critical post-SP4 hotfixes slipstreamed in # Copyright (c) 2003-2007, Ross Smith. All rights reserved. # $Id$ # requires the Cygwin commands: # # basename bash chmod cp cut cygpath echo grep ls make md5sum mkdir mv perl pwd rm test touch tr unzip wget which # # To have these commands, you will need to install the following optional packages: # # make # perl # unzip # wget # # optional: # mkisofs/cdrecord # Inspiration: # http://www.windows-help.net/WindowsXP/winxp-sp1-bootcd.html # See also: # http://www.theeldergeek.com/slipstream_01.htm # Windows drive letter for CD drive containing original Windows XP disk CD ?=D: # cdrecord device for the CD-R drive to burn the new disk (run 'cdrecord -scanbus' to discover) CD_DEV ?=1,0,0 # Additional cdrecord options CDRECORD_OPTS ?= # Set to Y to wait until you press Enter before burning CD (CD and CD_DEV above refer to the same drive) PAUSE ?=Y BBIE_VER?=10 PEBUILDER_VER?=3110a BBIE_ZIP=bbie$(BBIE_VER).zip PEBUILDER_ZIP=pebuilder$(PEBUILDER_VER).zip NU2_MIRRORS=http://69.90.47.6/mybootdisks.com/mybootdisks_com/nu2 \ http://www.hamnerconsulting.com/nu2/mirrorfiles \ http://securitywonks.net/n2u/mirrorfiles \ http://securitywonks.org/n2u/mirrorfiles \ http://nu2.zone-x.com/mirrorfiles \ http://www.web-techs.net/bart \ http://sharkden.com/bart \ http://www.mirror.ac.uk/mirror/ftp.nu2.nu \ ftp://dl.xs4all.nl/pub/mirror/nu2files \ http://ftp.rz.tu-bs.de/pub/mirror/www.nu2.nu/nu2files \ http://downloads.planetmirror.com/pub/nu2files \ ftp://dlsrv3.winboard.org/nu2 \ http://217.160.177.182/nu2files \ http://bartpe.surfnow.nl \ http://gd.tuwien.ac.at/pc/nu2files \ http://nu2.abwehr.net \ http://nu2.gipsvagga.com \ http://nu2.phpwiz.dk \ http://nu2files.osterberg.org \ http://nu2mirror.frashii.com \ http://www.nu2.mostlycreativeworkshop.com/files DD_MMM_YY=$(shell date +%d-%b-%y) # # #Windows 2000 Service Pack 4 Network Install for IT Professionals #Windows 2000 Service Pack 4 (SP4) is a recommended upgrade. Download Windows 2000 Service Pack 4 to obtain updates that can help improve security, application compatibility, operating system reliability, and Setup. #W2KSP4_EN.EXE #http://download.microsoft.com/download/e/6/a/e6a04295-d2a8-40d0-a0c5-241bfecd095e/W2KSP4_EN.EXE SERVICE_PACK_URL=http://download.microsoft.com/download/e/6/a/e6a04295-d2a8-40d0-a0c5-241bfecd095e/W2KSP4_EN.EXE SERVICE_PACK_EXE=$(shell basename $(SERVICE_PACK_URL)) # # # Cumulative Security Update for Internet Explorer 6 SP1 (KB939653) # This update addresses the vulnerability discussed in Microsoft Security Bulletin MS07-057. To find out if other security updates are available for you, see the Additional Information section at the bottom of this page. # IE6.0sp1-KB939653-Windows2000-x86-ENU.exe KB939653_URL?=http://download.microsoft.com/download/7/8/4/78413e07-3376-4426-bed8-60901bd131a5/IE6.0sp1-KB939653-Windows2000-x86-ENU.exe KB939653_EXE?=$(shell basename $(KB939653_URL)) # # # Security Update for Outlook Express 6 Service Pack 1 (KB941202) # A security issue has been identified in Outlook Express that could allow an attacker to compromise your Windows-based system and gain control over it. # OE6.0sp1-KB941202-Windows2000-x86-ENU.exe KB941202_URL?=http://download.microsoft.com/download/b/0/9/b095c912-2f15-44c1-a339-852bac7d2397/OE6.0sp1-KB941202-Windows2000-x86-ENU.exe KB941202_EXE?=$(shell basename $(KB941202_URL)) # # # Security Update for Windows 2000 (KB933729) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB933729-x86-ENU.EXE KB933729_URL?=http://download.microsoft.com/download/3/a/b/3ab2060f-e590-4803-8176-8f324074fdef/Windows2000-KB933729-x86-ENU.EXE KB933729_EXE?=$(shell basename $(KB933729_URL)) # # # Security Update for Windows 2000 (KB923810) # A security issue has been identified in Windows Kodak Image Viewer that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB923810-x86-ENU.EXE KB923810_URL?=http://download.microsoft.com/download/8/3/e/83e821a9-4b14-4ab8-84ed-6d587d5b1c2b/Windows2000-KB923810-x86-ENU.EXE KB923810_EXE?=$(shell basename $(KB923810_URL)) # # # Security Update for Windows 2000 (KB938827) # A security issue has been identified in Microsoft Agent that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB938827-x86-ENU.EXE KB938827_URL?=http://download.microsoft.com/download/c/1/2/c12a5836-34ca-404b-87ef-dd870cbdf092/Windows2000-KB938827-x86-ENU.EXE KB938827_EXE?=$(shell basename $(KB938827_URL)) # # # Security Update for Windows 2000 (KB938829) # A security issue has been identified in Microsoft GDI that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB938829-x86-ENU.EXE KB938829_URL?=http://download.microsoft.com/download/1/e/0/1e0aea96-e2f4-4abf-a011-885ed3c19d4f/Windows2000-KB938829-x86-ENU.EXE KB938829_EXE?=$(shell basename $(KB938829_URL)) # # # Security Update for Microsoft XML Core Services 4.0 Service Pack 2 (KB936181) # A security issue has been identified in Microsoft XML Core Services (MSXML) that could allow an attacker to compromise your Windows-based system and gain control over it. # msxml4-KB936181-enu.exe KB936181_URL?=http://download.microsoft.com/download/9/4/2/9422e6b6-08ee-49cb-9f05-6c6ee755389e/msxml4-KB936181-enu.exe KB936181_EXE?=$(shell basename $(KB936181_URL)) # # # Security Update for Windows 2000 (KB936021) # A security issue has been identified in Microsoft XML Core Services (MSXML) that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB936021-x86-ENU.EXE KB936021_URL?=http://download.microsoft.com/download/8/8/5/885d7f8b-0355-45d9-a589-7c884ffea28b/Windows2000-KB936021-x86-ENU.EXE KB936021_EXE?=$(shell basename $(KB936021_URL)) # # # Security Update for Microsoft XML Core Services 6.0 and Service Pack 1 (KB933579) # A security issue has been identified in Microsoft XML Core Services (MSXML) that could allow an attacker to compromise your Windows-based system and gain control over it. # msxml6-KB933579-enu-x86.exe KB933579_URL?=http://download.microsoft.com/download/1/9/c/19cb7ce9-0ff3-4c66-9923-dfd368fd9cd3/msxml6-KB933579-enu-x86.exe KB933579_EXE?=$(shell basename $(KB933579_URL)) # # # Security Update for Windows 2000 (KB921503) # A security issue has been identified that could allow an attacker to remotely compromise your Windows-based system using Object Linking and Embedding (OLE) Automation and gain control over it. # Windows2000-KB921503-x86-ENU.EXE KB921503_URL?=http://download.microsoft.com/download/8/e/8/8e833d75-d69c-4920-afbe-5d1bdf3558dd/Windows2000-KB921503-x86-ENU.EXE KB921503_EXE?=$(shell basename $(KB921503_URL)) # # # Security Update for Internet Explorer 6 Service Pack 1 (KB938127) # This update addresses the vulnerability discussed in Microsoft Security Bulletin MS07-050. To find out if other security updates are available for you, see the Additional Information section at the bottom of this page. # IE6.0sp1-KB938127-Windows2000-x86-ENU.exe KB938127_URL?=http://download.microsoft.com/download/8/e/8/8e8e6059-f1c9-42c4-8010-fdb430920477/IE6.0sp1-KB938127-Windows2000-x86-ENU.exe KB938127_EXE?=$(shell basename $(KB938127_URL)) # # # Security Update for Windows 2000 (KB935840) # A security issue has been identified that could allow an attacker to compromise your Windows-based system using Secure Channel and gain control over it. # Windows2000-KB935840-x86-ENU.EXE KB935840_URL?=http://download.microsoft.com/download/f/0/2/f02c7875-1e33-417e-91c2-d851d6c412ea/Windows2000-KB935840-x86-ENU.EXE KB935840_EXE?=$(shell basename $(KB935840_URL)) # # # Security Update for Windows 2000 (KB935839) # A security issue has been identified that could allow an attacker to compromise your Windows-based system using a Windows kernel API and gain control over it. # Windows2000-KB935839-x86-ENU.EXE KB935839_URL?=http://download.microsoft.com/download/d/3/1/d3139d8f-1d52-4b7e-a4e4-39735162cd41/Windows2000-KB935839-x86-ENU.EXE KB935839_EXE?=$(shell basename $(KB935839_URL)) # # # Update for Windows 2000 (KB927891) # This is a reliability update. This update resolves an issue in the Windows Installer (MSI) that can affect performance during software updates. # Windows2000-KB927891-x86-ENU.EXE KB927891_URL?=http://download.microsoft.com/download/a/7/b/a7b60f59-fdf8-4632-871e-c01e5cea6b62/Windows2000-KB927891-x86-ENU.EXE KB927891_EXE?=$(shell basename $(KB927891_URL)) # # # Security Update for Windows 2000 (KB935966) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB935966-x86-ENU.EXE KB935966_URL?=http://download.microsoft.com/download/2/c/8/2c841492-8c0f-4273-b2c6-7072595731da/Windows2000-KB935966-x86-ENU.EXE KB935966_EXE?=$(shell basename $(KB935966_URL)) # # # Security Update for Windows 2000 (KB931784) # A security issue has been identified in the Windows Kernel that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB931784-x86-ENU.EXE KB931784_URL?=http://download.microsoft.com/download/6/2/0/62000463-2b27-435a-a80c-7e93566ee71e/Windows2000-KB931784-x86-ENU.EXE KB931784_EXE?=$(shell basename $(KB931784_URL)) # # # Security Update for Windows 2000 (KB930178) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB930178-x86-ENU.EXE KB930178_URL?=http://download.microsoft.com/download/3/b/c/3bc7f298-6d57-4429-902c-b723c7cb13ee/Windows2000-KB930178-x86-ENU.EXE KB930178_EXE?=$(shell basename $(KB930178_URL)) # # # Security Update for Windows 2000 (KB925902) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB925902-x86-ENU.EXE KB925902_URL?=http://download.microsoft.com/download/3/e/1/3e17bdd4-2808-4e6b-982c-01e3b2bbe7ec/Windows2000-KB925902-x86-ENU.EXE KB925902_EXE?=$(shell basename $(KB925902_URL)) # # # Security Update for Windows 2000 (KB928843) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB928843-x86-ENU.EXE KB928843_URL?=http://download.microsoft.com/download/9/2/c/92cab157-5f80-4be0-940b-4ff4675a0756/Windows2000-KB928843-x86-ENU.EXE KB928843_EXE?=$(shell basename $(KB928843_URL)) # # # Security Update for Microsoft Data Access Components 2.5 Service Pack 3 (KB927779) # A security issue has been identified in Microsoft Data Access Components (MDAC) that could allow an attacker to compromise your Windows-based system and gain control over it. # MDAC253-KB927779-x86-ENU.exe KB927779_URL?=http://download.microsoft.com/download/3/b/1/3b19dab7-7da7-4340-ad7d-e6808185d6e6/MDAC253-KB927779-x86-ENU.exe KB927779_EXE?=$(shell basename $(KB927779_URL)) # # # Security Update for Windows 2000 (KB926436) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB926436-x86-ENU.EXE KB926436_URL?=http://download.microsoft.com/download/5/7/b/57bb4ac3-2487-4489-aa17-5f74a9e79aab/Windows2000-KB926436-x86-ENU.EXE KB926436_EXE?=$(shell basename $(KB926436_URL)) # # # Security Update for Windows 2000 (KB924667) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB924667-x86-ENU.EXE KB924667_URL?=http://download.microsoft.com/download/1/f/7/1f7de6a2-d1af-4a97-819a-eda8e9ee08ec/Windows2000-KB924667-x86-ENU.EXE KB924667_EXE?=$(shell basename $(KB924667_URL)) # # # Security Update for Windows 2000 (KB918118) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB918118-x86-ENU.EXE KB918118_URL?=http://download.microsoft.com/download/4/1/a/41ae66b6-c394-4643-9425-6e8c484d6df0/Windows2000-KB918118-x86-ENU.EXE KB918118_EXE?=$(shell basename $(KB918118_URL)) # # # Security Update for Windows 2000 (KB926247) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB926247-x86-ENU.EXE KB926247_URL?=http://download.microsoft.com/download/6/a/f/6af940c1-2774-4ebb-8546-2c83068af231/Windows2000-KB926247-x86-ENU.EXE KB926247_EXE?=$(shell basename $(KB926247_URL)) # # # Security Update for Windows 2000 (KB926121) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB926121-x86-ENU.EXE KB926121_URL?=http://download.microsoft.com/download/9/e/c/9ec6574e-0cab-4a2c-b183-c3c4398591a6/Windows2000-KB926121-x86-ENU.EXE KB926121_EXE?=$(shell basename $(KB926121_URL)) # # # Security Update for Windows 2000 (KB923689) # A security issue has been identified that could allow an attacker to remotely compromise your Windows-based system using Windows Media file formats and gain control over it. # Windows2000-KB923689-x86-ENU.EXE KB923689_URL?=http://download.microsoft.com/download/a/0/4/a04536d6-e489-4663-a635-eb23ddc354a0/Windows2000-KB923689-x86-ENU.EXE KB923689_EXE?=$(shell basename $(KB923689_URL)) # # # Security Update for Windows 2000 (KB924270) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB924270-x86-ENU.EXE KB924270_URL?=http://download.microsoft.com/download/e/2/7/e272bf85-2592-4bcf-bb43-4974bc4fc276/Windows2000-KB924270-x86-ENU.EXE KB924270_EXE?=$(shell basename $(KB924270_URL)) # # # Security Update for Windows 2000 (KB923980) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB923980-x86-ENU.EXE KB923980_URL?=http://download.microsoft.com/download/1/3/9/139ee8ea-668d-449a-8beb-7f29307d2323/Windows2000-KB923980-x86-ENU.EXE KB923980_EXE?=$(shell basename $(KB923980_URL)) # # # Security Update for Windows 2000 (KB920213) # A security issue has been identified in MSAgent that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB920213-x86-ENU.EXE KB920213_URL?=http://download.microsoft.com/download/e/5/1/e5128d1b-0912-4f3f-98bf-404f51d5b8d5/Windows2000-KB920213-x86-ENU.EXE KB920213_EXE?=$(shell basename $(KB920213_URL)) # # # Security Update for Windows 2000 (KB923414) # A security issue has been identified in the Server service that could allow a remote user to cause an affected Windows-based system to stop responding. # Windows2000-KB923414-x86-ENU.EXE KB923414_URL?=http://download.microsoft.com/download/9/a/c/9ac4f629-5860-401c-b0c6-87d1428dfe5f/Windows2000-KB923414-x86-ENU.EXE KB923414_EXE?=$(shell basename $(KB923414_URL)) # # # Security Update for Windows 2000 (KB923191) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB923191-x86-ENU.EXE KB923191_URL?=http://download.microsoft.com/download/8/7/a/87aab50e-8239-4b88-89a6-280135b64915/Windows2000-KB923191-x86-ENU.EXE KB923191_EXE?=$(shell basename $(KB923191_URL)) # # # Update for Windows 2000 (KB922582) # A problem has been identified in Filter Manager that can prevent you from installing updates from Windows update. # Windows2000-KB922582-x86-ENU.EXE KB922582_URL?=http://download.microsoft.com/download/1/e/6/1e63b17d-13c8-4d32-8676-c9f7ab05db87/Windows2000-KB922582-x86-ENU.EXE KB922582_EXE?=$(shell basename $(KB922582_URL)) # # # Security Update for Windows 2000 (KB920685) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain access to restricted data. # Windows2000-KB920685-x86-ENU.EXE KB920685_URL?=http://download.microsoft.com/download/9/8/1/981ee358-dcaa-41fc-8ad8-e30eacd6a739/Windows2000-KB920685-x86-ENU.EXE KB920685_EXE?=$(shell basename $(KB920685_URL)) # # # Security Update for Windows 2000 (KB921398) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB921398-x86-ENU.EXE KB921398_URL?=http://download.microsoft.com/download/2/3/6/236323d3-fd81-43a4-a42f-31fe74705c55/Windows2000-KB921398-x86-ENU.EXE KB921398_EXE?=$(shell basename $(KB921398_URL)) # # # Security Update for Windows 2000 (KB920683) # A security issue has been identified in DNS Resolution that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB920683-x86-ENU.EXE KB920683_URL?=http://download.microsoft.com/download/b/4/7/b472d553-f4d1-42a5-baf9-d58bd713e492/Windows2000-KB920683-x86-ENU.EXE KB920683_EXE?=$(shell basename $(KB920683_URL)) # # # Security Update for Windows 2000 (KB920670) # A security issue has been identified that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB920670-x86-ENU.EXE KB920670_URL?=http://download.microsoft.com/download/2/1/2/212fd127-6a0b-4a52-a0ae-c005b752c90f/Windows2000-KB920670-x86-ENU.EXE KB920670_EXE?=$(shell basename $(KB920670_URL)) # # # Security Update for Windows 2000 (KB917008) # A security issue has been identified in the Microsoft Management Console that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB917008-x86-ENU.EXE KB917008_URL?=http://download.microsoft.com/download/d/1/5/d1555c27-be62-4a61-946d-5d2b70a52211/Windows2000-KB917008-x86-ENU.EXE KB917008_EXE?=$(shell basename $(KB917008_URL)) # # # Security Update for Windows 2000 (KB917537) # A security issue has been identified that could allow an attacker to remotely compromise your Windows-based system using Windows Internet Information Services and gain control over it. # Windows2000-KB917537-x86-ENU.EXE KB917537_URL?=http://download.microsoft.com/download/0/4/8/0488144f-dc64-4acb-94bc-298a23fe1bc5/Windows2000-KB917537-x86-ENU.EXE KB917537_EXE?=$(shell basename $(KB917537_URL)) # # # Security Update for Windows 2000 (KB914388) # A remote code execution security issue has been identified in the DHCP Client service that could allow an attacker to remotely compromise your Windows-based system and gain control over it. # Windows2000-KB914388-x86-ENU.EXE KB914388_URL?=http://download.microsoft.com/download/c/5/c/c5c7e8a7-9ad1-4cb8-9fbf-6eb96af1c390/Windows2000-KB914388-x86-ENU.EXE KB914388_EXE?=$(shell basename $(KB914388_URL)) # # # Security Update for Windows 2000 (KB911280) # A remote code execution security issue has been identified in the Routing and Remote Access service that could allow an attacker to remotely compromise your Windows-based system and gain control over it. # Windows2000-KB911280-v2-x86-ENU.EXE KB911280_URL?=http://download.microsoft.com/download/4/1/0/410acd05-29da-4755-9c93-24fb255abde6/Windows2000-KB911280-v2-x86-ENU.EXE KB911280_EXE?=$(shell basename $(KB911280_URL)) # # # JScript 5.6 Security Update for Windows 2000 (KB917344) # An attacker may exploit a vulnerability in Windows Script Engine by constructing a Web page that, when visited by a user, runs code of the attacker’s choice with user credentials. # Windows2000-KB917344-56-x86-enu.Exe KB917344_URL?=http://download.microsoft.com/download/b/c/3/bc3a0c36-fada-497d-a3de-8b0139766f3b/Windows2000-KB917344-56-x86-enu.Exe KB917344_EXE?=$(shell basename $(KB917344_URL)) # # # Security Update for Windows 2000 (KB917953) # A security issue has been identified that could allow an attacker to compromise your Microsoft Windows-based system and gain control over it. # Windows2000-KB917953-x86-ENU.EXE KB917953_URL?=http://download.microsoft.com/download/7/4/9/749e48cf-3cef-4261-9d0f-138b75ab8fb6/Windows2000-KB917953-x86-ENU.EXE KB917953_EXE?=$(shell basename $(KB917953_URL)) # # # Security Update for Windows 2000 (KB914389) # A local elevation of privilege security issue has been identified in the Server Message Block that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB914389-x86-ENU.EXE KB914389_URL?=http://download.microsoft.com/download/b/9/1/b9138093-8b79-424b-a1b4-a22357711484/Windows2000-KB914389-x86-ENU.EXE KB914389_EXE?=$(shell basename $(KB914389_URL)) # # # Vulnerability in ART Image Rendering Could Allow Remote Code Execution in Internet Explorer 6 Service Pack 1 (KB918439) # This update addresses the vulnerability discussed in Microsoft Security Bulletin MS06-022. To find out if other security updates are available for you, see the Additional Information section at the bottom of this page. # IE6.0sp1-KB918439-Windows-2000-XP-x86-ENU.exe KB918439_URL?=http://download.microsoft.com/download/e/c/f/ecf2d7ac-c658-4d7c-a7c0-a62152774664/IE6.0sp1-KB918439-Windows-2000-XP-x86-ENU.exe KB918439_EXE?=$(shell basename $(KB918439_URL)) # # # Security Update for Windows 2000 (KB913580) # A security issue has been identified in Windows-based systems that could cause the Microsoft Distributed Transaction Coordinator (MSDTC) to stop responding. # Windows2000-KB913580-x86-ENU.EXE KB913580_URL?=http://download.microsoft.com/download/f/e/3/fe3bbced-6da4-4a8d-b90e-260c2ada9b6b/Windows2000-KB913580-x86-ENU.EXE KB913580_EXE?=$(shell basename $(KB913580_URL)) # # # Security Update for Windows 2000 (KB908531) # A security issue has been identified in Windows Explorer that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB908531-v2-x86-ENU.EXE KB908531_URL?=http://download.microsoft.com/download/7/f/4/7f46246e-f633-42d9-8f7b-aa5536f1bcd5/Windows2000-KB908531-v2-x86-ENU.EXE KB908531_EXE?=$(shell basename $(KB908531_URL)) # # # Security Update for Windows 2000 (KB908519) # A security issue has been identified that could allow an attacker to compromise your Microsoft Windows-based system and gain control over it. # Windows2000-KB908519-x86-ENU.EXE KB908519_URL?=http://download.microsoft.com/download/4/2/6/426603e1-0d9c-4f70-90a3-716e51ca302d/Windows2000-KB908519-x86-ENU.EXE KB908519_EXE?=$(shell basename $(KB908519_URL)) # # # Security Update for DirectX 7.0 for Windows 2000 (KB904706) # A security issue has been identified that could allow an attacker to remotely compromise your Windows-based system using DirectShow and gain control over it. # Windows2000-KB904706-v2-x86-ENU.exe KB904706_URL?=http://download.microsoft.com/download/f/d/a/fda566b9-818b-4901-adc6-f0b406b25f77/Windows2000-KB904706-v2-x86-ENU.exe KB904706_EXE?=$(shell basename $(KB904706_URL)) # # # Update for Windows 2000 (KB908506) # Install this update to address an issue on computers running Windows 2000 Service Pack 4 in which clients accessing a print device attached to a print server are no longer able to print when using the Lexmark Monolithic PCL driver after installing security bulletin MS05-043 (KB896423). # Windows2000-KB908506-x86-ENU.EXE KB908506_URL?=http://download.microsoft.com/download/4/0/1/40109ea1-c446-4628-9ff6-2fa4f9c4a23d/Windows2000-KB908506-x86-ENU.EXE KB908506_EXE?=$(shell basename $(KB908506_URL)) # # # Security Update for Windows 2000 (KB905749) # A security issue has been identified in the Plug and Play service that could allow an authenticated attacker to compromise your Microsoft Windows-based system and gain control over it. # Windows2000-KB905749-x86-ENU.EXE KB905749_URL?=http://download.microsoft.com/download/8/9/4/89449a45-8708-4320-b1d0-1e2580d15a86/Windows2000-KB905749-x86-ENU.EXE KB905749_EXE?=$(shell basename $(KB905749_URL)) # # # Security Update for Internet Explorer 6 Service Pack 1 for Windows 2000 Service Pack 4 (KB905495) # A security issue has been identified that could allow an attacker to tamper with the file transfer location on your computer when using the Microsoft Windows FTP (File Transfer Protocol) client. # IE6.0sp1-KB905495-Windows2000-x86-ENU.exe KB905495_URL?=http://download.microsoft.com/download/2/6/7/2670f435-2255-4a87-9183-1b28a51c7595/IE6.0sp1-KB905495-Windows2000-x86-ENU.exe KB905495_EXE?=$(shell basename $(KB905495_URL)) # # # Security Update for Windows 2000 (KB905414) # A denial of service security issue has been identified that could cause the Network Manager service to stop responding on your Windows-based system. # Windows2000-KB905414-x86-ENU.EXE KB905414_URL?=http://download.microsoft.com/download/6/9/f/69f0d119-5cee-49b5-85d0-ae4fc56c7879/Windows2000-KB905414-x86-ENU.EXE KB905414_EXE?=$(shell basename $(KB905414_URL)) # # # Security Update for Windows 2000 (KB901017) # A security issue has been identified that could allow an attacker to remotely compromise your Windows-based system using Collaboration Data Objects (CDO) and gain control over it. # Windows2000-KB901017-x86-ENU.EXE KB901017_URL?=http://download.microsoft.com/download/2/2/3/22364e62-e9cd-4c5b-bf40-b742fab0e02d/Windows2000-KB901017-x86-ENU.EXE KB901017_EXE?=$(shell basename $(KB901017_URL)) # # # Security Update for Windows 2000 (KB900725) # A security issue has been identified that could allow an authenticated attacker to gain access and potentially compromise your Microsoft Windows-based system. # Windows2000-KB900725-x86-ENU.EXE KB900725_URL?=http://download.microsoft.com/download/6/1/f/61fd8ca9-13ef-4efd-9340-7a1b7e723582/Windows2000-KB900725-x86-ENU.EXE KB900725_EXE?=$(shell basename $(KB900725_URL)) # # # Security Update for Windows 2000 (KB899589) # A security issue has been identified in the Client Service for NetWare that could allow an attacker to compromise your Microsoft Windows-based system and gain control over it, if you have installed this service. # Windows2000-KB899589-x86-ENU.EXE KB899589_URL?=http://download.microsoft.com/download/a/7/7/a776227b-9483-42d8-b5ec-a3a25366d40e/Windows2000-KB899589-x86-ENU.EXE KB899589_EXE?=$(shell basename $(KB899589_URL)) # # # Update Rollup 1 for Windows 2000 SP4 (KB891861) # This update consists of previously released recommended, critical and security updates for Windows 2000, rolled into one convenient package. # Windows2000-KB891861-v2-x86-ENU.EXE KB891861_URL?=http://download.microsoft.com/download/2/7/b/27b1d1a3-0299-4336-b88a-22b9f09817e2/Windows2000-KB891861-v2-x86-ENU.EXE KB891861_EXE?=$(shell basename $(KB891861_URL)) # # # Security Update for Windows 2000 (KB899591) # A security issue has been identified in the Remote Desktop Protocol (RDP) that could allow an attacker to remotely cause your Microsoft Windows-based system to stop responding. # Windows2000-KB899591-x86-ENU.EXE KB899591_URL?=http://download.microsoft.com/download/1/b/c/1bc34420-6a31-4b1d-b89b-c6c1dd7070a5/Windows2000-KB899591-x86-ENU.EXE KB899591_EXE?=$(shell basename $(KB899591_URL)) # # # Security Update for Windows 2000 (KB899587) # A security issue has been identified that could allow an attacker to gain access to sensitive data transmitted through your Microsoft Windows-based system in a domain environment, and to perform denial of service attacks against domain controllers. # Windows2000-KB899587-x86-ENU.EXE KB899587_URL?=http://download.microsoft.com/download/c/7/3/c739f44f-b5c1-4fa7-bd85-f8c833f35e74/Windows2000-KB899587-x86-ENU.EXE KB899587_EXE?=$(shell basename $(KB899587_URL)) # # # Security Update for Windows 2000 (KB896423) # A security issue has been identified in the Print Spooler service that could allow an attacker to compromise your Microsoft Windows-based system and gain control over it. # Windows2000-KB896423-x86-ENU.EXE KB896423_URL?=http://download.microsoft.com/download/4/3/2/43215dcd-b8b3-4c8f-a40f-278789f4eb33/Windows2000-KB896423-x86-ENU.EXE KB896423_EXE?=$(shell basename $(KB896423_URL)) # # # Security Update for Windows 2000 (KB893756) # A security issue has been identified in the Telephony Application Programming Interface (TAPI) that could allow an attacker to compromise your Microsoft Windows-based system and gain control over it. # Windows2000-KB893756-x86-ENU.EXE KB893756_URL?=http://download.microsoft.com/download/d/1/3/d1323977-bdab-4b38-8ab6-ec9d985f726e/Windows2000-KB893756-x86-ENU.EXE KB893756_EXE?=$(shell basename $(KB893756_URL)) # # # Security Update for Windows 2000 (KB901214) # A security issue has been identified in the Color Management Module that could allow an attacker to compromise your Microsoft Windows-based system and gain control over it. # Windows2000-KB901214-x86-ENU.EXE KB901214_URL?=http://download.microsoft.com/download/d/d/e/ddefcaa8-f0e4-4a98-b96e-c3b2217370e9/Windows2000-KB901214-x86-ENU.EXE KB901214_EXE?=$(shell basename $(KB901214_URL)) # # # Security Update for Windows 2000 (KB896358) # A security issue has been identified in the HTML Help component that could allow an attacker to compromise your Windows-based system and gain control over it. # Windows2000-KB896358-x86-ENU.EXE KB896358_URL?=http://download.microsoft.com/download/f/2/8/f284148a-a991-4ee2-bb2f-12aa0d2e5013/Windows2000-KB896358-x86-ENU.EXE KB896358_EXE?=$(shell basename $(KB896358_URL)) KBS=\ 891861 \ 893756 \ 896358 \ 896423 \ 899587 \ 899589 \ 899591 \ 900725 \ 901017 \ 901214 \ 904706 \ 905414 \ 905495 \ 905749 \ 908506 \ 908519 \ 908531 \ 911280 \ 913580 \ 914388 \ 914389 \ 917008 \ 917344 \ 917537 \ 917953 \ 918118 \ 918439 \ 920213 \ 920670 \ 920683 \ 920685 \ 921398 \ 921503 \ 922582 \ 923191 \ 923414 \ 923689 \ 923810 \ 923980 \ 924270 \ 924667 \ 925902 \ 926121 \ 926247 \ 926436 \ 927779 \ 927891 \ 928843 \ 930178 \ 931784 \ 933579 \ 933729 \ 935839 \ 935840 \ 935966 \ 936021 \ 936181 \ 938127 \ 938827 \ 938829 \ 939653 \ 941202 # doesn't work :( #define kbexe #KB$(1)_EXE=$(shell basename $$(KB$(1)_URL)) #endef #$(foreach kb,$(KBS),$(eval $(call kbexe,$(kb)))) define kbtouch KB$(1)_TOUCH=$$(KB$(1)_EXE).touch endef $(foreach kb,$(KBS),$(eval $(call kbtouch,$(kb)))) define kbsetup KB_EXES+=$$(KB$(1)_EXE) endef $(foreach kb,$(KBS),$(eval $(call kbsetup,$(kb)))) KB_TOUCHES=$(KB_EXES:.exe=.exe.touch) WGET?=wget -N CYGPATH_EXE:=$(shell which cygpath) BUILD_DIR:=$(shell pwd) BUILD_DIR_WIN:=$(shell $(CYGPATH_EXE) -m -s "$(BUILD_DIR)") CD_DIR_WIN=$(BUILD_DIR_WIN)/$(CD_DIR) LOCAL_MAK?=$(shell ls local.mak 2>/dev/null) ifneq ('$(LOCAL_MAK)', '') include local.mak endif #ifeq ('$(VOLID)', '') # #Get the volume ID from the CD volume label itself (the CD must be in the drive) # VOLID=$(shell cmd /c vol $(CD) | grep "Volume in" | cut -b 23-34) #endif ifeq ('$(VOLID)', '') # Volume ID of new disk (11 characters max) # 12345678901 VOLID=w2ksp4 #$(error Please define the VOLID variable: VOLID=A_11CHAR_ID make) endif # Label to display after CD is burned CD_LABEL=Windows 2000 SP4 + Hotfixes as of $(DD_MMM_YY) ($(VOLID)) CD_DIR=$(VOLID)_cd I386=$(CD_DIR)/I386 SVCPACK_DIR=$(I386)/svcpack BOOT_DIR=$(VOLID)_boot_image BOOT_IMG=image1.bin VOLID_ISO=$(VOLID).ISO BOOT_TOUCH=$(BOOT_DIR).touch PEBUILDER_TOUCH=$(PEBUILDER_ZIP).touch SERVICE_PACK_TOUCH=$(SERVICE_PACK_EXE).touch VOLID_ISO_TOUCH=$(VOLID_ISO).touch VOLID_TOUCH=$(VOLID).touch .PHONY: all all: cdrecord XP2MD5S= $(VOLID_TOUCH): @echo Copying $(CD) to $(CD_DIR)... mkdir -p $(CD_DIR) xcopy $(CD)\\ $(CD_DIR)\\ /e /r /y touch $@ define md5sum if [ -f md5s.txt ] ;\ then \ echo Verifying MD5 checksum for $(1).. ;\ grep -i $(1) md5s.txt | md5sum --check - || exit 1;\ fi endef $(SERVICE_PACK_EXE): @if [ ! -e $(CD_DIR)/sp4.cab ] ;\ then \ echo Downloading $(SERVICE_PACK_URL)... ;\ $(WGET) $(SERVICE_PACK_URL) ;\ $(call md5sum,$(SERVICE_PACK_EXE)) ;\ chmod +rx $@ ;\ fi # ./$< /quiet /integrate:"$(CD_DIR_WIN)" ;\ # $(SERVICE_PACK_TOUCH): $(SERVICE_PACK_EXE) @# Don't update if the disk already has SP4 @if [ ! -e $(CD_DIR)/sp4.cab ] ;\ then \ echo Integrating $(SERVICE_PACK_EXE) into $(CD_DIR_WIN)... ;\ chmod +rx $< ;\ ./$< /S:"$(CD_DIR_WIN)" ;\ fi touch $@ define kbapply $(info Preprocessing $(1)...) $$(KB$(1)_EXE): @echo Downloading $$(KB$(1)_URL)... $(WGET) $$(KB$(1)_URL) @$(call md5sum,$$(KB$(1)_EXE)) @chmod +rx $$(KB$(1)_EXE) $$(KB$(1)_TOUCH): $$(KB$(1)_EXE) $(SERVICE_PACK_TOUCH) @chmod +rx $$(KB$(1)_EXE) echo Integrating $$(KB$(1)_EXE) into $(CD_DIR_WIN)... ;\ ./$$(KB$(1)_EXE) /quiet /integrate:"$(CD_DIR_WIN)" ; \ touch $$(KB$(1)_TOUCH) .PHONY: KB$(1) KB$(1): $$(KB$(1)_TOUCH) endef $(foreach kb,$(KBS),$(eval $(call kbapply,$(kb)))) $(info Preprocessing finished) ################################# define download @for url in "$(2)" ; \ do \ echo Downloading $$url/$(1)... ;\ $(WGET) $$url/$(1) && break ;\ done endef # from $(BBIE_ZIP): $(call download,$@,"$(NU2_MIRRORS)") bbie.exe: $(BBIE_ZIP) unzip -o $(BBIE_ZIP) $@ chmod +rx bbie.exe touch $@ $(BOOT_TOUCH): bbie.exe mkdir -p $(BOOT_DIR) bbie.exe $(CD) mv image*.bin $(BOOT_DIR) touch $@ # patched mkisofs from pebuilder $(PEBUILDER_ZIP): $(call download,$@,"$(NU2_MIRRORS)") mkisofs.exe: $(PEBUILDER_ZIP) unzip -o $(PEBUILDER_ZIP) $@ chmod +rx $@ download: ${KB_TOUCHES} $(VOLID_ISO_TOUCH): \ $(VOLID_TOUCH) \ $(SERVICE_PACK_TOUCH) \ ${KB_TOUCHES} \ $(BOOT_TOUCH) \ mkisofs.exe cd $(CD_DIR) && \ PATH="$$PATH:.." mkisofs.exe \ -iso-level 4 \ -force-uppercase \ -volid "$(VOLID)" \ -A MKISOFS \ -sysid "DOS" \ -b "$(BOOT_IMG)" \ -no-emul-boot \ -boot-load-size 4 \ -hide "$(BOOT_IMG)" \ -hide "boot.catalog" \ -o "../$(VOLID_ISO)" \ "../$(BOOT_DIR)" \ . touch $@ cdrecord.exe: $(PEBUILDER_ZIP) unzip -o $(PEBUILDER_ZIP) $@ chmod +rx $@ .PHONY: cdrecord cdrecord: $(VOLID_ISO_TOUCH) cdrecord.exe ifneq ('$(PAUSE)', '') @echo @echo Insert a blank CD-R/CD-RW/DVD±R/DVD±RW into the following drive @-PATH="$$PATH:." cdrecord --scanbus | grep "$(CD_DEV)" | cut -b 2- @echo and press [Enter] to continue @echo -e \\a @read dummy endif PATH="$$PATH:." cdrecord -dev=$(CD_DEV) -v $(CDRECORD_OPTS) $(VOLID_ISO) @echo @echo "Please label this disk '$(CD_LABEL)'" .PHONY: tidy tidy: rm -fr \ $(VOLID_TOUCH) \ $(SERVICE_PACK_TOUCH) \ ${KB_TOUCHES} \ $(BOOT_TOUCH) \ $(BOOT_DIR) \ $(CD_DIR) \ $(BBIE_ZIP) \ $(PEBUILDER_ZIP) .PHONY: clean clean: tidy rm -fr \ $(VOLID_ISO_TOUCH) \ $(VOLID_ISO) .PHONY: realclean realclean: clean rm -fr \ bbie.exe \ cdrecord.exe \ mkisofs.exe \ $(SERVICE_PACK_EXE) \ ${KB_EXES} .PHONY: undo undo: rm -f *.exe.touch $(SVCPACK_DIR)/* .PHONY: md5sum md5s md5sum: md5s.txt md5s: md5s.txt md5s.txt: *.exe md5sum [Ww]indows*.[Ee][Xx][Ee] | sort -k 2 >md5s.txt