~JC~ Posted January 19, 2010 Share Posted January 19, 2010 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 Quote Link to comment Share on other sites More sharing options...
~JC~ Posted January 19, 2010 Author Share Posted January 19, 2010 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. Quote Link to comment Share on other sites More sharing options...
shonen Posted January 19, 2010 Share Posted January 19, 2010 I have no idea how to solve your problem but you should check out Kon-Boott. No need to use rainbow tables and you can enter anything as a valid password. Maybe worth checking out. Quote Link to comment Share on other sites More sharing options...
Charles Posted January 19, 2010 Share Posted January 19, 2010 You need the rainbow tables in a folder called "tables" in the root of yer multipass. Quote Link to comment Share on other sites More sharing options...
digip Posted January 19, 2010 Share Posted January 19, 2010 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. Quote Link to comment Share on other sites More sharing options...
Charles Posted January 19, 2010 Share Posted January 19, 2010 See here for the reason why Ophcrack isn't working. EDIT: I just threw bzimage, ophcrack.lst, and rootfs.gz into the /tables/ folder. No need for a seperate Ophcrack folder for 3 files. Quote Link to comment Share on other sites More sharing options...
~JC~ Posted January 19, 2010 Author Share Posted January 19, 2010 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 Quote Link to comment Share on other sites More sharing options...
~JC~ Posted January 19, 2010 Author Share Posted January 19, 2010 ...man it sucks to realize how little you know. i dont even know what coding this is. lol. Quote Link to comment Share on other sites More sharing options...
Charles Posted January 19, 2010 Share Posted January 19, 2010 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. Quote Link to comment Share on other sites More sharing options...
~JC~ Posted January 19, 2010 Author Share Posted January 19, 2010 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 Quote Link to comment Share on other sites More sharing options...
Charles Posted January 19, 2010 Share Posted January 19, 2010 Which file did you open inside rootfs.gz? I couldn't find anything named launch.sh. Quote Link to comment Share on other sites More sharing options...
~JC~ Posted January 19, 2010 Author Share Posted January 19, 2010 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. Quote Link to comment Share on other sites More sharing options...
Charles Posted January 19, 2010 Share Posted January 19, 2010 Gotcha. I extracted the rootfs file to a directory, couldn't find launch.sh anywhere. *headdesk* I found launch.sh in /etc/skel/launch.sh Quote Link to comment Share on other sites More sharing options...
~JC~ Posted January 19, 2010 Author Share Posted January 19, 2010 gzip is taking a very very long time with this so what next charles? i gzip it, then modify then rezip it... so what program do i mod it with? gzip just frooze... sighh Quote Link to comment Share on other sites More sharing options...
Charles Posted January 19, 2010 Share Posted January 19, 2010 I found this page: http://www.slitaz.org/en/doc/handbook/hack...ecd.html#rootfs I'm running some commands in Linux, instead of windows and I'll report back if it works. Quote Link to comment Share on other sites More sharing options...
~JC~ Posted January 19, 2010 Author Share Posted January 19, 2010 roger that..see i just opened that whole file with notepad, i see how you got into the other folders now. should make it easier to mod. Quote Link to comment Share on other sites More sharing options...
Charles Posted January 19, 2010 Share Posted January 19, 2010 I cannot figure out how to create the iso with the new rootfs.gz. I'm trying to use genisoimage Quote Link to comment Share on other sites More sharing options...
~JC~ Posted January 19, 2010 Author Share Posted January 19, 2010 poweriso might work. it says to use the wodim utility what did you modify? Quote Link to comment Share on other sites More sharing options...
Charles Posted January 19, 2010 Share Posted January 19, 2010 I just edited "tables" to "ophcrack" in launch.sh. wodim? I'll give that one a shot. Quote Link to comment Share on other sites More sharing options...
~JC~ Posted January 19, 2010 Author Share Posted January 19, 2010 what we really need is a script that just replaces theirs that simply ask for the location of the tables. lol i mean, that might not be simple, but it sure would make moving files around easier. Quote Link to comment Share on other sites More sharing options...
Charles Posted January 19, 2010 Share Posted January 19, 2010 That's true. Would be a hell of a lot simpler. Quote Link to comment Share on other sites More sharing options...
~JC~ Posted January 19, 2010 Author Share Posted January 19, 2010 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? Quote Link to comment Share on other sites More sharing options...
Charles Posted January 20, 2010 Share Posted January 20, 2010 Probably set to run automatically, but I have no idea how. I was using the other page as a reference, but got stuck at making the iso. Used a different program to create one, but got a checksum error when booting it. Quote Link to comment Share on other sites More sharing options...
~JC~ Posted January 20, 2010 Author Share Posted January 20, 2010 Dont feel bad, i cant even get it to extract right. lol Quote Link to comment Share on other sites More sharing options...
Charles Posted January 20, 2010 Share Posted January 20, 2010 Lol. I think I'll just stick to throwing OphCrack into the /tables directory and call it a day. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.