Nov 5, 2014 12:43 PM
(This post was last modified: Nov 6, 2014 07:13 AM by The-Noob.)
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
but using the above method just wants to jump right in there with out a pass or anything, how should i get around this?
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?

