Herb191 Posted July 16, 2012 Share Posted July 16, 2012 This is what I have been trying: #include <IE.au3> $oIE = _IECreate("http://google.com") _IELinkClickByIndex($oIE, 4) $Obj = _IEDocGetObj($oIE) $referrer = $Obj.referrer ConsoleWrite("The referrer URL is " & $referrer & @CRLF) ;this does not work ;$Obj.SetRequestHeader("referrer", "http://yahoo.com") ;or this ;$Obj.referrer = "http://yahoo.com" ;$referrer = $Obj.referrer ;ConsoleWrite("The referrer URL is now " & $referrer & @CRLF) Link to comment Share on other sites More sharing options...
Mithrandir Posted July 16, 2012 Share Posted July 16, 2012 Maybe this $referrer = _IEPropertyGet($oIE, "refferer") Help with SOAP message!! Link to comment Share on other sites More sharing options...
Herb191 Posted July 16, 2012 Author Share Posted July 16, 2012 Maybe this $referrer = _IEPropertyGet($oIE, "refferer") No that won't set the referrer URL there is nothing in _IEPropertyGet or _IEPropertyset that will set the referrer URL (as far as I know). Link to comment Share on other sites More sharing options...
JohnOne Posted July 16, 2012 Share Posted July 16, 2012 There is in _IEPropertyGet, that is plain to see in the help file.But I imagine it will be a little more difficult to try to spoof a referrer, which I think would bedone via HTTP AutoIt Absolute Beginners  Require a serial  Pause Script  Video Tutorials by Morthawt  ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Herb191 Posted July 16, 2012 Author Share Posted July 16, 2012 which I think would be done via HTTP Yep, I have done this with the WinHttp UDF but for what I am doing I also need some of the options that only the IE UDF can provide. Things like interacting with Javascript. I can't image that their is not a way of tricking IE into do the same thing. Link to comment Share on other sites More sharing options...
DicatoroftheUSA Posted July 16, 2012 Share Posted July 16, 2012 I hope you are just testing the security of your website, are there any servers that don't detect that exploit anymore? Statism is violence, Taxation is theft. Autoit Wiki Link to comment Share on other sites More sharing options...
Mithrandir Posted July 17, 2012 Share Posted July 17, 2012 I hope you are just testing the security of your website, are there any servers that don't detect that exploit anymore?What exploit are you referring to? If it's getting the referrer I don't see how can it pose a security risk. Help with SOAP message!! Link to comment Share on other sites More sharing options...
DicatoroftheUSA Posted July 17, 2012 Share Posted July 17, 2012 It used to be not uncommon for websites to use a type of synergistic log in, where you could log in to one site or sub-domain of a site, and then through referrer it would indicate your log in status, if you knew the version of web server, you could assume they used the defaults and spoof it into thinking that you were already logged in. I don't think any web servers do it that way anymore Statism is violence, Taxation is theft. Autoit Wiki 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