image.png

Before you start, take a minute to read over the source code and get familiar with the app’s functionality.

This app allows you to upload a .csv file and get back a gnuplot chart.

For example, I can create a file like this:

test.csv

1,2
3,4
5,6

image.png

Once I upload this test.csv file, I get back a .png I can download.

image.png

There are a few red herrings here, but the user-controlled content that is completely unprotected is points

image.png

Note:

Once we hit ‘generate_graph’ the following function is called:

image.png

For example, if we have: