Git Product home page Git Product logo

cmd-block-bypass's Introduction

Simple bypass for computers where CMD is blocked

A simple file which bypasses the CMD block on, at least, my school's computers.

I take no responsibility for any misuse, abuse, or whatever you do that may get you into trouble for using this: don't use it if you don't know that you are allowed to. Any such usage is on your own risk.

How it works, line by line

1.

@echo off

Hides the commands run by the script from the user to make it tidier and less annoying to use.

2.

:A

Adds the label A for use later in the script.

3.

set /P x="%cd%>"

Prints out the current path (given to us by the variable %cd%, where cd stands for Current Directory, I believe) along with a > to make it look like the regular Windows command prompt. It then waits for the user to type something, and once they press enter it is put in the variable x (which we later will access using %x%).

And yes, you could change this part to theme CMD to look like bash, zsh, ash, or whatever to some degree.

4.

%x%

Take the user's input (which we put in the variable x in the previous step) and run it.

5.

goto A

Restarts the whole process by jumping to label A so that the user can run more than one command without CMD exiting on them.

... and that's it!

cmd-block-bypass's People

Contributors

newbytee avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.