It is your responsibility to make sure you follow the TOS.
"didn't know", "got it from a friend" are not excuses, you are the only one responsible for what you upload, in fact most cases I came across nulled scripts it has been rather clear in the header of the files that they were hacked by some group.