Advertisement
Guest User

Untitled

a guest
May 1st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. Imports System.Net
  2.  
  3. Public Class form2
  4. Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles txtBoxUsername.TextChanged
  5.  
  6. End Sub
  7.  
  8. Private Sub TextBox2_TextChanged(sender As Object, e As EventArgs) Handles txtBoxPassword.TextChanged
  9.  
  10. End Sub
  11.  
  12. Private Sub Button1_Click(sender As Object, e As EventArgs) Handles btnLogin.Click
  13. Dim user As String
  14. user = txtBoxUsername.Text
  15. Dim pass As String
  16. pass = txtBoxPassword.Text
  17. Dim final As String
  18. final = user + ":" + pass
  19. Dim ban As String
  20. ban = user + ":" + pass
  21. Dim webClient As New WebClient
  22.  
  23. If webClient.DownloadString("https://pastebin.com/raw/KVrn6Qj0").Contains(ban) = True Then
  24. MessageBox.Show("U got banned fuck you lol", "Get fucked loser")
  25. Application.Exit()
  26. End If
  27.  
  28. If webClient.DownloadString("https://pastebin.com/raw/2ku1PkAz").Contains(final) = False Then
  29. MessageBox.Show("Username or password is wrong", "Error")
  30. End If
  31.  
  32. If webClient.DownloadString("https://pastebin.com/raw/2ku1PkAz").Contains(final) = True Then
  33. MyBase.Hide()
  34. MsgBox("Logged in!", MsgBoxStyle.OkOnly, "Welcome!")
  35. Dim form_0
  36. form_0 = Form1
  37. form_0.Show()
  38. End If
  39. End Sub
  40.  
  41. Private Sub Memership_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  42.  
  43. End Sub
  44. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement