File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ kubectl create secret generic --from-file users.txt --from-file passwords.txt nc
153153<b> IMPORTANT: Use an extra empty line at the end of your files, otherwise the last letter of the last line will be omitted (due to a bug in k8) </b>
154154
155155Now we created a secret named " ncrack-lists" .
156- Before we can use the files, we have to install the Ncrack ScanType from the source code :
156+ Before we can use the files, we have to install the Ncrack ScanType:
157157
158158` ` ` bash
159159cat <<EOF | helm upgrade --install ncrack secureCodeBox/ncrack --values -
Original file line number Diff line number Diff line change @@ -159,13 +159,13 @@ Now you only need to set the value *encryptPasswords.existingSecret* to the
159159secrets name when installing the scanner
160160
161161``` bash
162- helm install ncrack secureCodeBox/ncrack --set=" encryptPasswords.existingSecret=<ncrack-secret-name>"
162+ helm upgrade -- install ncrack secureCodeBox/ncrack --set=" encryptPasswords.existingSecret=<ncrack-secret-name>"
163163```
164164
165165To decrypt a password from a finding use:
166166
167167``` bash
168- base64 encryptedPassword -d | openssl rsautl -decrypt -inkey key.pem -out decryptedPassword.txt
168+ base64 encryptedPassword -d | openssl pkeyutl -decrypt -inkey key.pem -out decryptedPassword.txt
169169```
170170
171171#### Setup with custom files:
@@ -181,7 +181,7 @@ Now we created a secret named "ncrack-lists".
181181Before we can use the files, we have to install the Ncrack ScanType:
182182
183183``` bash
184- cat << EOF | helm install ncrack ./scanners /ncrack --values -
184+ cat << EOF | helm upgrade -- install ncrack secureCodeBox /ncrack --values -
185185scanner:
186186 extraVolumes:
187187 - name: ncrack-lists
You can’t perform that action at this time.
0 commit comments