Further, it is what you do with it not the potential that would get you into legal trouble, otherwise Google, Facebook and every other company would be under legal uncertainty.
Indeed, your hacking actions were far more risky without prior consent from all parties involved.