No its not legal.
You better format your hard drive right away or the FBI will be at your residence within 48 hours to cofenscate your parents PC.
They know how to look for these things, and your parents PC just pulled a major red flag at their main office in Washington.