Page 1 of 1

How to add ophcrack to UBCD

Posted: Tue Sep 09, 2008 7:21 pm
by StopSpazzing
I am having issues with adding ophcrack to UBCD. Tried several different ways but I believe its related to not having the files in the correct location. Can anyone help me out. Trying to add Both vista and xp to it...i read somewhere that you can combine both into one and with the program select which one...but I am unsure even how to get it running.

Posted: Wed Sep 10, 2008 12:23 am
by Icecube
I assume that you are talking about the bootable iso's of ophcrack?
http://sourceforge.net/project/showfile ... _id=612314

Can you give the contents of the iso's? The download it to big for just testing purposes.
Also give the contents of a file called isolinux.cfg. You can make an hierarchal view of the contents of the iso's by using the quote and list command.

Posted: Wed Sep 10, 2008 6:58 pm
by StopSpazzing
I think it was related to not some folders properly placed.

Contents of iso:
---boot
->dos
->isolinux
->syslinux
>chain.32
>intrd.gz
>vesamenu.c32
>bootinst.bat
>bootinst.sh
>liloinst.sh
>mt86p
>ophcrack.cfg
>ophcrack.png
>vmlinuz
---ophcrack
->base
->modules
->optional
->rootcopy (contains) folder root then file launch.sh which was already copied to root of usb.
->tables
->tools
>license
>livecd.sgn
>make_iso.bat
>make_iso.sh
readme.txt


Didnt have either in the root folder...well had boot but not all the files in boot so it didnt override my current settings.
Contents of isolinux.cfg:

Code: Select all

INCLUDE /boot/ophcrack.cfg
And the contents of ophcrack.cfg are what you are looking for (ive already added this into my custom.cfg just doesnt boot):

Code: Select all

PROMPT 0
TIMEOUT 90
DEFAULT /boot/vesamenu.c32
MENU BACKGROUND /boot/ophcrack.png

MENU WIDTH 36
MENU MARGIN 0
MENU ROWS 7
MENU HELPMSGROW 14
MENU TIMEOUTROW 22
MENU TABMSGROW 24
MENU CMDLINEROW 24
MENU HSHIFT 40
MENU VSHIFT 2

	menu color screen	37;40      #00000000 #00000000 none
	menu color border	30;44      #00000000 #00000000 none
	menu color title	1;36;44    #00000000 #00000000 none
	menu color unsel	37;44      #ff60CA00 #00000000 none
	menu color hotkey	1;37;44    #ff60CA00 #00000000 none
	menu color sel		7;37;40    #ffffffff #ff60CA00 none
	menu color hotsel	1;7;37;40  #ff808080 #ff60CA00 none
	menu color scrollbar	30;44      #00000000 #00000000 none

	menu color tabmsg	31;40      #aaaaaaaa #00000000 none
	menu color cmdmark	1;36;40    #ffff0000 #00000000 none
	menu color cmdline	37;40      #aaaaaaaa #00000000 none
	menu color pwdborder	30;47      #ffff0000 #00000000 std
	menu color pwdheader	31;47      #ffff0000 #00000000 std
	menu color pwdentry	30;47      #ffff0000 #00000000 std
	menu color timeout_msg	37;40      #aaaaaaaa #00000000 none
	menu color timeout	1;37;40    #ffaaaaff #00000000 none
	menu color help		37;40      #aaaaaa00 #00000000 none
	menu color msg07	37;40      #90ffffff #00000000 std


LABEL xconf
MENU LABEL Ophcrack Graphic mode
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;startx changes=/slax/
TEXT HELP
                                          More about currently selected:

                                          Run Ophcrack the best way we can.
                                          Try to autoconfigure graphics
                                          card and use the maximum
                                          allowed resolution
ENDTEXT


LABEL startx
MENU LABEL Ophcrack Graphic VESA mode
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=startx changes=/slax/
TEXT HELP
                                          More about currently selected:

                                          Run ophcrack with X, but skip
                                          gfx-card config. Force 1024x768
                                          using standard VESA driver
ENDTEXT

LABEL ophcrack
MENU LABEL Ophcrack Text mode
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw changes=/slax/
TEXT HELP
                                          More about currently selected:

                                          Run ophcrack in textmode and start
                                          command prompt only
ENDTEXT

Posted: Fri Sep 12, 2008 4:13 am
by Icecube
Update syslinux and isolinux (see post about Damn Small Linux).

Add the following to the custom.cfg:

Code: Select all

LABEL ophcrack
MENU LABEL Ophcrack
CONFIG /boot/ophcrack.cfg
Delete /boot/isolinux/ and /boot/syslinux/.
If you change every /boot entry in ophcrack.cfg to /ophcrack/boot/, you can copy the whole boot folder to /ophcrack/boot/.

If you change it this way you must add the following to the custom.cfg:

Code: Select all

LABEL ophcrack
MENU LABEL Ophcrack
CONFIG /ophcrack/boot/ophcrack.cfg
Remaster the CD with ubcd2iso.

Test the iso in a Virtual Machine (VirtualBox, VMware, Qemu, ...) to see if the iso works like expected.
Probably there are a lot of files that aren't needed, but I can't be sure without testing.

Posted: Sat Sep 13, 2008 1:29 pm
by StopSpazzing
Works just fine. Thanks!! :)