Advertisement
Guest User

Untitled

a guest
Dec 14th, 2016
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. If txtUsernames.Text = "" Or txtPasswords.Text = "" Then
  2. MsgBox("Please fill in all fields.")
  3. End If
  4. Dim wc = New WebClient()
  5. wc.Headers.Add(HttpRequestHeader.UserAgent, "Stage3000Loader")
  6. wc.Proxy = Nothing
  7. Dim preurl = "http://185.4.149.84/vpn/api/api.php?user=" + txtUsernames.Text + "&pass=" + txtPasswords.Text + "&a=login"
  8. Dim response = wc.DownloadString(preurl)
  9. 'If response <> "1|0|0" Then
  10. ' 'answer = response
  11. ' MessageBox.Show("Wrong Username/Password Combination", "Error")
  12. ' Return
  13. 'Else
  14. ' Me.Hide()
  15. ' 'Dim Form1 As New Form
  16. ' Form1.Show()
  17. ' Return
  18. 'End If
  19.  
  20. If response <> "0|0|0" Then
  21.  
  22. Else
  23. MessageBox.Show("Wrong Username/Password Combination", "Error")
  24. End If
  25.  
  26. If response <> "0|1|0" Then
  27.  
  28. Else
  29. MessageBox.Show("User has been banned. Please check the site to see why you've been banned.", "Error")
  30. Me.Close()
  31. End If
  32.  
  33. If response <> "0|1|1" Then
  34.  
  35. Else
  36. MessageBox.Show("User has been banned. Please check the site to see why you've been banned.", "Error")
  37. Me.Close()
  38. End If
  39.  
  40. If response <> "1|0|0" Then
  41.  
  42. Else
  43. Me.Hide()
  44. Form1.Show()
  45. Return
  46. End If
  47.  
  48. If response <> "0|0|1" Then
  49.  
  50. Else
  51. MessageBox.Show("VPN account Has Expired.", "Error")
  52. Me.Close()
  53. End If
  54.  
  55. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement