I wrote this a few years ago, times have changed and a encoded powershell based payload would be ideal.