Author Topic: Crunch, No space? [SOLVED]  (Read 5642 times)

utqual

  • Newbie
  • *
  • Posts: 37
    • View Profile
on: August 07, 2012, 10:20:35 AM
I'm trying to create a wordlist with Crunch about 2 GB but the program returns me an error:
Code: [Select]
chunk1: fprintf failed = 28
The problem is = No space left on device
There are 90 GB free space on that hard disk, where am I doing wrong?
« Last Edit: August 09, 2012, 01:08:12 PM by utqual »



berghem

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • http://lorenzistefano.com
Reply #1 on: August 07, 2012, 03:50:30 PM
Can you post your command?


utqual

  • Newbie
  • *
  • Posts: 37
    • View Profile
Reply #2 on: August 07, 2012, 09:01:44 PM
Thanks you for the replay!

Code: [Select]
crunch 1 6 abcdefghijklmnopqrstuvwxyz -o ciao
output:
Code: [Select]
Crunch will now generate the following amount of data: 2236055952 bytes
2132 MB
2 GB
0 TB
0 PB
Crunch will now generate the following number of lines: 321272406
  6%
 14%
 21%
 28%
 36%
 43%
 50%
 57%
 65%
chunk1: fprintf failed = 28
The problem is = No space left on device



ostendali

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 587
    • View Profile
Reply #3 on: August 07, 2012, 09:25:23 PM
Thanks you for the replay!

Code: [Select]
crunch 1 6 abcdefghijklmnopqrstuvwxyz -o ciao
output:
Code: [Select]
Crunch will now generate the following amount of data: 2236055952 bytes
2132 MB
2 GB
0 TB
0 PB
Crunch will now generate the following number of lines: 321272406
  6%
 14%
 21%
 28%
 36%
 43%
 50%
 57%
 65%
chunk1: fprintf failed = 28
The problem is = No space left on device
would you pls run in terminal "df -ah" and post here your partition table?
And a "pwd" as well pls.....

PS> here is mine:
Crunch will now generate the following number of lines: 321272406
  4%
  8%
 13%
 18%
 22%
 27%
 31%
 36%
 41%
 45%
 50%
 54%
 59%
 64%
 69%
 73%
 78%
 83%
 87%
 92%
 96%
100%
sarge@ostendali:~/tmp$



utqual

  • Newbie
  • *
  • Posts: 37
    • View Profile
Reply #4 on: August 07, 2012, 10:29:42 PM
Here's to you:
Code: [Select]
Filesystem            Size  Used Avail Use% Mounted on
aufs                  1,5G   73M  1,5G   5% /
none                     0     0     0   -  /proc
none                     0     0     0   -  /sys
fusectl                  0     0     0   -  /sys/fs/fuse/connections
none                  1,5G  712K  1,5G   1% /dev
none                     0     0     0   -  /dev/pts
/dev/sdb1             1,8G 1010M  831M  55% /cdrom
/dev/loop0            939M  939M     0 100% /rofs
none                     0     0     0   -  /sys/kernel/debug
none                     0     0     0   -  /sys/kernel/security
none                  1,5G  148K  1,5G   1% /dev/shm
tmpfs                 1,5G   24K  1,5G   1% /tmp
none                  1,5G   92K  1,5G   1% /var/run
none                  1,5G     0  1,5G   0% /var/lock
binfmt_misc              0     0     0   -  /proc/sys/fs/binfmt_misc
gvfs-fuse-daemon         0     0     0   -  /home/backbox/.gvfs
/dev/sda3             129G   38G   92G  29% /media/Data

I tried to save the wordlist on Data
Code: [Select]
/media/Data



ostendali

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 587
    • View Profile
Reply #5 on: August 08, 2012, 12:36:17 PM
Here's to you:
Code: [Select]
Filesystem            Size  Used Avail Use% Mounted on
aufs                  1,5G   73M  1,5G   5% /
none                     0     0     0   -  /proc
none                     0     0     0   -  /sys
fusectl                  0     0     0   -  /sys/fs/fuse/connections
none                  1,5G  712K  1,5G   1% /dev
none                     0     0     0   -  /dev/pts
/dev/sdb1             1,8G 1010M  831M  55% /cdrom
/dev/loop0            939M  939M     0 100% /rofs
none                     0     0     0   -  /sys/kernel/debug
none                     0     0     0   -  /sys/kernel/security
none                  1,5G  148K  1,5G   1% /dev/shm
tmpfs                 1,5G   24K  1,5G   1% /tmp
none                  1,5G   92K  1,5G   1% /var/run
none                  1,5G     0  1,5G   0% /var/lock
binfmt_misc              0     0     0   -  /proc/sys/fs/binfmt_misc
gvfs-fuse-daemon         0     0     0   -  /home/backbox/.gvfs
/dev/sda3             129G   38G   92G  29% /media/Data

I tried to save the wordlist on Data
Code: [Select]
/media/Data
there you go, you have only 1,5G available in / partition....
based on command you've performed you are leaving the default path where to locate the dict file, which is "/usr/share/crunch/"..
if you check that location you will find the file "ciao" over there....
you have to give the absolute path where store the file.

ciao!



utqual

  • Newbie
  • *
  • Posts: 37
    • View Profile
Reply #6 on: August 08, 2012, 02:58:08 PM
Thank you ostendali it works ;)
Only another question: I can't open the wordlist with geany, the problem is that the file is too big?



ostendali

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 587
    • View Profile
Reply #7 on: August 09, 2012, 12:35:07 PM
Thank you ostendali it works ;)
Only another question: I can't open the wordlist with geany, the problem is that the file is too big?
I guess so, you have to wait a bit in order to open a file with the size of 2gb....
what about command line?
if you are just interested to see if the file contains wordlist etc. will be enough to see the beginning or end of file, type:
cat filename |head -20 or cat filename |tail -20
to view 20 line at the beginning and end of file respectively....

or use just less filename

question: how much familiarity with linux you have?



utqual

  • Newbie
  • *
  • Posts: 37
    • View Profile
Reply #8 on: August 09, 2012, 01:06:55 PM
Thanks again
Yes, I'm not very familiar with linux, I use it from about 1 year
Sorry, I know the rules and I know I shouldn't post questions like this but I searched on google the error of crunch and I found something like 7 hits all vain.
« Last Edit: August 09, 2012, 01:08:32 PM by utqual »