in reply to Saving the first frame of any image
Does not remove all the junk in your filename (you should be using taint, perldoc perlsec). This still has potential for abuse. Adding something like# remove all the junk in our filename $filename =~ s/^.*[\\\/]//;
after that substitution ought to remedy that.$filename = pack 'H*', $filename;
|
|---|