Discord Server Red Security Twitter Donation to Red Security Red Security Youtube Channel Red Security Tumblr Profile
Windscribe
Login or Register to Hide ads and Accessing all features on the forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
vb.net image url grabber
#1
note does not work on images.google.com
have not tested on facebook images

whats needed
2 textboxes
1 button 
1 webbrowser


small code for app source





Code:
Public Class Form1
   
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Me.Location = New Point(924, 405)
    End Sub

  
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        WebBrowser1.Navigate(TextBox1.Text)
    End Sub

    Private Sub WebBrowser1_DocumentCompleted(sender As Object, e As WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
        Dim PageElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("img")

        For Each CurElement As HtmlElement In PageElements

            TextBox2.Text = TextBox2.Text & CurElement.GetAttribute("src") & Environment.NewLine

        Next
    End Sub
End Class


Attached Files
.zip   imageurlgrabber.zip (Size: 74.62 KB / Downloads: 13)
[img=0x0]https://hackmyass.files.wordpress.com/2011/01/hackers.jpg[/img]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  virus image browser download viruss 2 1,056 06-06-2018, 10:03 AM
Last Post: Mr.Kurd
  image hasher vb.net viruss 1 1,067 04-05-2018, 04:43 PM
Last Post: Mr.Kurd



Users browsing this thread: 1 Guest(s)