Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [day] [month] [year] [list]
Date: Tue, 9 Jul 2019 09:45:07 -0300
From: Claudio André <claudioandre.br@...il.com>
To: john-users@...ts.openwall.com
Subject: Re: Disable specific SIMD features like AVX, AVX2, etc.

> An easier approach you may use is a script like this (call it "john"):
>
> ---
> #!/bin/sh
>
> for john in john-avx512bw john-avx2 john-avx john-sse4 john-ssse3
john-sse2; do
> if ./$john | grep -q ^Usage:; then
> echo "Will use $john"
> ln -sf $john john
> exec ./john "$@"
> exit
> fi
> done
> echo 'No suitable john binary found'

You can also add the script to your entrypoint. I added it my image (where
I don't use a fallback binary chain):
```
docker run -it claudioandre/john:v1.9.0J2 best --test=10
--format=SHA512crypt;
```
Claudio

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.