Can a dog bite get infected if you rub the skin through your pants?

It is possible to be infected with the rabies virus after being bitten by a dog through your pants, resulting in a break in the skin.
Being bitten by a dog, resulting in broken skin, means that the skin mucous membrane is damaged, and once the dog carries the rabies virus in its body, it may lead to the transmission of the rabies virus through the bloodstream, resulting in the human body being infected with the rabies virus. Therefore, to be on the safe side, it is recommended to consult a doctor for rabies vaccination in time.
There is no specific drug for rabies, and once the human body is infected with rabies, the mortality rate is 100%. Therefore, rabies is usually preventive, once the skin is broken and exposed, it is necessary to get vaccinated against rabies as soon as possible.
There are certain contraindications to rabies vaccination, and it is recommended that patients consult a specialist first.