9
Cody56
8y

More emarassing than frustrating..But I was applying to a couple internal positions recently and decided to bring in a sample package to demonstrate some of what I had been working on in my current team. They seemed to like the example and the interview seemed to go well...A couple hours later one of the managers came by my cubicle and asked "is that the real password?" and pointed to a line in the code. Sure enough, I had left a plain text password in the script I had just handed out to 10 panelists at 2 interviews..proceeded to collect the packets back. In the future I'll be paying closer attention to what I include lol.

Still frustrated we keep the passwords in the script though >.> any suggestions for better storage of passwords and the like in Perl scripts?

Comments
  • 3
    Easy. don't write perl scripts in 2017...

    most other solutions is to keep the password in keystore protected by a master passphrase.
  • 1
    I went through the same with co workers not long ago. I adopted this from reading so many PHP scripts that did this back when I was learning to code 10+ years ago. I didn't understand the implications of it and my co workers had to explain it to me. Thankfully, I got a pass because I'm still an undergrad.
  • 2
    Environmental variables ?
Add Comment