autouser2011 Posted May 29, 2011 Share Posted May 29, 2011 【EXAMPLE】 Cookie: .ASPXANONYMOUS=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; rtime=XXXXXXXX; ltime=XXXXXX; .ASPXAUTH=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; mid=XXX; Hm_lpvt_XXXXXXXXXXXXXXXX=XXXXXXXXXXXXXX; Hm_lvt_XXXXXXXXXXXXXXXXXXXXXX=XXXXXXXXXXXXXXXXXXXXXXX Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 30, 2011 Share Posted May 30, 2011 You can read the cookies from the document object like this: #include <IE.au3> #include <Array.au3> $oIE = _IECreate("http://www.ubuntu.com") $oDoc = _IEDocGetObj($oIE) $sCookies = $oDoc.cookie $aCookies = StringSplit($sCookies, ";") _ArrayDisplay($aCookies, "Cookies") Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
autouser2011 Posted May 31, 2011 Author Share Posted May 31, 2011 You can read the cookies from the document object like this: #include <IE.au3> #include <Array.au3> $oIE = _IECreate("http://www.ubuntu.com") $oDoc = _IEDocGetObj($oIE) $sCookies = $oDoc.cookie $aCookies = StringSplit($sCookies, ";") _ArrayDisplay($aCookies, "Cookies") Thx ,but ... it haven't ".ASPXANONYMOUS=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX;" and ".ASPXAUTH=XXXXXXXXXXXXXXXXXXXXXX" Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 31, 2011 Share Posted May 31, 2011 Well, are those session cookies related to a particular site? Did you try it with your target URL instead of "http://www.ubuntu.com"? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
autouser2011 Posted June 10, 2011 Author Share Posted June 10, 2011 I try ,but ... it haven't ".ASPXANONYMOUS=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX;" and ".ASPXAUTH=XXXXXXXXXXXXXXXXXXXXXX" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now