A read–eval–print loop (REPL), also known as an interactive toplevel or language shell, is a simple, interactive computer programming environment that takes single user inputs, evaluates them, and returns the result to the user. Common examples include command line shells... -- read–eval–print loop - Wikipedia
- Clone the project:
$ git clone git@github.com:TalAter/REPLogin.git
- Change to REPLogin directory:
cd REPLogin
- Install dependencies:
$ npm install
- Run REPLogin's server:
$ npm start
- Point your browser to
http://localhost:8765/
- Play around with some commands (the password for sudo is:
12345
)
help
- Shows a list of available commandsls
- List directory contentscat passwords
- Attempt to display the contents of the passwords filesudo cat passwords
- Login as a super user and display contents of passwords file (the password for sudo is:12345
)
Too busy to download the project and try it yourself? Here is a video of it in action.