Search This Blog

Tuesday, August 22, 2006

Removing the trustcleaner Virus (Adware program)

I used the following method to get rid of this.

Please refer to the URL ,

This uses the DLL , WSCHTM35.DLL. This is stored in the temporary directory (%TEMP%)
use the procexp to locate the substring.

I found that this process is owned by the explorer.
Uninstall the software first and then
Write a batch which first kills the explorer.exe and then delete the file WSCHTM35.DLL.

And delete the corresponding registry entries.

Monday, August 07, 2006

Create DVD Install media from RedHat 4 CD's

This article explains how to create the Redhat Installable DVD from the CD's.

1. Create a directory say


cd /tmp/RHAS4

2. Insert the RHAS CD1 first

dd if=/dev/cdrom of=rhas2.iso

3. Insert CD2 , 3 and 4 etc

dd if=/dev/cdrom of=rhas2.iso
dd if=/dev/cdrom of=rhas2.iso
dd if=/dev/cdrom of=rhas2.iso

4. Copy the script below , with the name as "".

or get the script from the location

-------------------------Cut From Here ---------------------------------------------------------

# by Chris Kloiber <>
# Slight adaptation for Mandrake by Sergei Zuyev <>
# Requires package mediacheck

# A quick hack that will create a bootable DVD iso of a Mandrake Linux
# Distribution. Feed it either a directory containing the downloaded
# iso files of a distribution, or point it at a directory containing
# the "Mandrake", "isolinux", and "images" directories.

# Usage:
# /path/to/the/cd/isos /destination/dvd.iso
# Burning on oka:
# /usr/bin/growisofs -Z /dev/hdc=/destination/dvd.iso -use-the-force-luke=notray -use-the-force-luke=tty -speed=2

# This version only works with "isolinux" based Red Hat Linux versions.

# Lots of disk space required to work, 3X the distribution size at least.

# GPL version 2 applies. No warranties, yadda, yadda. Have fun.

if [ $# -lt 2 ]; then
echo "Usage: `basename $0` source /destination/DVD.iso"
echo ""
echo " The 'source' can be either a directory containing a single"
echo " set of isos, or an exploded tree like an ftp site."
exit 1

cleanup() {
[ ${LOOP:=/tmp/loop} = "/" ] && echo "LOOP mount point = \/, dying!" && exit
[ -d $LOOP ] && rm -rf $LOOP
[ ${DVD:=`pwd`/mkmdkdvd} = "/" ] && echo "DVD data location is \/, dying!" && exit
[ -d $DVD ] && rm -rf $DVD

mkdir -p $LOOP
mkdir -p $DVD

if [ !`ls $1/*.iso 2>&1>/dev/null ; echo $?` ]; then
echo "Found ISO CD images..."
CDS=`expr 0`

for f in `ls $1/*.iso`; do
mount -o loop $f $LOOP
cp -av $LOOP/* $DVD
if [ -f $LOOP/.discinfo ]; then
cp -av $LOOP/.discinfo $DVD
CDS=`expr $CDS + 1`
if [ $CDS != 1 ] ; then
DISKS=`echo ${DISKS},${CDS}`
umount $LOOP
if [ -e $DVD/.discinfo ]; then
awk '{ if ( NR == 4 ) { print disks } else { print ; } }' disks="$DISKS" $DVD/.discinfo > $DVD/
mv $DVD/ $DVD/.discinfo
echo "Found FTP-like tree..."
cp -av $1/* $DVD
[ -e $1/.discinfo ] && cp -av $1/.discinfo $DVD

rm -rf $DVD/isolinux/
find $DVD -name TRANS.TBL | xargs rm -f

cd $DVD
#mkisofs -J -R -v -T -o $2 -b isolinux/isolinux.bin -c Boot/ -no-emul-boot -boot-load-size 4 -boot-info-table .
mkisofs -J -R -v -T -o $2 -b isolinux/isolinux.bin -c isolinux/ -no-emul-boot -boot-load-size 4 -boot-info-table .
# /usr/bin/implantisomd5 $2
cd DIR

# cleanup
echo ""
echo "Process Complete!"
echo ""

-------------------------End of the File---------------------------------------------------------

5. Run the command as , /tmp/RHAS4 /tmp/RHAS4/rhas4dvd.iso

6. The above command should create the DVD ISO image

7. Transfer the DVD ISO Image to windows machine and create the DVD