Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 643 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 643 Bytes

StocksViewer

Lightweight Flask web application used to retrieve and graph real-time stock price data. This application is used to demonstrate the debugger RCE vulnerability in early versions of Werkzeug.

Setup

Run on *nix system:

pip install -r requirements.txt 
sudo python app/main.py 

Docker

# build
docker build -t stocksviewer:latest .
# run
docker run -d -p 80:80 stocksviewer

To access:

Navigate to http://<ip_or_domain>/ticker/<refresh_time_minutes>/<stock_symbol>

For example, http://localhost/ticker/5/aapl

To get RCE:

...you'll have to do some research and hacking of your own!