#!/usr/bin/perl -wT use strict; open (DATA, "<foo.txt") || die; while (my $dataline = <DATA>) { $dataline =~ /(print '[^']*';)/ || next; eval $1; print "\n"; }
In reply to Re: Laundering tainted 'eval'
by dsheroh
in thread Laundering tainted 'eval'
by bodhidharma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |