NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Path Attacks? (Score:1)
Davorg knocked up a script that contained:
What happens when I send you an attachment with a filename of ../../../../../home/davorg/.ssh/authorized_keys, or perhaps more innocently .htaccess?
This is an excellent use for File::Basename, and Aristotle's previous sysopen() involving O_EXCL|O_CREAT.
No prizes for guessing which course [perltraining.com.au] I've been recently reviewing.
Reply to This
Re:Path Attacks? (Score:2)
It's also been pointed out that an attachment called