IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

VB.NET Discussion :

Aide avec Combobox1


Sujet :

VB.NET

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre très actif
    Profil pro
    Inscrit en
    Avril 2013
    Messages
    267
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2013
    Messages : 267
    Par défaut Aide avec Combobox1
    bonjour, voila dans mon combobox1 sélectionne : Minuscule (a-z), Majuscule (A-Z), Chiffre (0-9), symbole (>?@) ..etc

    TEXTBOX1: ajoute hash MD5 (ex:827ccb0eea8a706c4c34a16891f84e7b)

    en démarrent avec un button1 qui décrypte MD5

    voici en image:

    voici une partie mes codes:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    Public Class Form1
     
        Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
            Button1.Enabled = False
            Button2.Enabled = False
            ToolStripButton3.Enabled = False
            ToolStripButton4.Enabled = False
            PictureBox1.Enabled = False
            ComboBox1.Items.Add("Minuscule (a-z), Majuscule (A-Z), Chiffre (0-9), symbole (>?@)")
            ComboBox1.Items.Add("Minuscule (a-z), Majuscule (A-Z), Chiffre (0-9)")
            ComboBox1.Items.Add("Minuscule (a-z), Majuscule (A-Z)")
            ComboBox1.Items.Add("Majuscule (A-Z), Chiffre (0-9)")
            ComboBox1.Items.Add("Minuscule (a-z), Chiffre (0-9)")
            ComboBox1.Items.Add("Majuscule (A-Z)")
            ComboBox1.Items.Add("Minuscule (a-z)")
            ComboBox1.Items.Add("Chiffre (0-9)")
            RichTextBox1.Text = String.Concat(New String() {Strings.Format(DateAndTime.Now, "hh:mm:ss"), " - Merci Avoir Telecharger Mon Logiciel MD5 Decrypter", Environment.NewLine, Strings.Format(DateAndTime.Now, "hh:mm:ss"), " - Bonjour, Bienvenue Mon Logiciel Pour Decrypter MD5.", Environment.NewLine, Strings.Format(DateAndTime.Now, "hh:mm:ss"), " - Entrer Un Hash MD5 ET Clicker Start Sur Decrypter MD5.."})
        End Sub
     
        Private Sub TextBox1_TextChanged(sender As System.Object, e As System.EventArgs) Handles TextBox1.TextChanged
            If (Strings.Len(TextBox1.Text) < &H20) Then
                Button1.Enabled = True
                Button2.Enabled = True
                ToolStripButton3.Enabled = True
                ToolStripButton4.Enabled = True
                Timer1.Stop()
            ElseIf (Strings.Len(TextBox1.Text) = &H20) Then
                Button1.Enabled = True
                Button2.Enabled = True
                ToolStripButton3.Enabled = True
                ToolStripButton4.Enabled = True
            End If
        End Sub
     
        Private Sub ComboBox1_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
            Select Case ComboBox1.SelectedIndex
                Case 0
                        Minuscule (a-z), Majuscule (A-Z), Chiffre (0-9), symbole (>?@)
            End Select
        End Sub
     
        Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
            RichTextBox1.ForeColor = Color.Black
            RichTextBox1.BackColor = Color.White
            PictureBox1.Enabled = True
            RichTextBox1.SelectionStart = RichTextBox1.TextLength
            RichTextBox1.ScrollToCaret()
            RichTextBox1.Select()
            Timer1.Start()
            Label5.Text = Strings.Format(DateAndTime.Now, "hh:mm:ss")
            RichTextBox1.AppendText(("" & Environment.NewLine))
            RichTextBox1.AppendText(("" & Environment.NewLine & Strings.Format(DateAndTime.Now, "hh:mm:ss") & " - Commencez Le crackage du Hash MD5 ..."))
            RichTextBox1.AppendText(("" & Environment.NewLine & Strings.Format(DateAndTime.Now, "hh:mm:ss") & " - S'il vous plaît patienter ..."))
            Button1.Enabled = False
            ToolStripButton3.Enabled = False
        End Sub
    Comment on écrie le code dans combobox1?
    Merci cordialement.

  2. #2
    Membre actif
    Homme Profil pro
    Technicien Help Desk
    Inscrit en
    Novembre 2006
    Messages
    129
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Technicien Help Desk
    Secteur : Bâtiment Travaux Publics

    Informations forums :
    Inscription : Novembre 2006
    Messages : 129
    Par défaut
    Quel code ?

  3. #3
    Membre très actif
    Profil pro
    Inscrit en
    Avril 2013
    Messages
    267
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2013
    Messages : 267
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    Private Sub ComboBox1_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
            Select Case ComboBox1.SelectedIndex
                Case 0
                       Minuscule (a-z), Majuscule (A-Z), Chiffre (0-9), symbole (>?@)
                Case 1
                       Minuscule (a-z), Majuscule (A-Z), Chiffre (0-9)
                case 2
                      Minuscule (a-z), Majuscule (A-Z)
                case 3
                      Majuscule (A-Z), Chiffre (0-9)
                case 4
                      Minuscule (a-z), Chiffre (0-9)
                case 5
                     Majuscule (A-Z)
                case 6
                     Minuscule (a-z)
                case 7
                     Chiffre (0-9)
            End Select
    Comment on écrie le code dans combobox1?
    ex:
    case 7
    Chiffre (0-9) = "0123456789"

  4. #4
    Membre Expert Avatar de _Ez3kiel
    Homme Profil pro
    Développeur .NET
    Inscrit en
    Janvier 2013
    Messages
    836
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 33
    Localisation : France, Finistère (Bretagne)

    Informations professionnelles :
    Activité : Développeur .NET
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Janvier 2013
    Messages : 836
    Par défaut
    1) Tu fais du multi-comptes sur le forum ?
    2) Je dois être fatigué, mais je ne comprend pas ce que tu nous demandes.

  5. #5
    Membre actif
    Homme Profil pro
    Technicien Help Desk
    Inscrit en
    Novembre 2006
    Messages
    129
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Technicien Help Desk
    Secteur : Bâtiment Travaux Publics

    Informations forums :
    Inscription : Novembre 2006
    Messages : 129
    Par défaut
    Il te faut une fonction qui fait le decryptage et ta ComboBox appelle la fonction en passent des arguments différents.

    La fonction doit être récursive avec une limite dans le nombre de caractères du mot de passe à tester histoire d'éviter les mdp à 1500 lettres.

    Mais on va pas écrire la fonction à ta place .

  6. #6
    Membre très actif
    Profil pro
    Inscrit en
    Avril 2013
    Messages
    267
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2013
    Messages : 267
    Par défaut
    Merci prologic, pour cette explication mais pourrais-tu me donner un exemple?

Discussions similaires

  1. Besoin d'aide avec Regexp::Assemble
    Par mobscene dans le forum Modules
    Réponses: 5
    Dernier message: 11/04/2007, 12h39
  2. [ASA] J'ai besoin d'aide avec sybase et vb6 svp !!
    Par tibo830 dans le forum SQL Anywhere
    Réponses: 7
    Dernier message: 12/05/2006, 10h09
  3. Besoin d'aide avec TinyXML
    Par Clad3 dans le forum Bibliothèques
    Réponses: 5
    Dernier message: 15/08/2005, 18h20
  4. Réponses: 2
    Dernier message: 29/08/2003, 17h52
  5. Besoin d'aide avec postgresql sous windows NT
    Par Chihuahua dans le forum PostgreSQL
    Réponses: 3
    Dernier message: 18/07/2003, 08h29

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo