Downloading And Burning The ISO Image

The downloading and burning of the Network Security Toolkit ISO involves the following:

On A Linux System

Assuming that you have the wget, md5sum and cdrecord commands installed and configured on your system and that you've download the ISO image to the file nst-2.13.0.iso.gz, you should be able to create your bootable CD using the following set of commands:

Figure 1.1. Burning CDRW From ISO On Linux

[root@quesadilla root]# md5sum nst-2.13.0.iso.gz
06a5634bb659ac5ce0ba3ffb6eb2575a  nst-2.13.0.iso.gz 1
[root@quesadilla root]# gunzip nst-2.13.0.iso.gz
[root@quesadilla root]# wget -nH \
http://www.networksecuritytoolkit.org/nst/log/nstisopasswd-2.13.0.bash 2


--13:38:19--  http://www.networksecuritytoolkit.org/nst/log/nstisopasswd-2.13.0.bash
           => `nstisopasswd-$2.13.0.bash'
Connecting to 192.168.100.92:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1,565 [text/plain]
 
100%[====================================>] 1,565          1.49M/s    ETA 00:00
 
13:38:19 (1.49 MB/s) - `nstisopasswd-2.13.0.bash' saved [1565/1565]
 
[root@quesadilla root]# chmod +x nstisopasswd-2.13.0.bash
[pkb@localhost pkb]$ ./nstisopasswd-2.13.0.bash NEWPASS nst-2.13.0.iso 3

... Either confirmation that new password was set, or error message ...

[root@quesadilla root]# cdrecord -v -eject blank=fast nst-2.13.0.iso 4
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'LITE-ON '
Identifikation : 'LTR-52327S      '
Revision       : 'QS04'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1422080 = 1388 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data   470 MB
Total size:      540 MB (53:30.69) = 240802 sectors
Lout start:      540 MB (53:32/52) = 240802 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 1
  Reference speed: 0
  Is not unrestricted
  Is erasable
  Disk sub type: Ultra High speed Rewritable media (2)
  ATIP start of lead in:  -11076 (97:34/24)
  ATIP start of lead out: 336075 (74:43/00)
  1T speed low: 16 1T speed high: 16
  2T speed low:  8 2T speed high: 24
  power mult factor: 4 5
  recommended erase/write power: 1
  A1 values: 66 4A 99
  A2 values: 38 80 00
  A3 values: 04 C4 A0
Disk type:    Phase change
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
Blocks total: 336075 Blocks current: 336075 Blocks remaining: 95273
Forcespeed is OFF.
Starting to write CD/DVD at speed 16 in real TAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Blanking PMA, TOC, pregap
Blanking time:   11.514s
BURN-Free is OFF.
Performing OPC...
Starting new track at sector: 0
Track 01:  470 of  470 MB written (fifo 100%) [buf  99%]  17.0x.
Track 01: Total bytes read/written: 493158400/493158400 (240800 sectors).
Writing  time:  205.250s
Average write speed  15.6x.
Min drive buffer fill was 98%
Fixating...
Fixating time:   22.157s
cdrecord: fifo had 7768 puts and 7768 gets.
cdrecord: fifo was 0 times empty and 6614 times full, min fill was 89%.
[root@quesadilla root]# 

1

If the MD5 value reported doesn't match 06a5634bb659ac5ce0ba3ffb6eb2575a, it probably means that the ISO image you downloaded did not come through clean.

2

The wget utility will not set the executable flag on the script file. We do this ourselves so that we may invoke it.

3

The nstisopasswd-2.13.0.bash script will only modify the contents of the ISO after verifying that the ISO image is compatible with the script. You will see an error message if you downloaded the incorrect version or your ISO image is corrupt.

Note

This feature became available in the 1.0.5 release.

4

Omit the blank=fast if you are using CDR media or a fresh (already blank) CDRW.

On A Windows System

You will need to use you web browser (Internet Explorer) to download the nst-2.13.0.iso.gz ISO image from the Files area of the Network Security Toolkit project at SourceForge. If you are feeling lucky, you might be able to begin the download by clicking here.

After downloading the ISO you will need to uncompress it using either the free gzip utility or popular WinZip utility.

You will then use a CD burning package like Roxio or Nero to burn the ISO image to a CDR or CDRW.