perhaps if I were using the 'e' flag it would be a problem.
You're using string eval, its a problem right now, just because I didn't provide working exploit on purpose
That to me is like saying, "go to your terminal, and type ...
Imagine some user telling you , hey, I can't get your program to work, here is what I tried, and then you enter what the user gives you, and you execute rm -rf
Imagine forgetting how your program works, and accidentally getting rm -rf to execute
You do absolutely nothing to ensure that can't happen.
The cheapest option is to use taint (-T).
If this is just a program for personal use, why wouldn't you simply use perl -E ... ?
|