Today I will go over how to build a simple SMTP Message Client, which can be used to send emails. This one is fun if your organization’s SMTP server does not require authentication (many don’t) and you would like to impersonate your boss. Note: Don’t impersonate your boss.
When testing systems, it can be useful to see what’s hidden behind a base64 string. Maybe we are running a secuirty audit and come across an HTTP endpoint using Basic Authentication :O and we want to illustrate to those that don’t understand the risk and why it should be changed (well, it looks encrypted to a non-technical person…). You might need this for any number of reasons. Maybe you just want to try it for knowledge’s sake. Lucky for us, .NET has wonderful built in methods for working with base64.