1 |
#!/usr/bin/env bash |
2 |
# Host Update |
3 |
# |
4 |
# Douglas Thrift |
5 |
# |
6 |
# $Id$ |
7 |
|
8 |
export CONTENT_LENGTH="32" |
9 |
export CONTENT_TYPE="application/x-www-form-urlencoded" |
10 |
export DOCUMENT_ROOT="D:/Apache Group/Apache2/htdocs" |
11 |
export GATEWAY_INTERFACE="CGI/1.1" |
12 |
export HTTP_CONNECTION="TE, close" |
13 |
export HTTP_HOST="douglaspc" |
14 |
export HTTP_TE="deflate,gzip;q=0.3" |
15 |
export HTTP_USER_AGENT="Host Update/1.0 (Windows NT 5.1 x86) libwww-perl/5.68" |
16 |
export QUERY_STRING="" |
17 |
export REMOTE_ADDR="169.231.20.24" |
18 |
export REMOTE_PORT="3373" |
19 |
export REQUEST_METHOD="POST" |
20 |
export REQUEST_URI="/cgi-bin/hostupdate.exe" |
21 |
export SCRIPT_FILENAME="D:/Apache Group/Apache2/cgi-bin/hostupdate.exe" |
22 |
export SCRIPT_NAME="/cgi-bin/hostupdate.exe" |
23 |
export SERVER_ADDR="128.111.182.132" |
24 |
export SERVER_ADMIN="DouglasWTh@myrealbox.com" |
25 |
export SERVER_NAME="douglaspc" |
26 |
export SERVER_PORT="80" |
27 |
export SERVER_PROTOCOL="HTTP/1.1" |
28 |
export SERVER_SIGNATURE="<address>Apache/2.0.48 (Win32) DAV/2 PHP/4.3.1 mod_python/3.0.3 Python/2.2.1 SVN/0.32.1 Server at douglaspc Port 80</address>\n" |
29 |
export SERVER_SOFTWARE="Apache/2.0.48 (Win32) DAV/2 PHP/4.3.1 mod_python/3.0.3 Python/2.2.1 SVN/0.32.1" |
30 |
|
31 |
echo 'host=douglaspc.douglasthrift.net' | ./hostupdate.cgi |