autouser2011 Posted May 29, 2011 Posted May 29, 2011 【EXAMPLE】 Cookie: .ASPXANONYMOUS=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; rtime=XXXXXXXX; ltime=XXXXXX; .ASPXAUTH=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; mid=XXX; Hm_lpvt_XXXXXXXXXXXXXXXX=XXXXXXXXXXXXXX; Hm_lvt_XXXXXXXXXXXXXXXXXXXXXX=XXXXXXXXXXXXXXXXXXXXXXX
PsaltyDS Posted May 30, 2011 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
autouser2011 Posted May 31, 2011 Author 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"
PsaltyDS Posted May 31, 2011 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
autouser2011 Posted June 10, 2011 Author Posted June 10, 2011 I try ,but ... it haven't ".ASPXANONYMOUS=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX;" and ".ASPXAUTH=XXXXXXXXXXXXXXXXXXXXXX"
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