Een CGI-script is de beste optie.
Hier is de typische volgorde van de stappen in een CGI-script
Here's the typical sequence of steps for a CGI script
De applicatie bestaat uit twee opdrachtregelprogramma's, een verzamelprogramma en een CGI-script met de naam monitorix.cgi.
The application is comprised of two command-line programs, a collector and a CGI script called monitorix.cgi.
Corante heeft een zeer kleine installatie grootte, met veel van de functionaliteit toegevoegd met behulp van plugins, en is een CGI-script.
Coranto has a very small install size, with much of the functionality added through plugins, and is a CGI script.
Maar stel dat je niet alleen deze normale systeeminformatie aan het CGI-script overdraagt, maar het script ook instrueert om opdrachten op systeemniveau uit te voeren.
But just imagine that you could not only pass this normal system information to the CGI script, but could also tell the script to execute system level commands.
Ongeldige opties voor het CGI-script
Invalid options to CGI script
Dit zou betekenen dat het CGI-script - zonder de aanmeldgegevens voor de webserver te hebben - je omgevingsvariabelen leest zodra je het script activeert. Als deze omgevingsvariabelen de exploit-string bevatten, voert het script ook de opdracht uit die je hebt opgegeven.
This would mean that - without having any credentials to the webserver - as soon as you access the CGI script it would read your environment variables; and if these environment variables contain the exploit string, the script would also execute the command that you have specified.
U kunt de waarde voor de time-out instellen of wijzigen. Deze waarde geeft aan hoe lang een CGI-script kan worden uitgevoerd en hoe lang op een resultaatwaarde wordt gewacht voordat de bewerking wordt beëindigd.
Set or change the timeout value, which is the amount of time a CGI script is given to execute and return a value before the operation is stopped.
Wanneer je een CGI-script op een webserver host, leest dit script automatisch bepaalde omgevingsvariabelen, bijvoorbeeld je IP-adres, je browserversie en informatie over het lokale systeem.
When you have a CGI script on a web server, this script automatically reads certain environment variables, for example your IP address, your browser version, and information about the local system.
De meest cache-vriendelijke manier is het gebruik van een normale IMG-tag die verwijst naar een CGI-script, dat de browser willekeurig doorverwijst naar een van de diverse afbeeldingen.
The most cache-friendly method is to use a normal IMG tag that refers to a CGI script that randomly redirects the browser to one of several images.
Dit foutbericht wordt weergegeven wanneer u probeert een CGI-script uit te voeren dat geen geldige set HTTP-headers retourneert.
You receive this error message when you try to run a CGI script that does not return a valid set of HTTP headers.
Deze fout wordt bijvoorbeeld weergegeven als u probeert een ASP-pagina te openen in een map waarvoor de machtigingen zijn ingesteld op Geen, of als u probeert een CGI-script uit te voeren in een map met de machtiging Alleen scripts.
For example, you may receive this error message if you try to access an ASP page in a directory where permissions are set to None, or you try to execute a CGI script in a directory with Scripts Only permissions.
Het maken van een CGI-script (Common Gateway Interface) is niet zo moeilijk... maar betekent dat je voorzichtig moet zijn (het voorkomen van het vollopen van de stack bijvoorbeeld die een core-dump tot gevolg heeft).
Writing a CGI script (Common Gateway Interface) is not so difficult... but implies to be careful (for instance to avoid stack overloads generating core files on the server).