Here is an example of why it is unsafe:
$ perl -MO=Deparse -ce 'BEGIN {print `date`}' Sat Feb 6 11:58:31 MST 2016 sub BEGIN { print `date`; } -e syntax OK
Run that one-liner, and we just executed a system command (date). We could just as easily have executed something malicious.
Dave
In reply to Re: Why is perl -MO=Deparse -f obf.txt unsafe?
by davido
in thread Why is perl -MO=Deparse -f obf.txt unsafe?
by vpelss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |