2 ms·
Back when we were writing websites in Perl (cough, 20 years ago), we also had taint mode on everywhere. It was fairly unobtrusive, and likely stopped a few att
by rwmj 4y ago
Back when we were writing websites in Perl (cough, 20 years ago), we also had taint mode on everywhere. It was fairly unobtrusive, and likely stopped a few attacks like:
http://example.com/upload.pl?file=../../../../etc/passwd http://example.com/upload.pl?file=../../../../etc/passwd
The main thing you had to remember was the parameters (all tainted of course) had to be filtered through a regular expression before you could use them.