Skip to content

Instantly share code, notes, and snippets.

@Trailingslashes
Last active August 20, 2018 03:15
Show Gist options
  • Save Trailingslashes/dffce3cc7180345aa4a1e12f721d7a06 to your computer and use it in GitHub Desktop.
Save Trailingslashes/dffce3cc7180345aa4a1e12f721d7a06 to your computer and use it in GitHub Desktop.
Nvidia Driver Script for Kali Linux Rolling
# Installs the current nvidia drivers and correct libraries for hashcat
# Repo list - https://docs.kali.org/general-use/kali-linux-sources-list-repositories
apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
apt install linux-headers-$(uname -r) -y
apt install nvidia-driver -y
apt install nvidia-opencl-icd libxnvctrl-dev nvidia-opencl-dev libgmp3-dev libgmp10-doc opencl-headers -y
# Run hashcat -I to verify hardware
#
# hashcat (v4.1.0) starting..
#
# OpenCL Info
#
# Platform ID #1
# Vendor : NVIDIA Corporation
# Name : NVIDIA CUDA
# Version : OpenCL 1.2 CUDA 9.1.84
#
# Device ID #1
# Type : GPU
# Vendor ID : 32
# Vendor : NVIDIA Corporation
# Name : GeForce GTX 980 Ti
# Version : OpenCL 1.2 CUDA
# Processor(s) : 22
# Clock : 1228
# Memory : 1520/6083 MB allocatable
# OpenCL Version : OpenCL C 1.2
# Driver Version : 390.77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment