Skip to content

Tool (CLI) for using haveibeenpwned through its API (only passwords for now)

License

Notifications You must be signed in to change notification settings

MrBlaise/haveibeenpwned

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

havei.sh

Tool (CLI) for using haveibeenpwned through its API (only passwords for now)

Prerequisites

  • shasum or sha1sum
  • curl

Install

  • Download the script havei.sh
  • Run chmod +x havei.sh

Usage

  • Check a single password: ./havei.sh password
  • Check a password in interactive mode: ./havei.sh -i
  • Check multiple passwords from a newline seperated file: ./havei.sh -f=passwords.txt
  • By default there is a 2 second delay, to prevent rate limiting, you can set this with the -d or --delay flag
  • To read more about the flags run ./havei.sh --help
  • To write out plain passwords and their statuses use the -p or --plain flag

Examples

./havei.sh password
1E4C9B93F3F0682250B6CF8331B7EE68FD8:3303003

./havei.sh -f=passwords.txt
37D0679CA88DB6464EAC60DA96345513964:2088998
1E4C9B93F3F0682250B6CF8331B7EE68FD8:3303003

./havei.sh -f=passwords.txt -p
FOUND: 12345 -- 37D0679CA88DB6464EAC60DA96345513964:2088998 
FOUND: password -- 1E4C9B93F3F0682250B6CF8331B7EE68FD8:3303003

About

Tool (CLI) for using haveibeenpwned through its API (only passwords for now)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages