Crunch, No space? [SOLVED]

Started by utqual, August 07, 2012, 11:20:35 AM

Previous topic - Next topic

utqual

I'm trying to create a wordlist with Crunch about 2 GB but the program returns me an error:
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?

berghem

Can you post your command?

utqual

Thanks you for the replay!

crunch 1 6 abcdefghijklmnopqrstuvwxyz -o ciao

output: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

Quote from: utqual on August 07, 2012, 10:01:44 PM
Thanks you for the replay!

crunch 1 6 abcdefghijklmnopqrstuvwxyz -o ciao

output: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

Here's to you:
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
/media/Data

ostendali

Quote from: utqual on August 07, 2012, 11:29:42 PM
Here's to you:
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
/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

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

Quote from: utqual on August 08, 2012, 03: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?
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

#8
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.