Skip to content

Commit c471ffe

Browse files
author
Claudio André
committed
docs: avoid "promoting" security bad practices
1 parent fea7a78 commit c471ffe

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

readme.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -289,18 +289,18 @@ hardware. If you are facing problems, please ask for support.
289289
- if `john` is not recognizing your GPU card (and you are sure all required GPU drivers are installed):
290290
- using the `detect-OpenCL.ps1` script contained in the main folder:
291291
```powershell
292-
# I downloaded and extracted "john" to c:\Temp\Devel.
292+
# I downloaded and extracted "john" to C:\Users\Me\JtR.
293293
# Then, opened the `detect-OpenCL.ps1` script and copied the command I need to use;
294294
# For security reasons, powershell script execution is disabled by default
295-
PS C:\Users\Me> cd c:\Temp\Devel
295+
PS C:\Users\Me> cd .\JtR\
296296
297-
PS C:\Temp\Devel> run\john --list=opencl-devices
297+
PS C:\Users\Me\JtR> run\john --list=opencl-devices
298298
Error: No OpenCL-capable platforms were detected by the installed OpenCL driver.
299299
Error: No OpenCL-capable devices were detected by the installed OpenCL driver.
300300
301-
PS C:\Temp\Devel> Get-Childitem -Path c:\Windows\System32 -Include amdocl64.dll -File -Recurse -ErrorAction SilentlyContinue | %{$_.FullName} | Out-File -NoNewline -encoding ascii -FilePath etc\OpenCL\vendors\AMD-found.icd
301+
PS C:\Users\Me\JtR> Get-Childitem -Path c:\Windows\System32 -Include amdocl64.dll -File -Recurse -ErrorAction SilentlyContinue | %{$_.FullName} | Out-File -NoNewline -encoding ascii -FilePath etc\OpenCL\vendors\AMD-found.icd
302302
303-
PS C:\Temp\Devel> run\john --list=opencl-devices
303+
PS C:\Users\Me\JtR> run\john --list=opencl-devices
304304
Platform #0 name: AMD Accelerated Parallel Processing, version: OpenCL 2.1 AMD-APP (3075.13)
305305
Device #0 (1) name: gfx902
306306
Board name: AMD Radeon(TM) Vega 8 Graphics
@@ -331,22 +331,20 @@ hardware. If you are facing problems, please ask for support.
331331
- replacing cygwin's OpenCL library `cygOpenCL-1.dll` in the `run` directory with `OpenCL.dll` installed
332332
in the `c:\Windows\System32` folder should make everything _almost_ work. Copy in the `OpenCL.dll`, and rename the copied file `cygOpenCL-1.dll`. Example:
333333
```powershell
334-
# I downloaded and installed john in c:\Temp\Devel
335-
C:\> cd c:\Temp\Devel
336-
337-
C:\Temp\Devel> run\john --list=opencl-devices
334+
# I downloaded and installed john in C:\Users\Me\JtR
335+
C:\Users\Me\JtR> run\john --list=opencl-devices
338336
Error: No OpenCL-capable platforms were detected by the installed OpenCL driver.
339337
Error: No OpenCL-capable devices were detected by the installed OpenCL driver.
340338
341-
C:\Temp\Devel> run\john --test=5 --format=nt-opencl
339+
C:\Users\Me\JtR> run\john --test=5 --format=nt-opencl
342340
No OpenCL devices found
343341
344342
# If you find too many OpenCL.dll files, try them all one at a time:
345343
# - copy, rename, test; copy another file, rename and ...
346-
C:\Temp\Devel> copy c:\Windows\System32\OpenCL.dll run\cygOpenCL-1.dll
344+
C:\Users\Me\JtR> copy c:\Windows\System32\OpenCL.dll run\cygOpenCL-1.dll
347345
1 file(s) copied.
348346
349-
C:\Temp\Devel> run\john --test=5 --format=nt-opencl
347+
C:\Users\Me\JtR> run\john --test=5 --format=nt-opencl
350348
Device 1: gfx902 [AMD Radeon(TM) Vega 8 Graphics]
351349
Benchmarking: NT-opencl [MD4 OpenCL/mask accel]... LWS=64 GWS=512 (8 blocks) x2470 DONE
352350
Raw: 287571K c/s real, 2857M c/s virtual

0 commit comments

Comments
 (0)