I know mine like to hide in used paper towel tubes, or toilet paper tubes. Same principle, put your hand over the open end, place in a temporary box, clean the enclosure, then put them back.

Yes, they poop in them, and on them, but they are disposable and readily available. If the hide is poopy, I put a new one in the clean enclosure, then gently dump the snake out into the clean enclosure.