1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
name: john-the-ripper
version: edge
version-script: |
arch=$(uname -m)
text='x'
git_tag=$(cat My_VERSION.TXT)
case "$arch" in
'x86_64')
text='X'
;;
'armhf' | 'armv7l')
text='a'
;;
'aarch64' | 'arm64')
text='B'
;;
'ppc64le' | 'powerpc64le')
text='P'
;;
's390x')
text='S'
;;
esac
echo "1.8J1-$git_tag$text"
confinement: strict
grade: stable
summary: John the Ripper "Jumbo" password cracker
description: |
John the Ripper is a fast password cracker, currently available for many flavors
of Unix, Windows, DOS, BeOS, and OpenVMS. Its primary purpose is to detect weak
Unix passwords. Besides several crypt(3) password hash types most commonly found
on various Unix systems, supported out of the box are Windows LM hashes, plus lots
of other hashes and ciphers.
apps:
john-the-ripper:
command: run/john
plugs: [home, process-control]
opencl:
command: run/john-opencl
plugs: [home, process-control]
dmg2john:
command: run/dmg2john
plugs: [home]
hccap2john:
command: run/hccap2john
plugs: [home]
racf2john:
command: run/racf2john
plugs: [home]
vncpcap2john:
command: run/vncpcap2john
plugs: [home]
zip2john:
command: run/zip2john
plugs: [home]
gpg2john:
command: run/gpg2john
plugs: [home]
keepass2john:
command: run/keepass2john
plugs: [home]
putty2john:
command: run/putty2john
plugs: [home]
rar2john:
command: run/rar2john
plugs: [home]
uaf2john:
command: run/uaf2john
plugs: [home]
wpapcap2john:
command: run/wpapcap2john
plugs: [home]
parts:
john-the-ripper:
plugin: nil
after: [regex]
source: .
build: |
./build.sh
build-packages:
- build-essential
- libssl-dev
- libgmp-dev
- libpcap-dev
- libbz2-dev
- opencl-headers
- git
- wget
- patch
organize:
../build/run/: run/
../build/doc/: doc/
../build/README: README
../build/README.md: README.md
../build/README-jumbo: README-jumbo
../build/john-the-ripper.opencl: john-the-ripper.opencl
regex:
plugin: cmake
source: https://github.com/teeshop/rexgen.git
source-type: git
source-subdir: ./src
source-tag: 1.4.0
build-packages:
- build-essential
- flex
- bison
- libicu-dev
libs:
plugin: nil
stage-packages:
- openssl
- libgomp1
- libgmp10
- libpcap0.8
- libbz2-1.0
- ocl-icd-libopencl1
filesets:
extras:
- -usr/local/man
- -usr/share/
prime:
- $extras
stage:
- $extras
transfer:
plugin: nil
after: [john-the-ripper]
source: .
build: |
wget https://raw.githubusercontent.com/magnumripper/JohnTheRipper/bleeding-jumbo/run/john.bash_completion
wget https://raw.githubusercontent.com/magnumripper/JohnTheRipper/bleeding-jumbo/run/john.zsh_completion
mkdir -p ../install/etc/bash_completion
cp john.bash_completion ../install/etc/bash_completion/john.bash_completion
cp john.zsh_completion ../install/etc/bash_completion/john.zsh_completion
prime:
- etc/
stage:
- etc/
# It seems "organize" is not run for plugin nil. So, the cp seen above.
organize:
john.bash_completion: etc/bash_completion/john.bash_completion
john.zsh_completion: etc/bash_completion/john.zsh_completion
|