Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Problems saving files in CRUNCH

  1. #1
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    13

    Arrow Problems saving files in CRUNCH

    After looking around I found this program for Linux—crunch—to build sequential word files. I downloaded and installed the .tar from here: crunch - wordlist generator | Get crunch - wordlist generator at SourceForge.net

    All is up and running well, except for the file saving. The code I'm using is:
    ./crunch 4 4 "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW XYZ0123456789@$ " -o crunch4

    Runs great! But the -o options should save the file to the root as I understood the code, but there isn't a file. Looked all over the place starting at the root, tried to find the stdout file also. Where is it putting the file!

    I'm running BT 4 final, and I think I may have had it in the install already, could this be the problem? If so how do I uninstall ALL the files and then remake it. (The uninstall, I have the install thing figured out. I am thinking it has something to do with the synaptic pkg mgr, am I right)

    Sorry to sound so ignorant, but I'm new to linux, but liking the command line operation of things. BTW OUTSTANDING program.

  2. #2
    Member
    Join Date
    Jan 2010
    Location
    Helsinki, Finland
    Posts
    235

    Default Re: Problems saving files in CRUNCH

    crunch is installed in bt4, check howtos and there is a password cracking guide. its long and there is a good guide for crunch

    try also "man crunch"

  3. #3
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default Re: Problems saving files in CRUNCH

    Is there sufficient space on the drive to store the resulting file?
    I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.

    I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.

  4. #4
    Member
    Join Date
    Jan 2010
    Location
    Helsinki, Finland
    Posts
    235

    Default Re: Problems saving files in CRUNCH

    even when each word is 4 marks long that file will be over 1Gb

  5. #5
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default Re: Problems saving files in CRUNCH

    you can always use the find command to find a file:
    find / -name myfile.txt

  6. #6
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    13

    Wink Re: Problems saving files in CRUNCH

    Quote Originally Posted by halfdone View Post
    even when each word is 4 marks long that file will be over 1Gb
    Thanks halfdone, but I'm only 10%there.
    Oooh, didn't think about this. How would I code in to store it on a separate drive attached to the machine. BTW, how big would a 7 digit file get? My ultimate goal is to have a 4-5-6-7-8 digit dictionaries and have a limited space to work with, say 20G or so.





    If there were three more ME's I would still be short 2 to get it all done.

  7. #7
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default Re: Problems saving files in CRUNCH

    Quote Originally Posted by victor.hatley View Post
    Thanks halfdone, but I'm only 10%there.
    Oooh, didn't think about this. How would I code in to store it on a separate drive attached to the machine. BTW, how big would a 7 digit file get? My ultimate goal is to have a 4-5-6-7-8 digit dictionaries and have a limited space to work with, say 20G or so..
    Your goal can not be achieved within those parameters.

    You can do wordlist size calcs easily with google. Using the formula x^y will give you the number of "words", where x is the # of characters in your character set (62 for all alpha upper and lower plus 0 to 9), and y is the max length of passwords.

    http://www.google.ca/search?q=62^7

    With 62 characters in the character set and up to 7 characters length you're talking ~3Trillion "words". Which would consume:
    http://www.google.ca/search?q=(62^7)...s+to+terabytes*
    ~25.6 TB*.

    Word list storage calculations should be done using (x^y)*(y+1) on *Nix systems or (x^y)*(y+2) on Windows systems. One character is equal to one byte therefore the length of the password is the same as the number of bytes each one will consume.

    Edit: Adjusted to address lupin's point.

    * On a Linux system (like BT).
    Last edited by thorin; 03-09-2010 at 03:44 AM.
    I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.

    I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.

  8. #8
    Super Moderator lupin's Avatar
    Join Date
    Jan 2010
    Posts
    2,943

    Default Re: Problems saving files in CRUNCH

    Quote Originally Posted by thorin View Post
    Word list storage calculations should be done using (x^y)*y. One character is equal to one byte therefore the length of the password is the same as the number of bytes each one will consume.
    Actually its (x^y)*(y + 1). The extra one accounts for the carriage return character at the end of each word. This of course assumes a single byte character set (ASCII and not Unicode for example) and "Unix" style line endings (as opposed to Windows style line endings which use two bytes instead of one - Unix is \x0a and Windows is \x0a\x0d). You can subtract one byte from the total file size if you dont have the trailing line ending character at the end of the file.
    Capitalisation is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".

    The Forum Rules, Forum FAQ and the BackTrack Wiki... learn them, love them, live them.

  9. #9
    Member
    Join Date
    Jan 2010
    Posts
    332

    Default Re: Problems saving files in CRUNCH

    Good to know .... just in case that last byte won't fit!
    SecurityTube has two new sections. Questions & News

  10. #10
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default Re: Problems saving files in CRUNCH

    Quote Originally Posted by lupin View Post
    Actually its (x^y)*(y + 1). The extra one accounts for the carriage return character at the end of each word. This of course assumes a single byte character set (ASCII and not Unicode for example) and "Unix" style line endings (as opposed to Windows style line endings which use two bytes instead of one - Unix is \x0a and Windows is \x0a\x0d). You can subtract one byte from the total file size if you dont have the trailing line ending character at the end of the file.
    DOH....yup I botched that a bit.

    Fixed now, thanks lupin!
    Last edited by thorin; 03-09-2010 at 05:48 PM.
    I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.

    I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.

Page 1 of 2 12 LastLast

Similar Threads

  1. Password generator/ crunch
    By lano78 in forum Beginners Forum
    Replies: 6
    Last Post: 04-09-2011, 04:10 PM
  2. patch for crunch.c
    By MikeCa in forum BackTrack Fixes
    Replies: 9
    Last Post: 03-09-2010, 05:55 AM
  3. Problems saving changes made in GUI
    By lolide in forum Beginners Forum
    Replies: 5
    Last Post: 02-13-2010, 02:49 PM
  4. Problems opening files in Konqueror
    By icebox19 in forum Beginners Forum
    Replies: 7
    Last Post: 02-09-2010, 01:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •