Instead of using ptrace hacks, use another hack instead :D
Attach a file by drag & drop or click to upload