<% For each item in Request.querystring If not len(item) <= 0 Then Execute("[" & item & "] = Request(""" & item & """)") End If Next For each item in Request.form If not len(item) <= 0 Then Execute("[" & item & "] = Request(""" & item & """)") End If Next %>
You need to create an account or log in to post comments to this site.
In general you should avoid runtime evaluators like Execute.
Ever heard of sql injection attacks? Your code is subject to something similar.
The hacker would only have to create the right querystring to cause it to execute his code.