You are likely describing a civet.
Civets are small, furry carnivores that live in Africa, Asia, and Europe. They have a body shape similar to a cat, with a long tail and distinctive spots or stripes on their fur. Their fur can be gray, brown, or black, and they often have a weasel-like face with a pointed snout and large eyes. Civets are known for their unique scent glands, which produce a strong-smelling musk. They are solitary animals most active at night, feeding on small animals such as rodents, birds, and reptiles.