in reply to Re^3: Issuing a DELETE statement with DBI
in thread Issuing a DELETE statement with DBI
Where are you getting the scalar from? I used the following to test my statement:
perl -MCGI=param -le "print for param('title')" ?title=foo;title=bar foo bar
To make this into a "really working" attack by injecting keys and values the author didn't foresee, I used this program:
use strict; use Data::Dumper; use CGI; my $q = CGI->new('?title=foo;title=bar;title=injected_key;title=inject +ed_value'); my $query = { title => $q->param('title') }; print Dumper $query; __END__ # Outputs: $VAR1 = { 'injected_key' => 'injected_value', 'title' => 'bar' };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Issuing a DELETE statement with DBI
by kwaping (Priest) on Sep 01, 2006 at 16:59 UTC | |
by eric256 (Parson) on Sep 01, 2006 at 17:51 UTC |