File: Crack6

package info (click to toggle)
crack 5.0a-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,456 kB
  • ctags: 574
  • sloc: ansic: 7,444; perl: 1,316; sh: 1,053; makefile: 296
file content (19 lines) | stat: -rwxr-xr-x 603 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
###
# This program was written by and is copyright Alec Muffett 1991,
# 1992, 1993, 1994, 1995, and 1996, and is provided as part of the
# Crack v5.0 Password Cracking package.
#
# The copyright holder disclaims all responsibility or liability with
# respect to its usage or its effect upon hardware or computer
# systems, and maintains copyright as set out in the "LICENCE"
# document which accompanies distributions of Crack v5.0 and upwards.
###

# usage:
#
#	Crack6 [dictionary ...]
# or: 	echo guess | Crack6
#

perl -nle 'setpwent;crypt($_,$c)eq$c&&print"$u=$_"while($u,$c)=getpwent' $@