I made a solution of water, dish liquid and fruit-flavored powdered drink and put it in an open can and left it out in a corner on my kitchen floor. I'm hoping the bugs will take the bait.
I had to get rid of a pot I cooked with because there were maggots in it.
Ha ha. No I had some weird stinky mess in a bag on the kitchen floor. That's probably what attracted the bugs.
Swatters are cheap. You can buy another one.