You are not logged in.
Pages: 1
Hello all..
I am a no0b at this linux so decided to use slitaz
Was best to go due to the size! 
I downloaded crunch-3.4.tgz from crunch website
In terminal I used this command under root:
" Tazpkg install /home/tux/crunch-3.4.tgz"
I get " can not find /home/tux/crunch-3.4.tgz"
Tried using the tazpkg convert and. I get
"This is not a slackware file"
Could I get any help please 
Thanks
Offline
it could be a tar gzipped archive, did you try tar xvf /home/tux/crunch-3.4.tgz ?
Offline
tazpkg will install only the specific install file build for slitaz, which extension is .tazpkg
That specific file is a tgz, which usually means this is a zipped tar file.
do this:
If you do not have the c compiler on your system you need to install it
manually you can issue: tazpkg -gi gcc
or you can reach the same result through the graphical interface, search for packages, then gcc, then install it.
Then
cd /home/tux
gunzip c*z
tar -xvf c*tar
that has unzipped the file then extracted the files of the tar in the crunch-3.4 folder
continue as follows:
cd c*4
ls
(you will see a make file)
make
(at this point it has compiled a crunch file which you can now execute:)
./crunch
Offline
christophe.....
thank you, i have a problem with the last bit
cd c*4
ls
(you will see a make file)
make
this is my input/output
'tux@slitaz:~$ su
password:
root@slitaz:/home/tux# cd c*4
root@slitaz:/home/tux/crunch-3.4# ls
charset.lst crunch.c Makefile
crunch.1 GPL.txt unicode_test.lst
root@slitaz:/home/tux/crunch-3.4#make
sh:make: not found'
am i doing something wrong?
Offline
Install software required to compile from source code:
[c]# tazpkg -gi slitaz-toolchain[/c]
Offline
mojo thank you
after using the make command i got the following reult
[c]root@slitaz:/home/tux/crunch-3.4# make
Building binary...
/usr/bin/gcc -pthread -Wall -pedantic -std=c99 -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 crunch.c -lm -o crunch[/c]
i get a a new executable called crunch.... but i still cant run it, i get a error message saying
[c]sh:crunch: not found[/c]
sorry i am really a newbie at all of this
Offline
[c]echo $PATH[/c]
shows you where linux search executables, maybe /usr/local/bin could be a good position for an executable not provided by your distro.
Offline
usage: ./crunch <min-length> <max-length> [charset]
e.g: ./crunch 3 7 abcdef
This example will compute all passwords between 3 and 7 chars
using 'abcdef' as the character set and dump it to stdout.
usage: ./crunch <from-len> <to-len> [-f <path to charset.lst> charset-name] [-o wordlist.txt or START] [-t [FIXED]@@@@] [-s startblock]
Options:
-b : maximum bytes to write to output file. depending on the blocksize
files may be some bytes smaller than specified but never bigger.
-c : numbers of lines to write to output file, only works if "-o START"
is used, eg: 60 The output files will be in the format of starting
letter - ending letter for example:
crunch 1 5 -f /pentest/password/charset.lst mixalpha -o START -c 52
will result in 2 files: a-7.txt and 8-\ .txt The reason for the
slash in the second filename is the ending character is space and
ls has to escape it to print it. Yes you will need to put in
the \ when specifying the filename.
-d : specify -d [n][@,%^] to suppress generation of strings with more
than [n] adjacent duplicates from the given character set. For example:
./crunch 5 5 -d 2@
Will print all combinations with 2 or less adjacent lowercase duplicates.
-e : tells crunch to stop generating words at string. Useful when piping
crunch to another program.
-f : path to a file containing a list of character sets, eg: charset.lst
name of the character set in the above file eg:
mixalpha-numeric-all-space
-i : inverts the output so the first character will change very often
-l : literal characters to use in -t @,%^
-o : allows you to specify the file to write the output to, eg:
wordlist.txt
-p : prints permutations without repeating characters. This option
CANNOT be used with -s. It also ignores min and max lengths.
-q : Like the -p option except it reads the strings from the specified
file. It CANNOT be used with -s. It also ignores min and max.
-r : resume a previous session. You must use the same command line as
the previous session.
-s : allows you to specify the starting string, eg: 03god22fs
-t [FIXED]@,%^ : allows you to specify a pattern, eg: @@god@@@@
where the only the @'s will change with lowercase letters
the ,'s will change with uppercase letters
the %'s will change with numbers
the ^'s will change with symbols
-u : only print words; supress file size information, aka unheard
NOT NEEDED ANYMORE
-z : adds support to compress the generated output. Must be used
with -o option. Only supports gzip, bzip, lzma, and 7z.
Offline
@ mrj2013
That is sometime somewhat puzzling with linux
To execute a (executable) it has to be in one of the directories specified in the $PATH variable.
Or, you need to specify the path to that executable.
invoking "crunch" results in "file not found" or "no such file"
invoking "./crunch" will run the file
you do not need the quotes, of course.
Some people will add "." to their default PATH for that reason.
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]