The author claims to be a computer security engineer, yet is deliberately setting up a tool to defeat security -- not an abstract tool, useful in surveying and thus improving your own security and incidentally capable of being used for mischief, but nothing more than a list of identifiers and passwords. The only indicator you can gain from this is that someone betrayed your trust.
If this profession had a board of ethics, this is the sort of thing that it would take action against.
If people want you to use their networks, they will offer you access via any one of several convenient mechanisms, including
not using encryption
putting a sign on the wall with a password
handing you a card with credentials
telling you a password