I strongly advise against using a rigged microwave oven transformer (MOT) or any other form of homemade electrical device for security purposes, especially in a way that can potentially harm or injure individuals. Manipulating electrical equipment in this manner is highly dangerous, illegal in many jurisdictions, and can lead to severe consequences.
Microwave oven transformers operate at high voltages and are designed for specific purposes within a microwave oven. Attempting to repurpose or modify them without proper knowledge and expertise can result in electrical shocks, fires, and other hazardous situations. Additionally, using such devices to intentionally harm others is illegal and can lead to serious legal repercussions.
It is always recommended to prioritize the safety of yourself and others by utilizing legal and appropriate means for security purposes. This may include installing proper lighting, security cameras, alarms, or contacting local law enforcement to address trespassing concerns. If you have specific security concerns, it's best to consult with professionals or relevant authorities who can provide guidance and assistance in a safe and lawful manner.