https://github.com/caolan/lolcorp
Intentionally insecure example Node.js applications
https://github.com/caolan/lolcorp
Last synced: 10 months ago
JSON representation
Intentionally insecure example Node.js applications
- Host: GitHub
- URL: https://github.com/caolan/lolcorp
- Owner: caolan
- Created: 2017-08-31T16:10:33.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-31T16:29:58.000Z (almost 9 years ago)
- Last Synced: 2025-03-17T03:11:27.200Z (over 1 year ago)
- Language: JavaScript
- Size: 48.8 KB
- Stars: 7
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* LOLCorp's amazing software
This repository contains some example Node.js applications with
deliberate security holes. We're using them to demonstrate basic
security practices.
** Before you start
You'll need to install [[https://nodejs.org/en/][Node.js]]. These applications were written with
Node v8.4.0, but older versions should still work.
** To run an application
Note that all the applications have security holes, so you might want
to run them inside a virtual machine if opening them up to a network.
By default the web-servers are accessible on 127.0.0.1 only, so should
only be accessible from your own machine.
First change into the application directory and install it's
dependencies:
#+BEGIN_SRC shell
cd 01-notebook/
npm install
#+END_SRC
Then, run the application using node:
#+BEGIN_SRC shell
node server.js
#+END_SRC
You should see a message saying the server is available at
[[http://127.0.0.1:8080/][http://127.0.0.1:8080/]].