As alluded to in comments, you should usually not flag for moderators for this sort of thing. There are a few main reasons why:
Moderators can not possibly judge the legality of doing certain things, especially when it comes to laws in many different countries.
No one can completely guess as to the intent of the activity in question, even if we do think it's something illegal. (Hacking is legal, for instance, when it is being done with consent - often for penetration testing)
Ultimately, we judge questions based on their quality as questions, not anything else. This applies to 'shady' things like you suspect here, as well as homework, coding challenges, etc.
That said, questions like this have a tendency to be of low quality to begin with, in my experience. The question you link to here seems a bit weak to me. I'd consider voting to close it on that principle.