Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[Resolved] - Getting info from "Inspect Element"

Hey guys.

So i am trying to grab specific things from a site that is protected by a user and password, now normally i use the web browser feature when handling sites in vb.net but i am not too sure how to go about this problem.

Currently i have
Code
Using wc As New WebClient
      html = wc.DownloadString("https://sitename.com/admin/products")
      End Using

      Dim regx As New Regex("name=([\w+?\.\w+])+([a-zA-Z0-9\~\!\@\#\$\%\^\&\*\(\)_\-\=\+\\\/\?\.\:\;\,]*)?", RegexOptions.IgnoreCase)
      Dim matches As MatchCollection = regx.Matches(html)

but using the above method just wants to jump right in there with out a pass or anything, how should i get around this?
I would login to the site using webrequest and the information you get when you inspect element and login.

Store the cookies in a cookiecontainer.

Navigate the product site with webrequest(using the captured cookies)
This problem has be taken and slapped around like a wet wish in a bears paws!

Massive thanks to idb. for helping me out and teaching me a few things, this guy is a genius!!


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by roosiinfidel09Aug 19, 2021 07:32 AM 1 173 Aug 19, 2021 07:32 AM
Last Post: john__john
[.NET] by requiredhqMar 15, 2021 07:31 AM 2 179 Mar 15, 2021 07:31 AM
Last Post: The
[Python] by roosiinfidel09May 31, 2020 08:58 AM 9 316 May 31, 2020 08:58 AM
Last Post: synchronizing