Today I want to share a simple command line utility, used to generate random and valid credit cards number for:
- Visa
- Visa13Digit
- MasterCard
- Discover
- AmericanExpress
- DinersClubUSA
- DinersClubCanada
- DinersClubInternational
- DinersClubCarteBlanche
- JCB
How it works?
Is a command line tool, for macOS / unix:
[~]$ ccard
Credit Card number generator v1.0
Card Types:
- Visa
- Visa13Digit
- MasterCard
- Discover
- AmericanExpress
- DinersClubUSA
- DinersClubCanada
- DinersClubInternational
- DinersClubCarteBlanche
- JCB
Usage: cc --type cardType
[~]$
To generate a new credit card number simply write:
[~]$ ccard --type AmericanExpress
AmericanExpress: 346587972909807
[~]$
The code is on GitHub, so feel free to clone, open merge requests or download the executable.
Enjoy with numbers!
Latest posts by Alberto Pasca (see all)
- Swift – Simple full screen loader - 11 August 2022
- macOS – Disable microphone while typing - 11 April 2022
- iOS – Secure app sensitive information - 25 March 2022