3 Replies - 400 Views - Last Post: 16 January 2013 - 08:17 AM Rate Topic: -----

#1 rob2k9  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 7
  • Joined: 15-January 13

vb.net get link url on click [webbrowser]

Posted 15 January 2013 - 10:59 AM

Hi so i have created a http verb tampering browser it uses httpweb requests to load the site and then pu the sites html code into a string and then place that html into the webbrowser.documentText

now if anyone has ever done this you will know all you are doing is downloading the pages html to a string on your local computer and because of this images and links are not shown because it cuts the url such as http://site.com from all urls

well i have used regex to add that back to all image and link tags

but the thing is wen i do this i then need to get the url of any clicked link of the page and put it into a text box with out the webbrowser navigating

dose anyone know of a way to do this ?

Is This A Good Question/Topic? 0
  • +

Replies To: vb.net get link url on click [webbrowser]

#2 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5529
  • View blog
  • Posts: 11,838
  • Joined: 02-June 10

Re: vb.net get link url on click [webbrowser]

Posted 16 January 2013 - 08:04 AM

I admit that web programming is not my area - but to me it sounds suspicious. I have to wonder why you are taking all the links out just to put them back in. Sounds like you are trying to either intercept data or re-route users (perhaps to look-a-like sites).
Was This Post Helpful? 0
  • +
  • -

#3 rob2k9  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 7
  • Joined: 15-January 13

Re: vb.net get link url on click [webbrowser]

Posted 16 January 2013 - 08:13 AM

View PosttlhIn`toq, on 16 January 2013 - 08:04 AM, said:

I admit that web programming is not my area - but to me it sounds suspicious. I have to wonder why you are taking all the links out just to put them back in. Sounds like you are trying to either intercept data or re-route users (perhaps to look-a-like sites).



you should read my post again then because you obv never did properly the first time

i am not removing links that happens automaticly wen you grab a web page using httpwebrequests

it takes all links in a page like

<a href="http://site.com/images/1.jpg"> and makes them <a href="/images/1.jpg">

this means wen you load the page in a browser all images and links are broken

i use regex to edit the links back to the full url of <a href="http://site.com/images/1.jpg">

but wen a user clicks a link it loads that page as normal witch is what i dont want i need it to load the link using my http verb tampering code

if you dont know what http verb tampering is i suggest you google it
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9206
  • View blog
  • Posts: 34,588
  • Joined: 12-June 08

Re: vb.net get link url on click [webbrowser]

Posted 16 January 2013 - 08:17 AM

Just a heads up - your for-exploit browser you are building is not something we can support here and I am going to close the topic. As such please do not persist in asking questions about the malicious app here. If you have questions about this shoot me a pm.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1