Last active
May 4, 2025 08:55
-
-
Save ravibhure/fd02bde15da1fbe526fe3fbf392454a2 to your computer and use it in GitHub Desktop.
John The Ripper - https://github.com/magnumripper/JohnTheRipper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## How to install on Ubuntu (also works on Ubuntu for Windows) | |
https://github.com/magnumripper/JohnTheRipper | |
https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/doc/EXAMPLES | |
https://dunnesec.com/category/tools/john-the-ripper/decrypting-linuxunix-password-shadow-files-using/ | |
## From apt packages | |
### install | |
sudo apt-get update | |
sudo apt-get -y install john john-data | |
sudo john --device=0 --test=0 | |
## From Source | |
### Install pre-requisites | |
mkdir -p ~/src | |
#### apt update | |
sudo apt-get update | |
#### Required stuff | |
sudo apt-get -y install build-essential libssl-dev git | |
#### Recommended (extra formats and performance) | |
sudo apt-get -y install yasm libgmp-dev libpcap-dev pkg-config libbz2-dev | |
#### If you have an NVIDIA GPU (OpenCL support) | |
# sudo apt-get -y install nvidia-opencl-dev | |
#### If you have an AMD GPU (or want to use CPU as OpenCL device) | |
##### Up to Ubuntu 15.10 (<# 15.10). This will work on Intel hardware but warnings will be seen. | |
sudo apt-get -y install ocl-icd-opencl-dev opencl-headers fglrx-dev | |
##### Ubuntu Xenial 16.04 LTS and above (># 16.04) | |
# The fglrx driver would not be supported in 16.04 (XServer 1.18 is not supported). Canonical and AMD decided to use the new hybrid driver stack for 16.04. JtR OpenCL users should stay on a supported release until the hybrid stack is available. | |
#### Optional MPI support | |
sudo apt-get -y install libopenmpi-dev openmpi-bin | |
#### Optional REXGEN support (additional cracking modes) | |
sudo apt-get -y install cmake bison flex libicu-dev | |
cd ~/src | |
git clone --recursive https://github.com/teeshop/rexgen.git | |
cd rexgen | |
./install.sh | |
### Clone latest bleeding-edge Jumbo and build | |
#### Clone GIT repo | |
cd ~/src | |
git clone git://github.com/magnumripper/JohnTheRipper -b bleeding-jumbo john | |
#### Build | |
cd ~/src/john/src | |
# For MPI, use './configure --enable-mpi' below | |
# ./configure && make -s clean && make -sj4 | |
./configure --enable-mpi && make -s clean && make -sj4 | |
### Test your build | |
../run/john --test=0 | |
### Benchmark your build | |
../run/john --test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sensacional