I am writing a tools that basically searches scripts and configurations files for hard-coded passwords. My first approach is to identify the most commonly used Linux terminal applications that can be passed a password (and hence which provide authentication).
Do you know of a comprehensive list of such tools? I couldn't find any. However, my first thoughts included the following tools:
- wget
- curl
- nc
- ssh
- scp
- ftp
- telnet
- git
- mysql
- sftp
Am I missing important ones?
sudo
could also earn a spot on this listunzip
might also find its way on your list as the-P
flag has potential security implications explained heresudo
intentionally does not take passwords on the command line for that very reason. Though GnuPG and various file archivers like 7z may.