-
Notifications
You must be signed in to change notification settings - Fork 4
Obfuscate Password with Python in Terminal on Mac
Vic Phan edited this page Nov 30, 2022
·
1 revision
• Press the “command” key and spacebar to launch Spotlight Search, type “terminal” and select the “Terminal” application.
•
• Type python3
and press the “return” key to enter the Python interactive shell.
•
• Type import getpass
and press the “return” key to import the getpass
module.
•
• Type < variable > = getpass.getpass(“< prompt >”)
and press the “return” key to launch obfuscated password prompt.
•
Please reach out on LinkedIn if you have any questions or suggestions.
Please reach out to Scorpion Computer Services for consultation inquiries.