By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,986 Members | 1,568 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,986 IT Pros & Developers. It's quick & easy.

how to figure out if python was used as a cgi script

P: n/a
ce
hi,

is there a way to figure out which scripting language was used in a
cgi. I used to watch extensions (i.e. py, pl, asp or php) nowadays i
hardly see any extensions and really it is hard to find out anything
from the generated HTML or even the HTML being sent out through the
FORM tag .. is there another way to find out which scripting language
was used in website!!!

ce
--------------------------------
Sorry I couldn't resist
--------------------------------
Nov 15 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
ce wrote:
hi,

is there a way to figure out which scripting language was used in a
cgi. I used to watch extensions (i.e. py, pl, asp or php) nowadays i
hardly see any extensions and really it is hard to find out anything
from the generated HTML or even the HTML being sent out through the
FORM tag .. is there another way to find out which scripting language
was used in website!!!
No.

Diez
Nov 15 '07 #2

P: n/a
ce wrote:
hi,

is there a way to figure out which scripting language was used in a
cgi. I used to watch extensions (i.e. py, pl, asp or php) nowadays i
hardly see any extensions and really it is hard to find out anything
from the generated HTML or even the HTML being sent out through the
FORM tag .. is there another way to find out which scripting language
was used in website!!!
You can of course examine the HTTP headers but for example, one can
easily hide this information:

ServerSignature Off
ServerTokens Prod

Production sites usually do this because it is easier to attack the site if you know the platform, used extensions etc.
The best thing you can do is to call the maintainer of the site and ask. :-)

Regards,

Laszlo

Nov 15 '07 #3

P: n/a
ce wrote:
is there a way to figure out which scripting language was used in
a cgi. I used to watch extensions (i.e. py, pl, asp or php)
I'd say that ASP and PHP are rather rarely used for CGI scripts.
Also, extensions are essentially meaningless.
nowadays i hardly see any extensions and really it is hard to find
out anything from the generated HTML or even the HTML being sent
out through the FORM tag .. is there another way to find out which
scripting language was used in website!!!
Since this is a Python NG I suspect you have something you'd like to
achieve using Python regarding this topic. What is it?
--------------------------------
Sorry I couldn't resist
--------------------------------
?

Regards,
Björn

--
BOFH excuse #413:

Cow-tippers tipped a cow onto the server.

Nov 15 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.