Disclaimer: I do not promote hacking or abusing systems without permission. Everything shown here is purely for learning and experimentation. I was doing what I usually do solving problems on LeetCode using python when a random thought popped into my head: What if I import os and try to run something on the system? So I took a basic problem, Two Sum, solved it normally… and then added a tiny extra line at the end.