Lua is a lightweight embeddable scripting language.
Questions tagged [lua]
1 questions
4
votes
3 answers
Lua loadstring, whitelisting against injection
I need to take input from the user of a simple bit of math, they want to solve.
Rather than parse there input myself, I want to just use the lua, loadstring function to load their input and evaluate it.
But I don't want to let them execute abaritary…
![](../../users/profiles/11502.webp)
Frames Catherine White
- 289
- 2
- 11