begin process at 2012 02 09 19:45:13
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

Maths & Algorithmes

 > DECRYPTION DES PWD AIM

DECRYPTION DES PWD AIM


 Information sur la source

Note :
Aucune note
Catégorie :Maths & Algorithmes Source .NET ( DotNet ) Classé sous :password, décrypter Niveau :Initié Date de création :24/08/2002 Date de mise à jour :24/08/2002 22:20:40 Vu :11 712

Auteur : Mike

Ecrire un message privé
Site perso
Commentaire sur cette source (3)
Ajouter un commentaire et/ou une note

 Description

Un petit prog en C# pour aller chercher les pwd AIM et les decrypter. j'ai aussi traduit ce programme en C++ ( pour ceux que ça interesse ) http://www.cppfrance.com/article.aspx?Val=897

Source

  • using System;
  • using System.Drawing;
  • using System.Collections;
  • using System.ComponentModel;
  • using System.Windows.Forms;
  • using System.Data;
  • using Microsoft.Win32;
  • namespace WindowsApplication15
  • {
  • public class Form1 : System.Windows.Forms.Form
  • {
  • private System.Windows.Forms.Button button2;
  • private System.Windows.Forms.GroupBox groupBox1;
  • private System.Windows.Forms.TextBox textBox1;
  • private System.Windows.Forms.TextBox textBox2;
  • private System.Windows.Forms.Button button1;
  • private System.Windows.Forms.Label label1;
  • private System.Windows.Forms.ListBox listBox1;
  • public Form1()
  • {
  • InitializeComponent();
  • }
  • private void InitializeComponent()
  • {
  • this.textBox2 = new System.Windows.Forms.TextBox();
  • this.textBox1 = new System.Windows.Forms.TextBox();
  • this.button1 = new System.Windows.Forms.Button();
  • this.button2 = new System.Windows.Forms.Button();
  • this.listBox1 = new System.Windows.Forms.ListBox();
  • this.groupBox1 = new System.Windows.Forms.GroupBox();
  • this.label1 = new System.Windows.Forms.Label();
  • this.groupBox1.SuspendLayout();
  • this.SuspendLayout();
  • //
  • // textBox2
  • //
  • this.textBox2.Location = new System.Drawing.Point(16, 96);
  • this.textBox2.Name = "textBox2";
  • this.textBox2.Size = new System.Drawing.Size(240, 20);
  • this.textBox2.TabIndex = 2;
  • this.textBox2.Text = "";
  • //
  • // textBox1
  • //
  • this.textBox1.Location = new System.Drawing.Point(16, 16);
  • this.textBox1.Name = "textBox1";
  • this.textBox1.Size = new System.Drawing.Size(240, 20);
  • this.textBox1.TabIndex = 0;
  • this.textBox1.Text = "";
  • //
  • // button1
  • //
  • this.button1.Location = new System.Drawing.Point(96, 48);
  • this.button1.Name = "button1";
  • this.button1.Size = new System.Drawing.Size(72, 40);
  • this.button1.TabIndex = 1;
  • this.button1.Text = "decrypter";
  • //
  • // button2
  • //
  • this.button2.Location = new System.Drawing.Point(16, 152);
  • this.button2.Name = "button2";
  • this.button2.Size = new System.Drawing.Size(272, 24);
  • this.button2.TabIndex = 3;
  • this.button2.Text = "Recuperer tous les login et pwd AIM du PC";
  • this.button2.Click += new System.EventHandler(this.button2_Click);
  • //
  • // listBox1
  • //
  • this.listBox1.Location = new System.Drawing.Point(16, 176);
  • this.listBox1.Name = "listBox1";
  • this.listBox1.Size = new System.Drawing.Size(272, 95);
  • this.listBox1.TabIndex = 4;
  • //
  • // groupBox1
  • //
  • this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
  • this.textBox1,
  • this.textBox2,
  • this.button1});
  • this.groupBox1.Location = new System.Drawing.Point(16, 16);
  • this.groupBox1.Name = "groupBox1";
  • this.groupBox1.Size = new System.Drawing.Size(272, 128);
  • this.groupBox1.TabIndex = 5;
  • this.groupBox1.TabStop = false;
  • this.groupBox1.Text = "decrypter un pass";
  • //
  • // label1
  • //
  • this.label1.Location = new System.Drawing.Point(16, 280);
  • this.label1.Name = "label1";
  • this.label1.Size = new System.Drawing.Size(272, 32);
  • this.label1.TabIndex = 6;
  • this.label1.Text = "Si la mention \"Compte faux\" apparait c que le compte n\'est pas valide";
  • //
  • // Form1
  • //
  • this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
  • this.ClientSize = new System.Drawing.Size(296, 308);
  • this.Controls.AddRange(new System.Windows.Forms.Control[] {
  • this.label1,
  • this.groupBox1,
  • this.listBox1,
  • this.button2});
  • this.Name = "Form1";
  • this.Text = "AIM Pass Converter";
  • this.groupBox1.ResumeLayout(false);
  • this.ResumeLayout(false);
  • }
  • [STAThread]
  • static void Main()
  • {
  • Application.Run(new Form1());
  • }
  • public string Convertion(string PW)
  • {
  • int a; int b; int c; int d;
  • string password = "";
  • int decrypt = ( PW.Length / 2 );
  • for( a = 1 ; PW.Length > a ; a = a + 2)
  • {
  • c = ( a / 2) % ( 16 + 1) + 1;
  • b = Convert.ToInt16( Convert.ToChar( PW.Substring( a - 1, 1) ) ) - 65 ;
  • if ( (c==4) || (c==9) || (c==11) || (c==14) )
  • {
  • if ( (b % 2) < 1 )
  • {
  • b = b + 1;
  • }
  • else
  • {
  • b = b - 1;
  • }
  • }
  • if ( (c==5) || (c==10) || (c==15) || (c==16) )
  • {
  • if ( (b % 4) < 2 )
  • {
  • b = b + 2;
  • }
  • else
  • {
  • b = b - 2;
  • }
  • }
  • if ( (c==1) || (c==6) || (c==11) || (c==12) )
  • {
  • if ( (b % 8) < 4 )
  • {
  • b = b + 4;
  • }
  • else
  • {
  • b = b - 4;
  • }
  • }
  • if ( (c==2) || (c==7) || (c==13) || (c==16) )
  • {
  • if ( b < 8 )
  • {
  • b = b + 8;
  • }
  • else
  • {
  • b = b - 8;
  • }
  • }
  • if ( (c==12) || (c==13) || (c==14) || (c==15) )
  • {
  • b = 15 - b;
  • }
  • ///////////////////////////////////
  • d = b * 16;
  • b = Convert.ToInt16( Convert.ToChar( PW.Substring( a, 1) ) ) - 65 ;
  • if ( (c==5) || (c==7) || (c==9) || (c==10) || (c==16) )
  • {
  • if ( (b % 2) < 1 )
  • {
  • b = b + 1;
  • }
  • else
  • {
  • b = b - 1;
  • }
  • }
  • if ( (c==1) || (c==6) || (c==9) || (c==11) || (c==12) )
  • {
  • if ( (b % 4) < 2 )
  • {
  • b = b + 2;
  • }
  • else
  • {
  • b = b - 2;
  • }
  • }
  • if ( (c==2) || (c==7) || (c==8) || (c==9) || (c==13) )
  • {
  • if ( (b % 8) < 4 )
  • {
  • b = b + 4;
  • }
  • else
  • {
  • b = b - 4;
  • }
  • }
  • if ( (c==3) || (c==12) || (c==14) )
  • {
  • if ( b < 8 )
  • {
  • b = b + 8;
  • }
  • else
  • {
  • b = b - 8;
  • }
  • }
  • if ( (c==8) || (c==10) || (c==11) )
  • {
  • b = 15 - b;
  • }
  • password = password + Convert.ToChar(d + b).ToString();
  • }
  • return password;
  • }
  • private void button1_Click(object sender, System.EventArgs e)
  • {
  • textBox2.Text = Convertion(textBox1.Text.Substring(2,textBox1.Text.Length - 2));
  • }
  • private void button2_Click(object sender, System.EventArgs e)
  • {
  • RegistryKey key = Registry.CurrentUser.CreateSubKey(@"Software\America Online\AOL Instant Messenger (TM)\CurrentVersion\Users");
  • string[] compte = key.GetValueNames();
  • for(int i = 0 ;i < compte.Length ; i++)
  • {
  • RegistryKey key2 = Registry.CurrentUser.CreateSubKey(@"Software\America Online\AOL Instant Messenger (TM)\CurrentVersion\Users\" + compte[i] + "\\Login");
  • string pass = (string)key2.GetValue("Password");
  • if( pass != null )
  • {
  • pass = Convertion(pass.Substring(2,pass.Length - 2));
  • }
  • else
  • {
  • pass = "Compte faux";
  • }
  • listBox1.Items.Add(" pseudo : " + compte[i] + " Pass : " + pass);
  • }
  • }
  • }
  • }
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using Microsoft.Win32;

