dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
1871
share rss forum feed


aefstoggaflm
Open Source Fan
Premium
join:2002-03-04
Bethlehem, PA
kudos:7
Reviews:
·PenTeleData
·Verizon Online DSL

Download perl / cgi scripts from web site

While I know it is possible to download the HTML, the pictures, zip files, text files from a website - I was wondering if and how it is possible to download the code for the cgi scripts without them having to provide the source code for their scripts.

Thank you
--
Please use the "yellow (IM) envelope" to contact me and please leave the URL intact.


cowboyro
Premium
join:2000-10-11
Shelton, CT
They are stored in a folder that doesn't get interpreted or they are stored in a plain text format and just spit out with the -say- .cgi extension.
Ex send headers:
Content-Type: application/text'
Content-disposition: filename="script.cgi"


aefstoggaflm
Open Source Fan
Premium
join:2002-03-04
Bethlehem, PA
kudos:7
Reviews:
·PenTeleData
·Verizon Online DSL
said by cowboyro:

They are stored in a folder that doesn't get interpreted or they are stored in a plain text format and just spit out with the -say- .cgi extension.
Ex send headers:
Content-Type: application/text'
Content-disposition: filename="script.cgi"

So you are saying that it is not possible?

Thank you
--
Please use the "yellow (IM) envelope" to contact me and please leave the URL intact.


cowboyro
Premium
join:2000-10-11
Shelton, CT
said by aefstoggaflm:

So you are saying that it is not possible?

No, I gave 2 examples of how it CAN be done...


aefstoggaflm
Open Source Fan
Premium
join:2002-03-04
Bethlehem, PA
kudos:7
Reviews:
·PenTeleData
·Verizon Online DSL
said by cowboyro:

said by aefstoggaflm:

So you are saying that it is not possible?

No, I gave 2 examples of how it CAN be done...

Ok.

Let's say that I am using HTTrack Website Copier - Open Source offline browser, how would that be done?

Thanks
--
Please use the "yellow (IM) envelope" to contact me and please leave the URL intact.


cowboyro
Premium
join:2000-10-11
Shelton, CT

2 recommendations

reply to aefstoggaflm
Ok, I misunderstood the question - I thought it was about how can a script file be served (on purpose) without being actually interpreted.
Scripts - no, you cannot download (or should not be able to if the server is properly configured). If you can then the admin needs to be fired on the spot.


Rob
In Deo speramus.
Premium
join:2001-08-25
Kendall, FL
kudos:2
reply to aefstoggaflm
It's not possible.