Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # bootsandcats.sh by theRoda v0.1
- # Amazon EC2 g2.8xlarge cudaHashcat bootstrap
- # save script and scp to instance: scp -i <key.pem> /path/to/bootsandcats.sh ec2-user@<IP>:/home/ec2-user
- # run as root
- # finishes with benchmark test, CTRL-C to skip it.
- #!/bin/bash
- yum -y update
- wget http://us.download.nvidia.com/XFree86/Linux-x86_64/346.35/NVIDIA-Linux-x86_64-346.35.run
- chmod +x NVIDIA-Linux-x86_64-346.35.run
- yum -y groupinstall development tools
- ./NVIDIA-Linux-x86_64-346.35.run
- sed -i '0,/enabled/{s/=0/=1/}' /etc/yum.repos.d/epel.repo
- yum -y install p7zip
- wget http://hashcat.net/files/cudaHashcat-1.36.7z
- 7za x cudaHashcat-1.36.7z
- ln -s cudaHashcat-1.36/cudaHashcat64.bin cudaHashcat-1.36/cudaHashcat
- PATH=$PATH:/home/ec2-user/cudaHashcat-1.36/
- cudaHashcat -b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement