Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: cpan module to do stuff remotely

by dasgar (Priest)
on Jun 05, 2012 at 21:36 UTC ( [id://974577]=note: print w/replies, xml ) Need Help??


in reply to cpan module to do stuff remotely

Don't know if such a module exists or not, but what you're wanting to do sounds a bit dangerous to me. For example, if the following happens to show up in your text file: rm /* -rf

I'm sure you can find a combination of modules to help you achieve what you're wanting to do, but I personally would caution you to be sure to add one more requirement: sanitize the commands before running them to avoid running harmful commands such as the above example.

Of course, I guess there's a possibility that I might not know what I'm talking about here and may have an unrealistic fear of harmful commands being run in your described scenario. Perhaps this isn't related to Little Bobby Tables.

Replies are listed 'Best First'.
Re^2: cpan module to do stuff remotely
by Steve_BZ (Chaplain) on Jun 06, 2012 at 01:13 UTC

    Nice link. Actually, no one else apart from the code maintainer has access to this. Bobby Tables won't make it onto the list.

    Regards

    Steve

      You hope that no one else apart from the code maintainer has access to this. If a miscreant gets into your script distribution point how many remote systems would it trash?

      I would not take the risk. Sign the data with a key not present on the distribution platform and have the remote systems verify that signature, at the very least. Plenty of other steps you could take in addition.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-23 18:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found