Even if they have a terrible track record, this code implies nothing that they are currently accused of. It is not like the code is heavily obfuscated or missing other parts. Let's not forget these leaks were "planted" too and we have no idea about its integrity.
Any tool you can use to upload files on a remote system can be used for that. Hacking Team's tools certainly allow that but I very much doubt they have a tool specialized for planting child porn/evidence on a computer.
But then... we're so used of seeing child porn used as a straw man to increase surveillance that's it's pretty fun to see it used against one of the companies making tools to help with said surveillance. Even if it's wrong.
I'm not saying it was intended to happen like this but it is sad it did.