Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "content-type: text/html
- <html>
- <head> <meta charset='utf-8' /> <title> CGI script </title> </head>
- <body>
- <h1> Algumas informações sobre a máquina que o CGI está rodando:</h1>
- <h4> uptime </h4>
- <pre>$(uptime)</pre>
- <h4>uname</h4>
- <pre>$(uname -a)</pre>
- <h4>/proc/cpuinfo</h4>
- <pre>$(cat /proc/cpuinfo)</pre>
- </body>
- </html>"
Add Comment
Please, Sign In to add comment