diff --git a/CUDA_version/cuda_attack.cu b/CUDA_version/cuda_attack.cu index c2424ea..1a03ab6 100755 --- a/CUDA_version/cuda_attack.cu +++ b/CUDA_version/cuda_attack.cu @@ -26,7 +26,7 @@ texture w_password0; texture w_password1; int *deviceFound[2], *hostFound[2]; uint8_t *hostPassword[2], *devicePassword[2]; -char outPsw[MAX_INPUT_PASSWORD_LEN]; +char outPsw[MAX_INPUT_PASSWORD_LEN+1]; int outIndexPsw=0; static int check_match(int iStream) { diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..8fabfe2 --- /dev/null +++ b/build.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +cd CUDA_version && make