in reply to Re^4: CGI-Upload / Bad File Number
in thread CGI-Upload / Bad File Number
Concerning upload:
works now - poj found the point: also the eval...
Concerning security:
Not so relevant in this case. It's a private site with previous login. But anyway i want to know mor about this:
In between i've inserted $val =~ s/'/\\'/gms; before the eval-satement - not for security but to protect the '-character - maybe this is relevant...
I'm not sure how this might be used to run code. Can you give me an example??
I looked at 'CGI->VarsAsHash' but i dont really understand it. Especially the '\%hash' in the return-statement: what does the backslash do??
Also: is there returned a hash or single strings??
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: CGI-Upload / Bad File Number
by Anonymous Monk on Jul 17, 2016 at 08:26 UTC | |
by frnk (Novice) on Jul 17, 2016 at 12:29 UTC | |
by Anonymous Monk on Jul 17, 2016 at 21:11 UTC | |
by frnk (Novice) on Jul 18, 2016 at 10:50 UTC | |
by Anonymous Monk on Jul 19, 2016 at 00:17 UTC |