I had similar issues with water getting into the ethernet connection and destroying the connection.
My wires had different colors, so if anyone has a camera like mine (Lorex LNE9292B Indoor/Outdoor 4K Ultra HD Nocturnal Smart IP Motorized Dome Camera), here's my wire color pinout that was able to re-establish a working PoE connection;
1 white-orange
2 orange
3 white-green
4 blue
5 N/A
6 green
7 N/A
8 brown