Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Latest commit

 

History

History
43 lines (30 loc) · 753 Bytes

File metadata and controls

43 lines (30 loc) · 753 Bytes

ppc

Dec 2025: this repository has moved to GitLab: https://gitlab.com/IanTwenty/ppc.

(P)rint (P)assword (C)haracters. This very small bash script prints the specified characters from a password you enter. Useful for websites and password forms that ask for the Nth character and your password manager does not support that.

Usage: ppc [N]...
Print Nth character(s) from a password

Example:

> ppc 1 3 5
Password: hello
h l o
>

Note the password is hidden when entered, it's shown above just for illustration purposes.

Installation

Clone the repo then in that same dir use the ninja build tool to install:

ninja

Or if you don't have ninja:

sudo cp ppc /usr/local/bin/

License

GPL v3.0.