
Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method.
Input Validation Error
Tobias Kraze from makandra and joernchen of Phenoelit
Please do the necessary edits on the code to best suite your needs
This is not perfect as I am continuingly learning python