P
Petr Janda
Hey there,
Im trying to figure out something. If I had Postfix execute a ruby
script that says
Kernel.exec "/usr/sbin/sendmail -i -f #{@sender} -- #{@recipient}"
would this be a huge security risk? to me it seems so because if you had
a specially crafted email address you could execute a different command.
How to protect against it?
Cheers,
Petr
Im trying to figure out something. If I had Postfix execute a ruby
script that says
Kernel.exec "/usr/sbin/sendmail -i -f #{@sender} -- #{@recipient}"
would this be a huge security risk? to me it seems so because if you had
a specially crafted email address you could execute a different command.
How to protect against it?
Cheers,
Petr