Logo

Ethan Hampton


Work

  • How I Leaked Database Credentials

    28-Jul-2020 | 1533 Words | 8 min read

    Running a server can be difficult and it is very easy to leak important credentials. Much easier than you want it to be. I ended up leaking a dangerous file from one of the WordPress websites I manage, named ‘wp-config.php.save’ to the public internet. It contained passwords to the site database, cookie keys and cookie salts. This created a couple issues, namely the fact that anyone who could access the database server could have had full write permissions. There are a couple reasons why I don’t think this happened, and most of them are due to great default protection by Azure, so I got extremely lucky. I am going to dive in to the events leading up to the incident and then what I did to resolve it.

  • Don't Trust Client Side Analytics

    10-Mar-2020 | 971 Words | 5 min read

    The moral of this story is don’t trust client side analytics.

    I enable uBlock Origin (a tracking/ad blocker) on ethohampton.com. Seriously, on my own website. I don’t even have ads that I might need to block. So why, you might ask don’t I have my own domain on my unblocked list?

Ethan Hampton is a Oregon State Honors College student studying Computer Science. Ethan loves simple but effective ideas that work at a large scale to help make the world a better place

Thoughts and Ideas

Subscribe to my collection of internet links, thoughts and ideas delivered to you weekly

Recent Posts

  • Fix WordPress Login Infinite Redirect Issue | 23-Aug-2020
  • How I Leaked Database Credentials | 28-Jul-2020
  • Well That's Neat! | 23-May-2020
  • Don't Trust Client Side Analytics | 10-Mar-2020
  • Theme a Little Theme With Me | 06-Feb-2020