Hi guys, many months ago I made a SQL Injection Finder, today I want to share you how to make it on
VB.NET
Add a textbox and a button: 1 textbox where the user will be able to put the link; 1 button to check if the link is vulnerable
Before "Public Class Form1" you need to import this namespaces: System.Net, so:
Under the button code put this
Code:
Function Check_SQL_Injection(ByVal daControllare As String)
Dim SQLi As String
Try
SQLi = New WebClient().DownloadString(daControllare + "'")
If SQLi.Contains("error") And SQLi.Contains("in your SQL syntax") Then
MsgBox("Website vulnerable", vbInformation, "Information")
Else
MsgBox("Website not vulnerable!", vbInformation, "Information")
End If
Catch
MsgBox("Website not vulnerable!", vbInformation, "Information")
End Try
Return daControllare
End Function
On the button code put this
Check_SQL_Injection(TextBox1.Text)
Done.
http://gyazo.com/fa94066a8bc9fdd5b070112a30760e65
Don't forget to press thanks!