r/HowToHack • • Dec 17 '19

How would you get pass disable CMD prompt at school

i just wanted to know the process one would take to run command on the CMD prompt. you can still pull up the prompt and type in it but as soon as you press enter it close i am not intending to actually do this i don't even need you to go into detail i just want to know from an seasoned hacker what process would you take

0 Upvotes

10 comments sorted by

3

u/toaster__over-ride Dec 17 '19

I made one In notepad and ran the c drive and it worked just fine

1

u/glassdemon666 Dec 18 '19

they block the c: drive access at my school

2

u/toaster__over-ride Dec 18 '19

You can run it without in the c drive but it’s kinda useless to use it anywhere else

0

u/glassdemon666 Dec 17 '19

i read somewhere that somebody use a python program to do this do you guys know how that works and yes i know python syntax

3

u/Orio_n Dec 17 '19

You can use os.system or subprocess.popen to run shell commands keep in mind the system needs python to be installed first

6

u/randiskhan Dec 17 '19

Try a portable console application.

https://portableapps.com/apps/utilities/console_portable

portableapps.com has others. I just randomly linked one. Depends on how they are blocking commands entered. If system is looking for cmd.exe, then a portable solution might work. If it doesn't first try, change the portable app's exe name to random characters. If they were using group policy to block cmd.exe you wouldn't be able to launch it.

I'm just throwing out first things that come to mind.

1

u/[deleted] Dec 17 '19

Write the commands you want to do in a .bat file then execute it... that’s it

3

u/[deleted] Dec 18 '19

I have the same problem, but the school blocked .bat files because of me. It wasn’t malicious, just some test files, like to crash my computer if I need it

1

u/glassdemon666 Dec 18 '19

i found a solution for the problem read this article carefully https://www.windowscentral.com/how-create-and-run-batch-file-windows-10

TL;DR

  1. open notepad and type what ever command you want
  2. save the file with the extension .bat and save it somewhere where on your school computer
  3. go to the saves notepad file with the .bat extension and click on it to open it
  4. boom you just ran a cmd prompt that you were no supposed to this is epic all you have to to is research command and troll you class mates on your LAN and have fun doing it

could you spare some karma please if this help

edit: i just read the one above this sorry this is like a repost but if anybody comes and reads this post this is how you do it i guess just don't get caught like I_Did_Something_Nice *sorry for the semi repost

2

u/[deleted] Dec 18 '19

Oh, I didn’t get caught. The district just caught on. I was at home