Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
NBF v.2 - Form1.frm

Form1.frm

Caricato da:
Scarica il programma completo

  1. Dim Password As Long
  2.  
  3. Private Sub CmdAccedi_Click()
  4. MsgBox "La password è: " & txtNumero.Text & _
  5. vbCr & "Grazie per avere usato software creati da Kr1pto"
  6. End Sub
  7. Private Sub CmdEsci_Click()
  8. If MsgBox("Sei sicuro di voler uscire?", vbYesNo) = vbYes Then
  9. End
  10. End If
  11. End Sub
  12.  
  13. Private Sub CmdFerma_Click()
  14. Timer1.Enabled = False
  15. CmdFerma.Enabled = False
  16. CmdEsci.Enabled = True
  17. CmdTrova.Enabled = True
  18. txtUsername.Enabled = True
  19. txtPassword.Enabled = True
  20. txtNumero.Text = "0"
  21. Text1.Locked = False
  22. txtNumero.Locked = False
  23. Timer3.Enabled = True
  24. Label4.Caption = "Attacco interrotto."
  25. End Sub
  26.  
  27. Private Sub CmdTrova_Click()
  28. Label4.Caption = "Attacco in corso..."
  29. Label6.Caption = ""
  30. Timer2.Enabled = False
  31. Timer1.Enabled = True
  32. CmdFerma.Enabled = True
  33. CmdTrova.Enabled = False
  34. txtUsername.Enabled = False
  35. txtPassword.Enabled = False
  36. txtNumero.Locked = True
  37. Timer3.Enabled = False
  38. Text1.Locked = True
  39. End Sub
  40.  
  41. Private Sub Timer1_Timer()
  42. Password = txtNumero.Text
  43. txtNumero.Text = Password + 1
  44. If txtNumero.Text = txtPassword.Text Then
  45. Label4.Caption = "Password Trovata."
  46. Label6.Caption = "La password è " & txtNumero.Text & "."
  47. CmdTrova.Caption = "Riprova"
  48. CmdTrova.Enabled = True
  49. Timer1.Enabled = False
  50. CmdFerma.Enabled = False
  51. txtUsername.Enabled = True
  52. txtPassword.Enabled = True
  53. Text1.Locked = False
  54. Timer3.Enabled = True
  55. End If
  56. End Sub
  57.  
  58.  
  59. Private Sub Timer2_Timer()
  60. If txtPassword.Text <> "" And txtUsername.Text <> "" And Text1.Text <> "" Then
  61. CmdTrova.Enabled = True
  62. Else
  63. CmdTrova.Enabled = False
  64. End If
  65. End Sub
  66.  
  67. Private Sub Timer3_Timer()
  68. If Text1.Text = "*" Then
  69. txtNumero.Text = 0
  70. txtNumero.Text = "0"
  71. End If
  72. If Text1.Text = "**" Then
  73. txtNumero.Text = 9
  74. txtNumero.Text = "9"
  75. End If
  76. If Text1.Text = "***" Then
  77. txtNumero.Text = 99
  78. txtNumero.Text = "99"
  79. End If
  80. If Text1.Text = "****" Then
  81. txtNumero.Text = 999
  82. txtNumero.Text = "999"
  83. End If
  84. If Text1.Text = "*****" Then
  85. txtNumero.Text = 9999
  86. txtNumero.Text = "9999"
  87. End If
  88. If Text1.Text = "******" Then
  89. txtNumero.Text = 99999
  90. txtNumero.Text = "99999"
  91. End If
  92. If Text1.Text = "*******" Then
  93. txtNumero.Text = 999999
  94. txtNumero.Text = "999999"
  95. End If
  96. If Text1.Text = "********" Then
  97. txtNumero.Text = 9999999
  98. txtNumero.Text = "9999999"
  99. End If
  100. If Text1.Text = "*********" Then
  101. txtNumero.Text = 99999999
  102. txtNumero.Text = "99999999"
  103. End If
  104. End Sub
  105.  
  106. Private Sub txtPassword_Change()
  107.  If Not (IsNumeric(txtPassword.Text)) Then
  108.         txtPassword.Text = ""
  109.         MsgBox "La password può essere composta solo da numeri."
  110.     End If
  111. End Sub