Pages
Showing posts with label Tutorial. Show all posts
Showing posts with label Tutorial. Show all posts
Saturday, May 21, 2011
Wifi Hacking Tuttorial
WEP is Wired Equivalent Privacy. This is an encryption standard for wireless until now. Many people do not even use WEP due to weak security, hassle, or WEP is pointless, because it can dicrack, although usually take a while to obtain enough data to get the WEP passwords, especially passwords are very long.
WEP consists of secret passwords and encryption. Secret password that is shared between access point and everyone in the wireless network, consisting of 5 or 13 characters. Used by the process of encryption for communications package that is disguised throughout the WLAN, or Wireless Local Area Network. All packages are unique and random, so if someone makes a crack in one package key, they can not see what others have done without cracking on them too.
This is all done using the secret password together with the three characters (the Initialization Vector, or IV) who were randomly selected by the wireless device. For example, if you are the password "hello", may make "abchello" to a package, and "xyzhello" for the other.
WEP also uses XOR, or Exclusive OR, for encryption. XOR compares two bits, and if theyre different, it will return 1. If not, it will return 0. For example, 1 XOR 1 will be 0, and 1 XOR 0 is 1.
Array is a variable that can hold multiple values. For example, an array of alphabet [26] will continue to value 26, which are labeled 0 through 25.
Example:
alphabet [0] = 'A';
alphabet [1] = 'B';
void swap (char & first, char & second)
{
char temp = first;
first = second;
second = temp;
}
swap (alphabet [0], alphabet [1]);
If the values array randomely have swapped many times, it can not be sent to the array element that holds the value.
The actual algorithm used by WEP to encrypt packets is RC4. RC4 consists of two steps: with a password and Scheduling Algorithm Pseudo Random Generation Algorithm. The first part, the scheduling algorithm is a password, or KSA, like this in C code, assuming k [] is an array of secret passwords:
int n = 256;
char s [n];
/ / Initialization
for (int i = 0; i <= (n - 1); i + +) s [i] = i; int j = 0; / / scrambling for (int l = 0, l <= (n - 1); l + + ) {j + = s [l] + k [l]; swap (s [l], s [j]);}
Let's examine the code above until we know that:
1. Integer 'n' determines how we make kuay encryption. Here using WEP 256.
2. Array of characters 'k' is the secret password in combination with three fake character. This does not change at all in this program.
3. The '/ / Initialize' only represents the initialization, as much as the characters 0-255.
4. Integer 'j' is used to hold value during scrambling. Always initialized to 0, because it must always be in the range 0.
5. Furthermore, (where '/ / scrambling') scrambling process begins. Basically, will result in 's' array 'random' than ever before 's' specified array.
6. Inside the circle, which merges their first passwords (k) with a random array (s) to create a complete character. Then, the call to swap () puts into an array of characters is completed.
Now it's time for the second part of the RC4 algorithm, then the Pseudo Random Generation Algorithm (PRGA). This section of the output stream passwords based on KSA's pseudo-random array. This key stream will be merged with cleartext data to create the encrypted data.
int i = 0;
int j = 0;
int z;
while (data_disini)
Sunday, May 15, 2011
Desktop Windows 7 Layar Hitam??
Lagi-lagi saya di minta bantuan oleh teman saya untuk memperbaiki notebooknya. Ketika saya cek, ternyata permasalahannya sih seperti biasanya, tampilan layar windows 7 nya menjadi hitam. Sudah pada tahu kan kenapa seperti ini???
Seperti yang kita ketahui bersama, layar windows 7 hitam itu di karenakan masalah genuine. Seperti ketahuan bajakan pas update, belum di aktivasi windows 7 nya, dll.
Untuk masalah update sendiri, saya pernah memeritahu sobat blogger, jangan mendownload apalagi menginstal update kb971033, bisa repot akibatnya. Hehehe
Buat sobat blogger yang layar desktopnya berwarna hitam akibat sudah terlanjur menginstal kb971033, ikuti tips berikut ini.
Seperti yang kita ketahui bersama, layar windows 7 hitam itu di karenakan masalah genuine. Seperti ketahuan bajakan pas update, belum di aktivasi windows 7 nya, dll.
Untuk masalah update sendiri, saya pernah memeritahu sobat blogger, jangan mendownload apalagi menginstal update kb971033, bisa repot akibatnya. Hehehe
Buat sobat blogger yang layar desktopnya berwarna hitam akibat sudah terlanjur menginstal kb971033, ikuti tips berikut ini.
- Buka control panel, kemudian masuk ke bagian updates.
- Klik Installed Updates pada bagian bawah.
- Kemudian cari file update "KB971033".
- Klik Uninstall, retart PC/notebook anda.
- Jalankan windows 7 loader.
- Klik install. Tunggu hingga muncul proses aktivasi sukses.
- Restart kembali PC/Notebook anda.
- Selesai.
Sumber : www.remo-xp.com