in reply to Re^4: Using Regexp Patterns as Variables
in thread Using Regexp Patterns as Variables
The test I had in mind was what you have but with:
$ENV{REQUEST_URI} = q{/Products/bt-";system('ls -l');".aspx};
I tried that too, and it also doesn't do anything. That's because all eval sees is ""/s/Products/$1"". The variable gets interpolated, but it doesn't execute the result. Given that, maybe there really isn't anything the user can do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Using Regexp Patterns as Variables
by ikegami (Patriarch) on Mar 18, 2009 at 19:45 UTC | |
by Rodster001 (Pilgrim) on Mar 18, 2009 at 20:28 UTC | |
by kyle (Abbot) on Mar 18, 2009 at 20:03 UTC | |
by ikegami (Patriarch) on Mar 18, 2009 at 21:13 UTC |