My ex, Stacy, did this for a mouse problem in her Lexus (she lived in farm country.)
Got rid of the mice, but she could never get rid of the moth-ball smell in the SUV. Every time I rode in it I had to refer to her as Ethel.
Five gallon bucket with about two inches of used cooking oil on the bottom. String tied across the top with a used tuna can (not washed after contents emptied) with peanut butter smeared on the outside diameter suspended in the middle free to spin on the string.
Mouse motel open for business
.....