Advertisement
Guest User

Untitled

a guest
Jul 21st, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. Imports System.Net
  2. Imports System.Management
  3.  
  4.  
  5. Public Class Form1
  6. Function GetHDSerial() As String
  7. Dim strHDSerial As String = String.Empty
  8. Dim index As Integer = 0
  9. Dim Data As String
  10. Dim query As New SelectQuery("Win32_DiskDrive")
  11. Dim search As New ManagementObjectSearcher(query)
  12. Dim info As ManagementObject
  13. Try
  14. For Each info In search.Get()
  15. Data = info("SerialNumber")
  16. If Data.Contains(" ") Then
  17. Return Data.Replace(" ", "")
  18. Else
  19. Return Data
  20. End If
  21. Next
  22. Catch ex As Exception
  23. strHDSerial = "Error67"
  24. End Try
  25. End Function
  26.  
  27. Dim GoAcesss As New WebClient
  28. Dim LinkServidor As String = "https://steelmain.000webhostapp.com/"
  29. Public DiasVIP As String
  30. Public HDVIP As String
  31. Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  32. Dim Resposta As String =
  33. GoAcesss.DownloadString(LinkServidor & "Seila.php?user=" &
  34. TextBox1.Text & "&pass=" & TextBox2.Text & "&hdi=" & AES_Encrypt(GetHDSerial(), 338))
  35. Label1.Text = Resposta
  36. If Resposta.Contains("OK") Then
  37. Dim Parte As Array
  38. Parte = Resposta.Split("|")
  39. If AES_Encrypt(GetHDSerial(), 338) = Parte(1).ToString.Replace(" ", "+") Then
  40. DiasVIP = Parte(2)
  41. HDVIP = Parte(1)
  42. Me.Hide()
  43. Liberado.ShowDialog()
  44. Else
  45. MsgBox("Esse PC não é o cadastrado na conta!")
  46. End If
  47. ElseIf Resposta.Contains("Acabou") Then
  48. MsgBox("Olá, infelizmente seus dias de vip acabaram!")
  49. ElseIf Resposta.Contains("Nao Cadastrado") Then
  50. MsgBox("Dados invalidos, ou usuario não cadastrado.")
  51. End If
  52. End Sub
  53.  
  54. Private Sub TextBox2_TextChanged(sender As Object, e As EventArgs) Handles TextBox2.TextChanged
  55.  
  56. End Sub
  57. Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  58. Label2.Text = "Invictus$DontCry"
  59.  
  60. End Sub
  61. Private Sub Timer2_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
  62. Label2.ForeColor = Color.Black
  63. Timer1.Stop()
  64. Timer2.Start()
  65. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement