Skip to content

Instantly share code, notes, and snippets.

@ewpratten
Created February 7, 2018 14:07
Show Gist options
  • Save ewpratten/2979e8f594f935164128cddca09ae130 to your computer and use it in GitHub Desktop.
Save ewpratten/2979e8f594f935164128cddca09ae130 to your computer and use it in GitHub Desktop.
A python script that exploits a loophole to allow full shell access on school computers
import os
x=1
os.system("cls")
os.system("title CMD")
print("Shell access hack")
print("By: ewpratten")
while (x < 10) :
st = input(">>")
os.system(st)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment