Wednesday, February 27, 2013

How to crack a password with the use of a dictionary.

How to crack a password with the use of a dictionary.


Use brute force to enter a protected program might work after a period XYZ. Even with the most powerful computer, brute force is the final solution to be used to break a password. What are cracks computer to successfully pass through security without passwords? One answer is to use a dictionary.
In practice, people use passwords relatively easy to remember. People use words that make them remember their childhoods, associate numbers or meet some sort of syntax to invent their password.

Read a text file

Read a text file


Reading a text file is the question most often asked because it is still relevant. Here, we present the reading of a text file in the simplest form of a visual point of view with the use of a Windows Form, a button and a multiline text field.
Read a text file in Visual Basic
If you create a new project using Visual Studio 2010 or any other any other issue, make sure you at least have a TextBox1, TextBox2 and Button1 one in your form Form1.

Then copy and paste the following code in Form1.vb:

Tuesday, February 19, 2013

The multiplication of loops is the trap of programming

The multiplication of loops is the trap of programming


In the previous article, we have made ​​a password generator essentially consists of numbers based on two different approaches: hard-coding consists of many lines of code proved to be the fastest way. Code with recursion is made with fewer lines of code, but has been slower in the final. Although one may think that the hard coding is faster in terms of performance, it is actually the least flexible. Look more closely at the following piece of code. Go directly to the end of the computer code for an explanation.The multiplication of loops is the trap of programming

Wednesday, February 13, 2013

Basic recursivity for password

Basic recursivity for password

In the previous article, we were able to generate passwords as growing: 0-9, 00-99, 000-999, 0000-9999, 00000-99999, 000000-999999. From a computational point of view, we have produced exactly the same behavior with a series of loops constantly getting bigger.
If you have tested the program of the previous article, you would notice something quite interesting: the number of possibilities is proportional to the processing time. If you eg about 100,000 possible combinations, it can take 15 seconds to process all the results. If you have 1.1 million, you will need 11 * 15 seconds = 165 seconds = 2 minutes 45 seconds.
Although the computer code of the previous article is relatively predictable and effective to a certain extent, we note that the processing time is:

Sunday, February 10, 2013

The complexity of a password

The complexity of a password

The effectiveness of a password is largely by the number of possible combinations. But the catch is that the user rests his confidence by the simple fact that the possible combinations are high. At what level can we say that the number of combinations is really high.

An example will illustrate the point. At the lottery 6/49 (in Canada), you must choose a combination of 6 numbers between 1 and 49. The formula is simple and it is a form factor:

The factorial is expressed by an exclamation mark "! ".

(N!) / (N-6)? = (N) * (n-1) * (n-2) * (n-3) .... 1 / [(n-6) * (n-5) * (n-4) ....]

If n = 49, then it gives you: 49 * 48 * 47 * 46 * 45 * 44 = 10 068 347 520 (10 million possibilities)

Friday, February 8, 2013

Password programming for beginners (Part 2)

Password programming for beginners (Part 2)

The power of a password depends to begin with the number of possibilities. Say that we must guess a number from 0 to 9. You understand that you have a 10 chance of finding the answer since you have 10 possible combinations. If you guess a letter of the alphabet, you have a chance of 26 to find the answer because there are 26 letters in the alphabet. Now, if you have to guess a number or a letter of the alphabet it is in uppercase or lowercase, your chances of finding the answer will be the sum of the possibilities.

10 + 26 + 26 = 62
10 values


Thursday, February 7, 2013

Password programming for beginners

Password programming for beginners

A password generator to attack a system is not a difficult concept to understand. The program produces a large number of combinations in order to find a password to enter the system. Most passwords are long and complex, the system is secure against intrusion. Programming a generator of passwords is very fun and the public interest. Indeed, when a programmer is able to produce a good generator of passwords, it will normally be entitled to produce any code. Here, we do not show how to become a genius infiltration or even how to find a good program that cracked the computer systems. Here I show the basics. These bases are essential to understanding software. These bases are valid in certain types of programming such as object-oriented programming.

As an example to start with. The sample project is available for download at the end of this article.

Password programming

Monday, February 4, 2013

Example of multiline TextBox

Example of multiline TextBox


TextBox With the multi lines of TextBox, the user is able to insert text on multiple lines. The TextBox control. NET Framework in Visual Basic or C #. To make your TextBox as complete as possible, here is a small set of properties to use:
Example of multiline TextBox