?
Solved

perl program on cgi bin

Posted on 1997-11-17
2
Medium Priority
?
371 Views
Last Modified: 2013-12-25
how can i read a perl program that is already on a cgi bin in another server
0
Comment
Question by:rtt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
twexperts earned 300 total points
ID: 1831274
If your looking to run the script:
Quite simply you can just call it with the url to it
eg: www.whatevercompany.com/cgi-bin/script.cgi
However there are two things which you should do:

1) Verify with the owner/maintainer that it is ok with them that you use the script/resource (not everyone does this).
2) Know what the script is expecting as input, eg, what values correspond to what named input variables.

You can find out the correct usage of the scipt by viewing the html source that calls it, do this in your browser by clicking on view,and then source, when on the page that calls the cgi program.

or

If your only looking to take a look at the perl souce, then you could try acessing the cgi-bin without any filename, if this brings up a directory structure, then your in business, and you can download, or view the actual scripts themselves. Otherwise you'll probably have to ask the owner for it. A lot of sites have programs which call the cgi program securely, so that no-one can get in and edit them for their own needs, such as outputting the passwords file.

I hope this helps,
Robin (twexperts)
0
 
LVL 1

Author Comment

by:rtt
ID: 1831275
is there any other way?
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question