Page 1 of 1

How do you add a ISO to UBCD (v5)? (Ophcrack?)

Posted: Wed Oct 21, 2009 11:09 am
by Josso
Hey!

How do you add another iso to UBCDv5?
I'm especially looking for a guide for adding OPHCrack.

I'm on a Mac and know how to use the Terminal – I just haven't tried to edit a bootable cd.
I have mkisofs so I can create the ISO again. :)

Posted: Wed Oct 21, 2009 11:34 am
by Icecube
You can look at this topic:
viewtopic.php?t=1570
It was for UBCD411, so some instructions can be different (like the location of custum.cfg), but I guess you can figure out what you have to change.

Look in /ubcd/tools/win32/ubcd2iso/ubcd2iso.cmd or /ubcd/tools/linux/ubcd2iso.sh for the right parameters for mkisofs to rebuild the iso.

Posted: Thu Oct 22, 2009 8:36 am
by Josso
Okay...

After some trying and errors I nearly got it working.

I haven't updated Syslinux nor Isolinux but everything else is (nearly) working.

Image

But no matter what I click it ends up with this:

Image

Posted: Thu Oct 22, 2009 9:39 am
by Icecube
You didn't assign enough memory to your VM.
If you can't assign more RAM to your VM, try the low RAM option.

Posted: Thu Oct 22, 2009 10:19 am
by Josso
:lol:

128mb wasn't enough I guess. :p

Here are the changes I did (on UBCDv5b12):
~/UBCD is the content of the iso.
~/ophcrack is either the Vista or the XP-version of Ophcrack, extracted form iso.
Move ~/ophcrack (the folder) into ~/UBCD (so the ophcrack-boot-folder is at ~/UBCD/ophcrack/boot)
Change every occurence of /boot with /ophcrack/boot in ~/UBCD/ophcrack/ophcrack.cfg

Now you only need to add a "shortcut":
Add the following in the bottom of f.ex. ~/UBCD/ubcd/custom/custom.cfg

Code: Select all

LABEL ophcrack
MENU LABEL Ophcrack
TEXT HELP
 Start OPHCrack with tables for Vista (or/and XP)
ENDTEXT
CONFIG /ophcrack/ophcrack.cfg
The last step, is to build the iso.
For this you need the executable mkisofs.
I couldn't compile it myself but I did find a pre-compiled in the app Visualhub (a video-converter for Mac – no longer supported).
Open Terminal (or CommandPrompt, on Windows) and navigate to ~/UBCD/ubcd/tools/
Now you have to execute the ubcd2iso.
Windows:
win32/ubcd2iso/ubcd2iso.cmd
*nix:
./linux/ubcd2iso/ubcd2iso.sh

Posted: Mon Nov 30, 2009 1:51 pm
by kcarney
There is a slight typo in your custom.cfg entry

Code: Select all

Code:
LABEL ophcrack
MENU LABEL Ophcrack
TEXT HELP
 Start OPHCrack with tables for Vista (or/and XP)
ENDTEXT
CONFIG /ophcrack/ophcrack.cfg
Should be:

Code: Select all

Code:
LABEL ophcrack
MENU LABEL Ophcrack
TEXT HELP
 Start OPHCrack with tables for Vista (or/and XP)
ENDTEXT
CONFIG /ophcrack/BOOT/ophcrack.cfg
Aside from that everything works :D

Posted: Mon Nov 30, 2009 11:22 pm
by Josso
Thanks for the correction.

Posted: Wed Dec 23, 2009 9:28 pm
by datoker
Any chance you can post that iso? I would love that I just have no idea how to add that.. Understand if you can, thanks in advanced..

Working on adding Ophcrack to UBCD 50 RC1

Posted: Sat Feb 27, 2010 5:43 am
by buckshotwhoami
I am trying this same thing. I have read in this forum about customizing my UBCD: http://www.ultimatebootcd.com/customize.html

I still cannot get my ophcrack to boot or to be seen in the Initial menu.

I when I boot and go to USER define it says "Initial menu has no LABEL entries! boot:"

I thought that I may need to update isolinux and syslinux.I tried following these instructions:
viewtopic.php?t=880&highlight=update+sy ... damn+linux

Here is what else I've done trying to get this up and running. Using 7zip I extracted my UBCD C:\ubcd50RC1 and Ophcrack to the folder C:\ubcd50RC1\boot\ophcrack

I then edited the file C:\ubcd50RC1\ubcd\custom\custom.cfg with Notepad++... Since I don't know what about this file i have wrong I will paste everything I have listed:

#
# Useful resources for UBCD customization:
#
# - http://syslinux.zytor.com/wiki/index.ph ... UX_Project
# - http://www.ultimatebootcd.com/customize.html
#

MENU INCLUDE /ubcd/menus/syslinux/defaults.cfg
UI /boot/syslinux/menu.c32

LABEL -
MENU LABEL ..
COM32 /boot/syslinux/menu.c32
APPEND /ubcd/menus/syslinux/main.cfg

Code:
LABEL ophcrack
MENU LABEL Ophcrack
TEXT HELP
Start OPHCrack with tables for Vista (or/and XP)
ENDTEXT
CONFIG /boot/ophcrack/boot/ophcrack.cfg

LABEL -
MENU LABEL Your own boot image here
TEXT HELP
Your help message goes here.
ENDTEXT
LINUX /boot/syslinux/memdisk
INITRD /ubcd/custom/boot.img
APPEND -

-----------------------------------------

I fixed the Menu problem

Posted: Sat Feb 27, 2010 6:39 am
by buckshotwhoami
Ok, i edited the custom.cfg file to include these lines:

LABEL ophcrack
MENU LABEL Ophcrack
TEXT HELP
Start OPHCrack with tables for Vista (or/and XP)
ENDTEXT
CONFIG /boot/ophcrack/boot/ophcrack.cfg
APPEND /boot/ophcrack/boot/vesamenu.c32

This has fixed the Initial menu has no LABEL entries problem.

But now I ha.ve this problem:
"Could not find kernel image: /boot/vesamenu.c32"

I'm guessing I have to edit a file in the Ophcrack section to point to the new location of the boot kernel, but could someone please verify my guess and if possible point me to the right ophcrack file to edit. Thanks.

Posted: Sat Feb 27, 2010 10:12 am
by buckshotwhoami
Ok, thanks to Josso. He helped me find my error. I had to change my settings in the ophcrack.cfg to locate the approipate files. Thanks Josso!

Posted: Tue Mar 09, 2010 8:53 pm
by StopSpazzing
Actually was going to post my cfg...but you got it working. I have been running it since 5.0beta10? so it should work fine.
Any chance you can post that iso? I would love that I just have no idea how to add that.. Understand if you can, thanks in advanced..
This is just one of the Tutorials that I will try adding to the wiki once it is upgraded...with step by step instructions. Giving out precompiled cd's of UBCD is not a good idea....because someone could easily tweak a few things and allow it to install a trojan onto your computer. So I do not recommend download other than from trusted sources and doing it yourself. Sorry.