Jump to content

ophcrack


~JC~

Recommended Posts

so i copied the boot folder, and md5 and tables to the usb, and it load up into grub and starts fine.

i put everything in a folder called OPH to keep things tidy, so i went into the ophcrack.cfg file, and the md5sum file and set the menu.lst to all point to the correct director. oph/boot/ etc etc

Now optcrack starts but when it comes up i get a "no tables found" error in the terminal.

im kinda stuck on what to do now. i cant find the code that points to the tables to make sure i modded it correctly

Link to comment
Share on other sites

this is the current code in the menu.lst

title Ophcrack Live 2.3.1
kernel /OPH/boot/vmlinuz-2.6.29.3-slitaz root=/dev/hda1 vga=normal lang=C kmap=us screen=1024x768x16 autologin
initrd /OPH/boot/rootfs.gz

the screen that you get when you use the cd, the very first one where you can select auto, manual, low ram, or text...i never see that screen either. i dont know if thats normal but the cd edition works fine for me. the usb boots up straight to the os and gives me the no tables error.

Link to comment
Share on other sites

If you downloaded the ISO for ophcrack, I imagine you could have just used unetbootin to make a live USB so as to preserve the folder and file structure of everything. Creating different folder names and paths to "tidy" eveyrthing is probably the cause of your problems, becuase the script looks in certain places for things. Changing that structure would surely cause problems. Why not just burn to CD though? Is there a reason you needed it on USB? I would try unetbootin first before trying to change the default paths to everything.

Link to comment
Share on other sites

i understand that it might not be nessecary to have everything in folders, but thats the way i like it, i have dozens of files on this usb, and the neater it is the better.

im not really sure how to use konboot, i have it on the key and it works, but it doesnt seem to let me use it for vista x64. ophcrack live cd does however.

charles i saw your menu.lst entry that you used for ophcrack. i tried that also and it didnt work. im gonna delete it and start anew. ive made to many changes to this one to keep track of.

anyways, id like to keep trying to solve this so i can use it later, so ill keep this going. im looking in the rootfs file for launch .sh, and this is the code i have found so far. can someone help me modify this, and when im done i just recompress the file right?

 Try to find the tables either on the cdrom or on a partition
for DEVICE in $DEVICES_LIST
do 
	if [ -d /mnt/$DEVICE/tables ]; then
		LIST=`ls /mnt/$DEVICE/tables/*/table0.bin 2>/dev/null`
		for TABLE in $LIST
		do
			TABLE=${TABLE%/table0.bin}
			TABLE=${TABLE#/}
			TABLES_DIR[${#TABLES_DIR[*]}]=$TABLE
		done
	fi
done

if [ ${#TABLES_DIR[*]} = 0 ]; then
	echo "No tables found !!"
    read
    exit 0
else
	echo "Tables found:"
	echo "   /${TABLES_DIR[0]}"
	TABLES_INLINE=${TABLES_DIR[0]}
	for ((  i = 1 ;  i < ${#TABLES_DIR[*]};  i++  ))  
    do
    	echo "   /${TABLES_DIR[i]}"
		TABLES_INLINE="$TABLES_INLINE:${TABLES_DIR[i]}"
    done
	echo
fi

Link to comment
Share on other sites

im not really sure how to use konboot, i have it on the key and it works, but it doesnt seem to let me use it for vista x64. ophcrack live cd does however.

Kon-Boot doesn't work with x64 OSes. Saw a post a week or so ago that said they are working on it, but I don't see anything on their site.

charles i saw your menu.lst entry that you used for ophcrack. i tried that also and it didnt work. im gonna delete it and start anew. ive made to many changes to this one to keep track of.

Did you have all the files in the /tables/ directory?

anyways, id like to keep trying to solve this so i can use it later, so ill keep this going. im looking in the rootfs file for launch .sh, and this is the code i have found so far. can someone help me modify this, and when im done i just recompress the file right?

 Try to find the tables either on the cdrom or on a partition
for DEVICE in $DEVICES_LIST
do 
	if [ -d /mnt/$DEVICE/tables ]; then
		LIST=`ls /mnt/$DEVICE/tables/*/table0.bin 2>/dev/null`
		for TABLE in $LIST
		do
			TABLE=${TABLE%/table0.bin}
			TABLE=${TABLE#/}
			TABLES_DIR[${#TABLES_DIR[*]}]=$TABLE
		done
	fi
done

if [ ${#TABLES_DIR[*]} = 0 ]; then
	echo "No tables found !!"
    read
    exit 0
else
	echo "Tables found:"
	echo "   /${TABLES_DIR[0]}"
	TABLES_INLINE=${TABLES_DIR[0]}
	for ((  i = 1 ;  i < ${#TABLES_DIR[*]};  i++  ))  
    do
    	echo "   /${TABLES_DIR[i]}"
		TABLES_INLINE="$TABLES_INLINE:${TABLES_DIR[i]}"
    done
	echo
fi

As for this: It's checking for the directory named "tables" located at /mnt/$DEVICE

$DEVICE is a variable for that script. We'd need to look at the whole script to see what that variable points to. How did you read rootfs.gz?

...man it sucks to realize how little you know. i dont even know what coding this is. lol.

It's a BASH/SH script.

Link to comment
Share on other sites

charles the same post you read about konboot is the same i read, thats why i didnt know if i was doing something wrong, or they hadnt added the support.

as far as rootfs,gs, i just used 7zip on it, and loaded it in to notepad++ kinda crude, but it gave me a chance to check out the code...now if i just new how to mod it lol.

there is lots of random characters with notepad++ and it is VERY slow, so it would probably be best to load it into the correct compiler, but i only have microsoft c++ and it didnt work. again, i know 0 about programming, just enough to look around and get an idea of whats happening.

shouldnt we be able to mod just that section of code where its actually looking for the tables to point to /OPH instead of /...?

everything else inside of the os seems to work, its just that launch.sh thats not. (however i havent tried all of the packages, just firefox, and text editor and a few others.

found some more relevant code i believe

Launch ophcrack in command line using tables 0 and 3 in /path/to/tables/xp_free_fast and all tables in /path/to/tables/vista_free

Link to comment
Share on other sites

Which file did you open inside rootfs.gz?

I couldn't find anything named launch.sh.

when i used 7zip on it, all i got was one file name rootfs

that was a shell file that i opened with text editor, its very long to, so i just used the seach function in notepadd++ to find it..

i been reading. tryin unziping it with gzip, and see what you get. your gonna need to to recompress it anyways after changes. to get the .gz format

im downloading it now.

my ubuntu vm is not mounting my usb, so im trying to do all this in windows...pita.

Link to comment
Share on other sites

sorry bro if i knew how to code that, i would. lol

btw. that page your on refers to modifying slitaz..is that what we are doing here? i thought we were just modifying the executable launcher.sh...??

but i also assume it is coded into the source or slitaz to run automatically...is that correct?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...