Cuda

From Halfface
Jump to navigation Jump to search

crack hash

./cudaHashcat64.bin -m 1500 /temp/htpasswd
./cudaHashcat64.bin -o password.txt -m 1500 -a 3 /temp/ipdiscover_htpasswd -1 ?l?d?u /password_list (?1..?1?1...)
# install driver
http://negativo17.org/nvidia-driver/

LIst cude devices

NVIDIA System Management Interface program

nvidia-smi

Driver information

cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module  361.28  Wed Feb  3 15:48:04 PST 2016
GCC version:  gcc version 5.3.1 20151207 (Red Hat 5.3.1-2) (GCC)

Do we have any devices.

ls -la /dev/nvidia*
crw-rw-rw-. 1 root root 195,   0 Mar 12 07:10 /dev/nvidia0
crw-rw-rw-. 1 root root 195, 255 Mar 12 07:10 /dev/nvidiactl
crw-rw-rw-. 1 root root 243,   0 Mar 12 07:07 /dev/nvidia-uvm

Which version of cuda?

nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17