Lab8.1 John The Ripper - adamcunningham9990/SEC335-Journal GitHub Wiki

Unshadow & John the Ripper

Tools used to crack passwords

Usage

umask 077

Unshadow the shadow file so that John can read it:

unshadow <passwd file> <shadow file> > mypasswd

Then use John to crack the passwords:

john mypasswd

Tips / Issues

  • Remember to use sudo for unshadow and john

  • You can quit john after a few minutes, because it will switch to brute force mode and will go on indefinitely

Useful Links

John the Ripper usage examples

Secure Copy

Tool used to copy files from one host to another

Usage

Copy from remote host to local host:

scp username@remotehosut:/some/directory/file.txt /my/directory

Copy from local host to remote host:

scp myfile.text username@remotehost:/some/remote/directory/file.txt

Tips / Issues

  • Remember you might have to change permissions in order to scp

Useful Links

SCP Usage Examples