blob: 7e3909257e0b051f207bba348bc7de0794186847 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/bin/bash
OGLOGSESSION=${OGLOGSESSION:-"/tmp/session.log"}
echo "Content-type: text/html"
echo ""
echo "<html><head>"
echo " <meta charset='utf-8'>"
echo " <meta http-equiv='Refresh' content='5,URL=./LogSession.sh'>"
echo " <title>Bash as CGI</title>"
echo "<style type='text/css'>"
echo "<!--"
echo "TEXTAREA {"
echo "background-color: navy;"
echo "border: black 2px solid;"
echo "color: white;"
echo "font-family: arial, verdana, ms sans serif;"
echo "font-size: 8pt;"
echo "font-weight: normal"
echo "} "
echo "-->"
echo "</style>"
echo "</head><body>"
echo "<TEXTAREA NAME='contenido' ROWS='115' COLS='175' >"
uniq $OGLOGSESSION
echo "</TEXTAREA>"
echo "</body></html>"
|