473,394 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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

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
3 1101
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
by: Erik Johnson | last post by:
This is somewhat a NEWBIE question... My company maintains a small RDBS driven website. We currently generate HTML using PHP. I've hacked a bit in Python, and generally think it is a rather...
34
by: Erik Johnson | last post by:
This is somewhat a NEWBIE question... My company maintains a small RDBS driven website. We currently generate HTML using PHP. I've hacked a bit in Python, and generally think it is a rather...
0
by: jeddahbioc | last post by:
I am new to python. I wrote my own text script and the programm from somebody else. This is my script followed by the incomplete putput( i need help in this) filepath = ./phd/top500H...
0
by: Frank | last post by:
Hi, I use rpy to plot functions and have the following problem. When I execute the following code line by line (start python and then execute line by line) the resulting figure looks as it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.