søndag 5. oktober 2008

How to bypass restrictions to get to the command prompt

Ok, you're at a console at the library, school or other public
termimal. Access to C: is blocked. The command prompt is blocked.
You're trying to do something, and you can't because of these
restrictions. What a load of shit.

First things first... Get to the command prompt. Once you've got
access to DOS, you're in good shape. If it's blocked, try the easy
way first.
*****************************************
Method 1:
1. Open any folder or browser.
2. Type the location of cmd.exe or the prompt depending on the OS.
Example: "C:\windows\system32\cmd.exe" or "C:\winnt\system32
\cmd.exe" (for NT)
*****************************************
Method 2:
1. Save the cmd.exe prog to a floppy and do a "A:/cmd.exe".
2. If you dont want to run it off the A:, then save it to the
computer and launch it from somewhere you have access to.

(note: ctrl-c / ctrl-v if cut and copy is blocked.)
****************************************
Method 3:
1. Download QuickBASIC. http://www.geocities.com/aliphax/files/qb.zip
2. Make a program that works similar to cmd.exe, but isn't blocked.

SHELL "cd>~cd.tmp"
OPEN "~cd.tmp" FOR INPUT AS #1
LINE INPUT #1, f$
CLOSE #1
KILL "~cd.tmp"
f$ = f$ + "\~cd.tmp"
DO
SHELL "cd>" + f$
OPEN f$ FOR INPUT AS #1
LINE INPUT #1, cd$
CLOSE #1
KILL f$
PRINT cd$ + ">";
LINE INPUT cmd$
SHELL cmd$
LOOP UNTIL LCASE$(cmd$) = "exit"

3. Save as "something.bas"
4. Click Run
5. Make EXE File
6. Stand-Alone EXE File
7. Make EXE
8. Exit
9. Execute "something.exe"
***************************************
Method 4:

1. If you have access to office, start word
2. Run the vb-runtime option
3. Add an command button and do an on-click sub which says:
Shell "cmd"
4. Run it
***************************************************
Method 5:

Simply open up the browser, go to view source, select New,
type "command", and save it as dos.bat. Then just simply open up
dos.bat to open up command prompt.

-HÅ££Å / Murder Mouse

Thanks to z1p and Alipha for the copy of QBasic for the tutorial.
Also thanks to phantiC for suggesting the VB runtime option in office.

Ingen kommentarer: