Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Crunch qutting one me. (error code 2)

  1. #11
    Member
    Join Date
    Feb 2010
    Posts
    69

    Default Re: Crunch qutting one me. (error code 2)

    Quote Originally Posted by thorin View Post
    Is "N0hUX-R>YZ#.txt" the file name, the last line in the file, or the output on the screen?

    If it's a filename I'm 99% sure the greater than character is what's causing the problem (maybe the number sign too), but since greater than is used for output redirection on the command line it's my guess.
    that is the name of the last file it outputted. I couldn't open the file, and since I assumed the name is of the first and last part of output text, (according to what crunch said) that SHOULD be the last line in the file.

  2. #12
    Very good friend of the forum TAPE's Avatar
    Join Date
    Jan 2010
    Location
    Europe
    Posts
    599

    Default Re: Crunch qutting one me. (error code 2)

    I think we are on the right track in finding what the problem is, basically the filename appears
    to give errors when attempting to write to disk due to the characters in the filename.

    Regarding reading the file, if based on trying to read that file on a windows system,
    try using LTFViewer http://www.swiftgear.com/ltfviewer/features.html

  3. #13
    Very good friend of the forum TAPE's Avatar
    Join Date
    Jan 2010
    Location
    Europe
    Posts
    599

    Default Re: Crunch qutting one me. (error code 2)

    Quote Originally Posted by Nazagul View Post
    that is the name of the last file it outputted. I couldn't open the file, and since I assumed the name is of the first and last part of output text, (according to what crunch said) that SHOULD be the last line in the file.
    If you still have the files on your system ..

    Can you try to in any case get the head & tail of the file START and of the last file created ?


    And a ;
    Code:
    ls -lhrt

  4. #14
    Member
    Join Date
    Feb 2010
    Posts
    69

    Default Re: Crunch qutting one me. (error code 2)

    Quote Originally Posted by TAPE View Post
    If you still have the files on your system ..

    Can you try to in any case get the head & tail of the file START and of the last file created ?


    And a ;
    Code:
    ls -lhrt
    will try to do. Should have results on that sometime soon.

  5. #15
    Good friend of the forums
    Join Date
    Jan 2010
    Location
    outside chicago, il
    Posts
    442

    Default Re: Crunch qutting one me. (error code 2)

    Quote Originally Posted by Nazagul View Post
    will try to do. Should have results on that sometime soon.
    Any results?

    I have tried
    ./crunch 1 5 -f charset.lst lalpha-numeric-all-space -b 2gib -o START
    because I didn't feel like waiting and all 5 files were created:
    Code:
    -rw-r--r-- 1 root root 2.0G Mar 30 19:41 a-o.xop.txt
    -rw-r--r-- 1 root root 2.0G Mar 30 19:46 o.xoq-4~:2{.txt
    -rw-r--r-- 1 root root 2.0G Mar 30 19:52 4~:2}--!y*y.txt
    -rw-r--r-- 1 root root 2.0G Mar 30 19:58 -!y*z-<v;\>.txt
    -rw-r--r-- 1 root root 867M Mar 30 20:01 <v;\,-     .txt
    I will try your exact command when I get a few hours.
    I like the bleeding edge, but I don't like blood loss

  6. #16
    Member
    Join Date
    Feb 2010
    Posts
    69

    Default Re: Crunch qutting one me. (error code 2)

    Thank you, I've been really busy

  7. #17
    Good friend of the forums
    Join Date
    Jan 2010
    Location
    outside chicago, il
    Posts
    442

    Default Re: Crunch qutting one me. (error code 2)

    I was able to recreate the problem and it looks like the problem is the / in the new filename. It probably just needs escaping with a \. I will see what I can do tomorrow. I wonder what other characters might need escaping.....
    I like the bleeding edge, but I don't like blood loss

  8. #18
    Very good friend of the forum TAPE's Avatar
    Join Date
    Jan 2010
    Location
    Europe
    Posts
    599

    Default Re: Crunch qutting one me. (error code 2)

    @bofh28

    Can any of the numerous crunch enthousiasts here help out with tests / trials
    that you may have in mind ?

  9. #19
    Good friend of the forums
    Join Date
    Jan 2010
    Location
    outside chicago, il
    Posts
    442

    Default Re: Crunch qutting one me. (error code 2)

    The problem is / character in the filename. In Linux the / character is hardwired and cannot be used in a filename. So I am replacing the / (forward slash) with the unicode character 0x2044. I have started a new test and should take 2 hours to complete if successful.
    I like the bleeding edge, but I don't like blood loss

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Help: E: Sub-process /usr/bin/dpkg returned an error code (1)
    By ElAnarchisto in forum Beginners Forum
    Replies: 7
    Last Post: 10-10-2010, 07:40 PM
  2. backtrack error code 514
    By blade61 in forum Beginners Forum
    Replies: 1
    Last Post: 06-24-2010, 11:56 PM
  3. Error in Crunch: Status = -1 Code = 2
    By PentiumV in forum Beginners Forum
    Replies: 4
    Last Post: 05-25-2010, 09:06 AM
  4. E: Sub-process /usr/bin/dpkg returned an error code (1)
    By Skullnick in forum Beginners Forum
    Replies: 2
    Last Post: 01-31-2010, 05:11 PM
  5. Error code 12 wrong essid or wpa?
    By killadaninja in forum OLD BackTrack 3 Final
    Replies: 6
    Last Post: 02-22-2009, 09:49 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
  •