[VB] How do i click on this shit?

06/07/2014 21:20 Hybrid~#1
How do i click on the "Get my code" button?
link: [Only registered and activated users can see links. Click Here To Register...]
06/08/2014 12:00 TeamFAiTh#2
You can download this site into a string and read out the key via RegEx or Split.

[Only registered and activated users can see links. Click Here To Register...]



Greets
iL0v3SuN
06/08/2014 12:14 xXGesuchterXx#3
NRHMPWLHPL4L

[Only registered and activated users can see links. Click Here To Register...]
06/08/2014 15:39 Hybrid~#4
Quote:
Originally Posted by TeamFAiTh View Post
You can download this site into a string and read out the key via RegEx or Split.

[Only registered and activated users can see links. Click Here To Register...]



Greets
iL0v3SuN
thanks, just a question, how did you find the "/code" ?
i mean, when u click on the link, a script starts, it doesnt redirect you to "http://www.ign.com/private/prime/promo/deus-ex-free/code"
06/08/2014 17:30 Mostey#5
Quote:
Originally Posted by TeamFAiTh View Post
read out the key via RegEx or Split.
While this is possible but quite messy, another (more) readable and maintainable way is parsing the document using a HTML/XML/XHTML parser.

Quote:
Originally Posted by Hybrid~ View Post
thanks, just a question, how did you find the "/code" ?
i mean, when u click on the link, a script starts, it doesnt redirect you to "http://www.ign.com/private/prime/promo/deus-ex-free/code"
Then simply request the actual target? ;O
06/08/2014 22:24 TeamFAiTh#6
Quote:
Originally Posted by Hybrid~ View Post
thanks, just a question, how did you find the "/code" ?
Your can use the Firefox Addon "HTTPLiveHeader", Fiddler2 or Wireshark ;)