If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:CGI
BoxMatrix >> Lexicon >> Network-Protocols >> CGI | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Computer | FRITZ | I18N | Telephony | Smarthome | Internet | Protocols | Multimedia | Formats | Hardware | Software | Research |
Protocol
Protocol: | CGI | Wiki | Freetz | IPPF | whmf | AVM | Web |
Short for: | Common Gateway Interface | ||||||
Location: | Lexicon >> Network-Protocols | ||||||
Weblinks: | Wikipedia.int - Wikipedia.de - RFC-3875 | ||||||
Description: | Execute a program responding to a HTTP / HTTPS request |
Goto: FRITZ!OS - Commands - SMW-Browser
Details
CGI (Common Gateway Interface
) is a protocol used to execute a program responding to a HTTP / HTTPS request.
It is widely used by webservers to create dynamic (computed) content, mainly in conjunction with scripting languages.
However, any type of executable can be launched as a CGI, if it supports the protocol.
The protocol defines a set of environment variables which are passed to the executable.
The output of the executable is the response to the HTTP / HTTPS request. A minimalistic CGI shell script:
#!/bin/sh echo "Content-Type: text/plain" # HTTP header defining the MIME type of the content echo # empty line between HTTP header and content echo "Hello world" # content
FRITZ!OS
All pages of the Webinterface are dynamical content and use CGI, initially served by websrv and today by ctlmgr.
On each HTTP / HTTPS request the CGI-Environment is created and passed to the launched CGI command.
Commands
This is a subset of the AVM-Commands section, filtered for CGI commands:
Daily updated index of all CGI commands found scanning Firmware-Probes . Last update: 2024-11-15 05:54 GMT.
The label (avmcmd)
in the Command
column shows there are other objects in this wiki using this name.
The Mod
column shows the amount of models using the respective command. Click the column header to sort by this number.
You can hover or click a possible Link
in the Type
column to see the target of that link.
Command | Mod | Firmware | Description | Path | Size/Bytes | Type | Origin |
---|---|---|---|---|---|---|---|
captive_pic | 71 | 6.51 - 8.00 | Hotspot captive portal picture upload CGI. | /usr/www/cgi-bin, <long> | 8.2k - 14.1k, Link | Link, CGI | AVM |
capture_notimeout (avmcmd) | 149 | 1.120 - 8.00 | Packet capture CGI. | /usr/www/cgi-bin, <long> | 14.0k - 66.3k, Link | Link, CGI | AVM |
firmwarecfg | 156 | 1.63 - 8.00 | File transfer CGI for the Webinterface also callable from Shell. | /usr/www/cgi-bin, <long> | 18.5k - 98.5k, Link | Link, CGI | AVM |
luacgi (avmcmd) | 108 | 4.79 - 8.00 | Lua interpreter CGI. | /usr/www/cgi-bin, <long> | 38.1k - 77.5k, Link | Link, CGI | AVM |
luacgi_notimeout | 94 | 5.07 - 8.00 | Lua interpreter CGI, no connection timeout. | <long> | Link | Link | AVM |
nasupload_notimeout | 62 | 5.23 - 8.00 | File transfer CGI for the NAS. | /usr/www/cgi-bin, <long> | 13.9k - 25.5k, Link | Link, CGI | AVM |
rpcstreamcap_notimeout | 46 | 5.08 - 8.00 | RPC stream capture CGI. | /usr/www/cgi-bin, <long> | 9.8k - 17.8k, Link | Link, CGI | AVM |
shellinabox_launcher | 8 | 5.07 - 6.35 | CGI wrapper launching shellinaboxd from the Internet. | /sbin | 6.3k - 6.7k | Exec | AVM |
system_status | 163 | 3.14 - 8.00 | System status and modding info CGI. | /usr/bin, /usr/www/cgi-bin, <long> | 1019 - 1.2k, Link | Link, Exec | AVM |
tr064cgi | 101 | 5.01 - 8.00 | TR-064 CGI program. | /usr/www/cgi-bin, <long> | 7.0k - 17.5k, Link | Link, CGI | AVM |
webcm | 150 | 1.63 - 8.00 | CGI program realising the Webinterfave, supports SSI. | /usr/www/cgi-bin, <long> | 18.4k - 67.1k, Link | Link, CGI | AVM |
webtrace | 95 | 4.86 - 8.00 | TimeTrace CGI. | /usr/www/cgi-bin, <long> | 7.9k - 22.1k, Link | Link, CGI | AVM |
webtrace_notimeout | 95 | 5.01 - 8.00 | TimeTrace CGI, no webserver timeout. | <long> | Link | Link | AVM |
webusb | 5 | 4.85 - 4.94 | Web NAS CGI. | /usr/www/cgi-bin, <long> | 85.0k - 88.2k, Link | Link, CGI | AVM |
webusb_notimeout | 5 | 4.85 - 4.94 | Web NAS CGI, no webserver timeout. | <long> | Link | Link | AVM |
15 CGI commands |