Powershell and Mysql featuring the null byte (x00)

For those of you who follow our blog, Brett does a lot of articles about PowerShell and how great it is. So the other day when I need to do a mysql dump of some data on a Windows 2008 server, I fired it up. The deep blue background touched my inner California beach bum, and the verbose bright red error messages made my inner programmer smile.

“This is pretty neat,” I thought. “Maybe Windows has finally made something to compete with Unix’s shell in a real and meaningful way.”

The dump finished and immediately my Common Sense began tingling…
Continue reading