Id: 397; Nick: Len; Timestamp: 2007-05-27 20:32:26; Pasted as: mIRC
Description: http://www.thesgl.com/assets/external/gather/gameid.php?gameid=0:1:3233&gametype=1 /> actually works :|
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
HTTP/1.1 400 Bad Request
Date: Sun, 27 May 2007 18:33:05 GMT
Server: Apache/2.2.0 (Fedora)
Content-Length: 301
Connection: close
Content-Type: text/html; charset=iso-8859-1
 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.2.0 (Fedora) Server at thesgl.com Port 80</address>
</body></html>
------------------------------------------------------------------
/sockopen steamid123 thesgl.com 80
on *:sockopen:steamid*:{
  sockwrite -n $sockname GET assets/external/gather/gameid.php?gameid=0:1:3233&gametype=1 HTTP/1.1
  sockwrite -n $sockname Host: thesgl.com
  sockwrite -n $sockname Connection: Keep-Alive
  sockwrite -n $sockname $crlf
}
on *:sockread:steamid*:{
  sockread -f &t
  echo -ag $bvar(&t,1-).text
}
Parsed for bracket errors and indented:
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
HTTP/1.1 400 Bad Request
Date: Sun, 27 May 2007 18:33:05 GMT
Server: Apache/2.2.0 (Fedora)
Content-Length: 301
Connection: close
Content-Type: text/html; charset=iso-8859-1
 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.2.0 (Fedora) Server at thesgl.com Port 80</address>
</body></html>
------------------------------------------------------------------
/sockopen steamid123 thesgl.com 80
on *:sockopen:steamid*:{
  sockwrite -n $sockname GET assets/external/gather/gameid.php?gameid=0:1:3233&gametype=1 HTTP/1.1
  sockwrite -n $sockname Host: thesgl.com
  sockwrite -n $sockname Connection: Keep-Alive
  sockwrite -n $sockname $crlf
}
on *:sockread:steamid*:{
  sockread -f &t
  echo -ag $bvar(&t,1-).text
}
Options: New, Download,
, mIRC Parser;
Copyright © 2006 by Zyberdog - Some rights reserved. (Browse/Disclaimer/Stats/About)