Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: How to put email addresses in a variable and send mails via mailx command

by AnomalousMonk (Archbishop)
on Dec 24, 2015 at 22:42 UTC ( [id://1151139]=note: print w/replies, xml ) Need Help??


in reply to Re^3: How to put email addresses in a variable and send mails via mailx command
in thread How to put email addresses in a variable and send mails via mailx command

both versions are vulnerable to shell interpolation

How so? Can you please give an example?


Give a man a fish:  <%-{-{-{-<

  • Comment on Re^4: How to put email addresses in a variable and send mails via mailx command
  • Download Code

Replies are listed 'Best First'.
Re^5: How to put email addresses in a variable and send mails via mailx command
by Anonymous Monk on Dec 24, 2015 at 22:50 UTC
      See also open which gives an example as  open(FOO, "|cat -n | expand -4 | lpr")

      perl isn't interpreting all those pipes, just the first one, the rest are given to the shell

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1151139]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-24 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found