Bypassing School Security (White-Hat)

Feb 2, 2016 03:30 PM

While following a tutorial on python recon tools, I found a new way to access the command prompt on a school network. While there are other ways of bypassing security, it's nice to learn use Python's OS library.

Simply use the following code:

import os

cmd = input("Command: ")

run = os.popen(cmd)

result = str(run.read())

print(result)

Got any modifications or found an error with my post? Let me know.

Note: If this works on your network, I suggest alerting your admin like the good white hat you are.

Just updated your iPhone? You'll find new Apple Intelligence capabilities, sudoku puzzles, Camera Control enhancements, volume control limits, layered Voice Memo recordings, and other useful features. Find out what's new and changed on your iPhone with the iOS 18.2 update.

Related Articles

637263493835297420.jpg

How to Use Zero-Width Characters to Hide Secret Messages in Text (& Even Reveal Leaks)

636455706472146367.jpg

How to Hide DDE-Based Attacks in MS Word

Comments

No Comments Exist

Be the first, drop a comment!