Source: https://law.stackexchange.com/questions/17083/does-the-legality-of-pentesting-without-permission-depend-on-its-success