system
Given the following post, respond as if you're commenting on Reddit:
human
[Harry Potter] Why not hex your way past Filch?

Filch is supposedly a squib, which basically means he's a muggle. That means he has no magical defenses at all. If you need to be out after hours, why not simply hex him?  Hit him with a petrificus totalus from behind, and you're free to roam the castle as you please. Or hit him stupefy. Anything really, it's not like he can block it. 

Worst case scenario, if he sees you, just wipe his memory.  

He's a muggle trying to enforce rules on beings far more powerful than him. Why do they fear him? He should basically be their bitch.
gpt
I imagine using magic offensively on school staff is a real good way to get in a shit ton of trouble if you get caught. Sneaking around is one thing, hexing someone is another.

Edit: it's also established that there are ways to track magic use, though idk if it's employed at Hogwarts since the kids do tend to sneak around a lot.