namespace WindowsApplication15
{
	public class Form1 : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Button button2;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.TextBox textBox1;
		private System.Windows.Forms.TextBox textBox2;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.ListBox listBox1;
	
		public Form1()
		{
			InitializeComponent();
		}

		private void InitializeComponent()
		{
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.textBox1 = new System.Windows.Forms.TextBox();
			this.button1 = new System.Windows.Forms.Button();
			this.button2 = new System.Windows.Forms.Button();
			this.listBox1 = new System.Windows.Forms.ListBox();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.label1 = new System.Windows.Forms.Label();
			this.groupBox1.SuspendLayout();
			this.SuspendLayout();
			// 
			// textBox2
			// 
			this.textBox2.Location = new System.Drawing.Point(16, 96);
			this.textBox2.Name = "textBox2";
			this.textBox2.Size = new System.Drawing.Size(240, 20);
			this.textBox2.TabIndex = 2;
			this.textBox2.Text = "";
			// 
			// textBox1
			// 
			this.textBox1.Location = new System.Drawing.Point(16, 16);
			this.textBox1.Name = "textBox1";
			this.textBox1.Size = new System.Drawing.Size(240, 20);
			this.textBox1.TabIndex = 0;
			this.textBox1.Text = "";
			// 
			// button1
			// 
			this.button1.Location = new System.Drawing.Point(96, 48);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(72, 40);
			this.button1.TabIndex = 1;
			this.button1.Text = "decrypter";
			// 
			// button2
			// 
			this.button2.Location = new System.Drawing.Point(16, 152);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(272, 24);
			this.button2.TabIndex = 3;
			this.button2.Text = "Recuperer tous les login et pwd AIM du PC";
			this.button2.Click += new System.EventHandler(this.button2_Click);
			// 
			// listBox1
			// 
			this.listBox1.Location = new System.Drawing.Point(16, 176);
			this.listBox1.Name = "listBox1";
			this.listBox1.Size = new System.Drawing.Size(272, 95);
			this.listBox1.TabIndex = 4;
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
																					this.textBox1,
																					this.textBox2,
																					this.button1});
			this.groupBox1.Location = new System.Drawing.Point(16, 16);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(272, 128);
			this.groupBox1.TabIndex = 5;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "decrypter un pass";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(16, 280);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(272, 32);
			this.label1.TabIndex = 6;
			this.label1.Text = "Si la mention \"Compte faux\" apparait c que le compte n\'est pas valide";
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(296, 308);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.label1,
																		  this.groupBox1,
																		  this.listBox1,
																		  this.button2});
			this.Name = "Form1";
			this.Text = "AIM Pass Converter";
			this.groupBox1.ResumeLayout(false);
			this.ResumeLayout(false);

		}
	
		[STAThread]
		static void Main() 
		{
			Application.Run(new Form1());
		}

		public string Convertion(string PW)
		{
			int a; int b; int c; int d;
			string password = "";
			int decrypt = ( PW.Length / 2 );
			
			for( a = 1 ; PW.Length > a ; a = a + 2) 
			{
				c = ( a / 2) % ( 16 + 1) + 1;
				b = Convert.ToInt16( Convert.ToChar( PW.Substring( a - 1, 1) )  ) - 65  ;

				if ( (c==4) || (c==9) || (c==11) || (c==14) )
				{
					if ( (b % 2) < 1 )
					{
						b = b + 1;
					}
					else
					{
						b = b - 1;
					}
				}
				
				if ( (c==5) || (c==10) || (c==15) || (c==16) )
				{
					if ( (b % 4) < 2 )
					{
						b = b + 2;
					}
					else
					{
						b = b - 2;
					}
				}

				if ( (c==1) || (c==6) || (c==11) || (c==12) )
				{
					if ( (b % 8) < 4 )
					{
						b = b + 4;
					}
					else
					{
						b = b - 4;
					}
				}

				if ( (c==2) || (c==7) || (c==13) || (c==16) )
				{
					if ( b < 8 )
					{
						b = b + 8;
					}
					else
					{
						b = b - 8;
					}
				}

				if ( (c==12) || (c==13) || (c==14) || (c==15) )
				{
		
					b = 15 - b;
				}


				///////////////////////////////////
				d = b * 16;
				
				b = Convert.ToInt16( Convert.ToChar( PW.Substring( a, 1) )  ) - 65  ;
				
				if ( (c==5) || (c==7) || (c==9) || (c==10) || (c==16) )
				{
					if ( (b % 2) < 1 )
					{
						b = b + 1;
					}
					else
					{
						b = b - 1;
					}
				}

				if ( (c==1) || (c==6) || (c==9) || (c==11) || (c==12) )
				{
					if ( (b % 4) < 2 )
					{
						b = b + 2;
					}
					else
					{
						b = b - 2;
					}
				}

				if ( (c==2) || (c==7) || (c==8) || (c==9) || (c==13) )
				{
					if ( (b % 8) < 4 )
					{
						b = b + 4;
					}
					else
					{
						b = b - 4;
					}
				}
		 
				if ( (c==3) || (c==12) || (c==14) )
				{
					if ( b < 8 )
					{
						b = b + 8;
					}
					else
					{
						b = b - 8;
					}
				}

				if ( (c==8) || (c==10) || (c==11) )
				{
					b = 15 - b;
				}

				password = password + Convert.ToChar(d + b).ToString();

			}
			return password;
		}

		private void button1_Click(object sender, System.EventArgs e)
		{
			textBox2.Text = Convertion(textBox1.Text.Substring(2,textBox1.Text.Length - 2));
		}

		private void button2_Click(object sender, System.EventArgs e)
		{
			RegistryKey key = Registry.CurrentUser.CreateSubKey(@"Software\America Online\AOL Instant Messenger (TM)\CurrentVersion\Users");
			
			string[] compte = key.GetValueNames();
			
			for(int i = 0 ;i <  compte.Length ; i++)
			{
				RegistryKey key2 = Registry.CurrentUser.CreateSubKey(@"Software\America Online\AOL Instant Messenger (TM)\CurrentVersion\Users\" + compte[i] + "\\Login");
				string pass = (string)key2.GetValue("Password");

				if( pass != null )
				{
					pass = Convertion(pass.Substring(2,pass.Length - 2));
				}
				else  
				{
					pass = "Compte faux";
				}

					listBox1.Items.Add(" pseudo : " + compte[i] + " Pass : " + pass);
			
			}
			
		
		}

	}
}



 Sources du même auteur

Source avec Zip Source .NET (Dotnet) CLIENT-SERVEUR : LE PLUS SIMPLE POSSIBLE

 Sources de la même categorie

Source avec Zip Source avec une capture (CONSOLE) TROUVER LA CLEF D'UN CODE INSEE EN DONNANT SES 13 ... par Maxime95k
Source avec Zip Source .NET (Dotnet) QUANTUM BIBLIOTHÈQUE MATHÉMATIQUES par QuantumNet
Source avec Zip Source avec une capture Source .NET (Dotnet) ALGORITHME DE LA PROPENSION par olivieram2
Source avec Zip Source .NET (Dotnet) PETITE LIBRAIRIE MATHÉMATIQUE par dodo7263
Source avec Zip Source .NET (Dotnet) INCLUSION D'UN POINT DANS UN CERCLE par eishtein

 Sources en rapport avec celle ci

Source avec Zip Source avec une capture Source .NET (Dotnet) CRYPTOGRAPHY par DanMor498
Source avec Zip Source .NET (Dotnet) RÉCUPÉRER SES MOTS DE PASSES FIREFOX ET THUNDERBIRD par ShareVB
Source avec Zip Source .NET (Dotnet) GESTION DE BASES DE DONNÉES ACCESS ET MYSQL par damned3
Source avec Zip Source avec une capture Source .NET (Dotnet) LOGICIEL DE STOCKAGE DE MOTS DE PASSE. par Kleidp
Source .NET (Dotnet) GENERATEUR DE MOT DE PASSE par babyboom

