A Brazilian woman was shocked after she discovered a 7-foot-long snake hiding inside her washing machine. A neighbor helped her pull the reptile out of the appliance — an action that was recorded in a video that has since gone viral on social media.

Shirley Oliveira, 46, mother of two from Salvador, Brazil, was perplexed when her daughter, Amanda, informed her of a weird noise coming from the washing machine. Oliveira decided to peer into the appliance to find the source of the noise. "When I opened the lid, I got the fright of my life because there was a snake inside with its head poking out," Oliveira said, the Khaleej Times reported. 

Oliveira was not sure whether the snake was poisonous or not. Nevertheless, she decided not to take any chances and called the authorities. She was then informed that the wild life officials would arrive the following day.

Not wanting to leave a seemingly deadly reptile inside her household appliance, Oliveira went to her neighbor for help. That is when one of her neighbor’s friends, Joao Paulo Ribeiro, came to her aid.

Having a pet snake himself, Ribeiro immediately recognized the snake as a male boa constrictor, which was not a poisonous reptile. In the video Ribeiro is seen lifting the 17-pound snake out of the washing machine by grabbing its throat. Since the snake was pretty long, others also lent their hands in order to safely get the creature out of the appliance.

"It was wrapped tight around the drum and was hard to lift out. It took me over 20 minutes to remove it and it was a struggle right until the end." Ribeiro said. The snake is seen opening and closing its jaws repeatedly in the video.

The snake was then carried far away from the house and released into the wild. Although, it was not immediately clear as to how the reptile found its way into the washing machine, Oliveira said that she was glad that the situation was resolved without any complications.

"I'm grateful everything worked out well in the end for us and the animal, which was probably just as frightened as we were," Oliveira said.