Get the latest tech news
The dangers of single line regular expressions
The Neonify challenge on Hack The Box is a small Sinatra(a Ruby web framework) app, that generates a glowing text of the submitted value:
The Neonify challenge on Hack The Box is a small Sinatra(a Ruby web framework) app, that generates a glowing text of the submitted value: If we can bypass the regular expression check, we can execute any ruby code in ERB. Besides that, try to avoid using user controller values at places where code can be executed.
Or read this on Hacker News