Custom Firmware is legal when not used to play games you didn't buy. This site is also legal because Sony never stated anything about editing the hex in their legal policy, so it is legal to do it. Now, for PSP2(NOT PSP3000) it WILL be illegal, but for now this site's legal.