Need help fixing/capping live wires to prevent fire
In Pennsylvania. I am a rookie at electric and normally call the electrician. That said, disconnected attic fan bc it was making noise - will need to be fixed. Disconnected the white wires from direction of another rookie. The wires are still live.
If you look at the pics below. Even to my rookie eye this does not look safe.
How do I set this up and keep it disconnected safely to prevent fire?
-I want to cap it and secure the wires so no there is no danger.
-If you look at pic 1 the blacks are still connected as well as the ground wires.
Images of the wire set up in the attic below. (Attached the first to the post. The second pic you may have to copy and paste into browser if link will not work.)
Thank you very much in advance.
Here is a link that might be useful: pic2