Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Path Traversal Vulnerability

by Rishi2Monk (Novice)
on Dec 27, 2022 at 08:51 UTC ( [id://11149105]=note: print w/replies, xml ) Need Help??


in reply to Re: Path Traversal Vulnerability
in thread Path Traversal Vulnerability

Thanks for your quick reply. Unfortunately, my current perl does not support either IPC::Run or IPC::Run3 and I could not install it as it needs access permissions. Can you please kindly let me know, if there is way to solve with open() or system()?

Replies are listed 'Best First'.
Re^3: Path Traversal Vulnerability
by Corion (Patriarch) on Dec 27, 2022 at 08:54 UTC
Re^3: Path Traversal Vulnerability
by haukex (Archbishop) on Dec 27, 2022 at 09:00 UTC

    In addition to what Corion said, I already answered that question. In the case of the find, File::Find is a core module. And in the case of the Perl script, you can modify it so that it is directly callable from your Perl script, or at the very least, you can modify it so that it supports input and output via files (if it doesn't already), that is very easy to do in Perl, then you can call it with a multi-argument system as I describe in the node I linked to.

    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-25 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found