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

Laszlo Nagy gandalf at shopzeus.com
Thu Nov 15 14:24:27 CET 2007


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




More information about the Python-list mailing list