Commentaires et avis

Commentaire de bouyeware le 28/02/2003 11:40:01

Hum... c'est quoi AIM ?

Commentaire de Jyconaisrien le 23/05/2003 14:39:31

et apres on fait comment avec pour le compiler et le mettre en .exe?Ca va vous paraitre con mais j y connais rien et ca me parait etre un prog assez simple pour commencer...Merci et bravo a l équipe pour ce site

Commentaire de Joky le 07/02/2005 23:08:54

Je vous informe avec grande peine les enfants que le mot de passe placé dans le registre n'est pas décryptable. Tout simplement car ce n'est pas un mot de passe.
C'est un hash. Le md5 je crois bien ;)
Donc chercher longtemp :)
Avec tout mon courage ;)

 Ajouter un commentaire


Discussions en rapport avec ce code source dans le forum

recuperation de donnée [ par Online ] Bonjour, voila, j'ai réalisé un prog qui se connecte à un FTP via des commandes DOS, mais j'aimerais bien récupérer ls informations renvoyées par le s Login et password [ par Mattieu51 ] Bonjour à tous,C'est avec grand plaisir que je vous lis depuis quelques semaines, j'ai d'ailleurs eu quelques réponses à mes questions... et ça y est, Probleme Retour parametre Procedure stockée [ par hawk13120 ] Au Secours,Voila mon probleme j'ai&nbsp;une procedure stock&#233;e qui verifie si le login et le mot de passe entr&#233;s sont correctelle doit me ren réafficher une form cacher, depuis une autre form [ par brunhoff ] bonjour j'ai une form que j'ai appell&#233; "MainForm" que je cache et qui en lance une autre "password" le but &#233;tant de pouvoir acc&#233;der &#2 connexion avec password et login pour debloquer le soft [ par Oziris ] bonjour,j'aimerer que lors du lancement d'une application l'utilisateur soit obliger de se connecte a une DB avec un login et un mot de passe pour deb Modifier le mot de passe dans l'active Directory [ par marliche0 ] Bonjour,J'utilise un formulaire c# pour m'identifier &#224; l'aide des donn&#233;es de l'active directory sur mes pages Intranet.J'aimerais proposer & masquer un password lors de la saisie [ par lsprax83 ] bonjour tout le monde,bah dans mon appli j'ai un textbox pour saisir le mot de passe, et je sais pas comment faire pour masquer ce ke l'utilisateur va Transcription Javascript -> c# [ par Siteauludo ] Bonjour,Quelqu'un aurai une id&#233;e pour transcrire le code javascript suivant en c# ?var tabc=3696619&nbsp;var ok=0;<FONT co fonction login et password [ par trop_facile ] Bonjour, Je suis entrain de créer un site internet. J'ai programmé une DB que j'ai fait avec MSSqlServer. je développe le site en C#, html et DOTNET ( textbox password [ par adnanester ] salutje veux rendre une form accesible par un  mot de passe mais je sais pas comment puij cacher les caracteres  saisie dans le textbox ??et Merci


Nos sponsors


Sondage...

Comparez les prix

CalendriCode

Février 2012
LMMJVSD
  12345
6789101112
13141516171819
20212223242526
272829    

Consulter la suite du CalendriCode

Photothèque

 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 1,014 sec (3)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales