Sunday, May 30, 2010

Note : This tutorial is for learning purpose only...

Before talking about How to hack wifi for free internet , let us get familier with WiFi & WEP :-

WiFi stands for wireless Fidelity. It refers to any system that uses the 802.11 standard, which was developed by the Institute of Electrical and Electronics Engineers (IEEE) and released in 1997.

Wired Equivalent Privacy (WEP) Key is a password which is exchanged between a wireless device and a router on routers using WEP security.


When wireless routers first came out most were unprotected & ones that were, used simple 64bit WEP encryption. Times have changed. Newer 128bit WEP encryption has become popular & nearly all wireless routers are encrypted.

So now we know that 
wifi enabled system + wireless network in neighborhood + wep key = free internet


Things to know before we start

This method will not work with WPA passwords.
You will be using a free live operating system called ‘Backtrack 3′. No experience of this product is necessary.
Backtrack 3 is only compatible with a small selection of wireless adapters.


Booting Backtrack 3
 
Insert the backtrack 3 disk into your disk drive.
Make sure that your computer is set so it will boot of the disk drive. Most computers will have this set by default. If it isn’t, then set it through the BIOS. I can’t tell you how to do this, as most BIOSs are different.
Restart the computer with the Backtrack 3 disk in the drive.
If the computer is set up to boot from the disk drive, then your computer will boot off the Backtrack 3 disk rather than the operating system installed on your hard drive.
Now wait….
After a few seconds a few options will come up. Select the ‘BT3 Graphics mode (VESA KDE)‘ option.
Lots of infomation will come up while Backtrack 3 is booting. Just ignore them.
After a few minutes, Backtrack 3 will be up & running.
Once the desktop is on screen, you can go to the next section.


Finding information about the wireless routers in the area


The ‘KDE Menu‘ is the button in the bottom left corner of the screen. It is a blue icon.
Click on the KDE menu, click ‘Backtrack‘, click ‘Radio Network Analysis‘, click ‘802.11‘, click ‘Analysing‘,  click ‘Wicrawl‘.
A window should come on screen called ‘Wicrawl‘. Wait a few moments for Wicrawl to start. On the Wicrawl menu toolbar there should be an option called ‘Interfaces‘. Click it. There will be a list of all the internet adapters (wired & wireless) connected to your computer. You need to select the wireless adapter you are using. If you don’t know what it is, then test them all out. The scan will only work on functioning wireless adapters.On the Wicrawl menu toolbar there should be an option called ‘Scan‘. Click it. click ‘Automatic Mode‘. Once clicked, Wicrawl will start searching for wirless routers. Leave Wicrawl running. Minimize it.


Cracking the WEP password


Click on the KDE menu, click ‘Backtrack‘, click ‘Radio Network Analysis‘, click ‘802.11‘, click ‘Cracking‘, click ‘SpoonWEP‘. A window called ‘SpoonWEP‘ should come up on screen shortly after clicking on it.


As SpoonWEP is a Java application, it will take a few moments to start up.
Bring Wicrawl back up. In Wicrawl it should show a the ‘BSSID‘ of all the access points it found.
Now you must type the BSSID number into the Victim MAC text box in SpoonWEP. Make sure you type it correctly.
Now in Wicrawl look at it’s channel number. Now you must drag the channel slider to the correct channel.
Set the Injection rate to maximum.
Use Fragmentation and Forge Attack
Use 128 Bits key Length
In SpoonWEP, Make sure that the MAC & the channel are correct & belong to the same access point.
Click launch wait for few Minutes
The cracking proccess has begun. First it will capture IV & build a packet capture file, then it will find the key in the packet capture file. It is all automatic.
After a period of time(Atleast 8-10 minutes), the password will be displayed in the bottom of the SpoonWEP window.
When you have the password, remove the colons & decapitalize all the letters.

You now have the password...Cheers

Converting a Word document to the PDF format is very easy with Office 2007 with the added feature of creating the PDF document directly from the Doc file.




There are occasions when we need to create a PDF file from our Doc file so if you have Office 2007 installed in your system and do not wish to install any other software for this purpose then this is the best solution for you.



Just install the add-on called SaveAsPDF.exe and from now on you can save as your document into either PDF format. Save As PDF genuine validation test but here are the direct links for the tool to get the add-on installed easily.

Download SaveAsPDF.exe

Tuesday, May 25, 2010

Hyeee frndz m back after ma exms.......
In this demo I'll show how easily you can create your own calculator application for your mobile phone !
Juss open NetBeans IDE create a new project named as CALCULATOR
Now add a new midlet named calc
Full coding for the above project as follows........

import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;


/**
* @author Krishan
*/
public class Calc extends MIDlet implements CommandListener
{

TextField inp;
Display display;
Command add,OK,Exit,sub,div,mul,History;
int result;
Ticker tk;


public Calc()
{

tk=new Ticker("Start");
History=new Command("History", Command.OK, 6);
inp = new TextField("Input", "", 10, TextField.NUMERIC);
add = new Command("ADD", Command.OK, 1);
div=new Command("Divide", Command.OK, 3);
mul=new Command("Multiply", Command.OK, 5);
sub=new Command("Subtract", Command.OK, 2);
OK = new Command("OK", Command.STOP, 4);
Exit=new Command("EXIT", Command.EXIT, 7);

}

public void startApp()
{
display =Display.getDisplay(this);
Form f1=new Form("CALCULATOR BY KRISHAN");
f1.setTicker(tk);
f1.append(inp);
f1.addCommand(History);
f1.addCommand(add);
f1.addCommand(OK);
f1.addCommand(Exit);
f1.addCommand(sub);
f1.addCommand(div);
f1.addCommand(mul);
f1.setCommandListener(this);
display.setCurrent(f1);
}

public void pauseApp() {
}

public void destroyApp(boolean unconditional)
{
notifyDestroyed();
}

int kpress=0;
void ad()
{
kpress=0;
if(inp.size()!=0)
{
tk.setString(tk.getString()+"+"+inp.getString());
String input=inp.getString();
result+=Integer.parseInt(input);
}
}

void sb()
{
kpress=1;
if(inp.size()!=0)
{
tk.setString(tk.getString()+"-"+inp.getString());
String input=inp.getString();
if(result==0)
result=Integer.parseInt(input);
else
result-=Integer.parseInt(input);
}

}

void ml()
{
kpress=2;
if(inp.size()!=0)
{
tk.setString(tk.getString()+"x"+inp.getString());
String input=inp.getString();
if(result==0)
result=Integer.parseInt(input);
else
result*=Integer.parseInt(input);
}

}

void dv()
{
try
{
kpress=3;
if(inp.size()!=0)
{
tk.setString(tk.getString()+"/"+inp.getString());
String input=inp.getString();
if(result==0)
result=Integer.parseInt(input);
else
result/=Integer.parseInt(input);
}
}
catch(Exception ex)
{
result=0;
}
}

public void commandAction(Command c,Displayable d)
{
if(c==add)
ad();
if(c==sub)
sb();
if(c==mul)
ml();
if(c==div)
dv();
if(c==History)
{
Alert nalt=new Alert("History",tk.getString(),null,AlertType.INFO);
nalt.setTimeout(Alert.FOREVER);
display.setCurrent(nalt);
}
if(c==OK)
{
try
{
if(kpress==0)
ad();
else if(kpress==1)
sb();
else if(kpress==2)
ml();
else if(kpress==3)
dv();
else{}

}
catch(Exception ex)
{}
finally
{
tk.setString(tk.getString()+"="+result);
Alert res=new Alert("Result","RESULT = "+result, null, AlertType.INFO);
res.setTimeout(5000);
display.setCurrent(res);
}
}
if(c==Exit)
destroyApp(true);
inp.setString("");
}
}



Hope this will help you implementing command,TextField, Ticker and some more controls in J2ME
If anyone want any explaination den reply me.............

Download NetBeans Project

Saturday, May 8, 2010

Hyeeee Friends !
Sorry for not posting for a long time as m having ma exms!
Have you ever try to scroll the text of any control within vc# ?
If no , here we go with this simple & small demo to teach you how to scroll the text of different controls as well as of your main form's Title text !


I used juss three controls - TextBox, Lable and a Timer control to scroll the text.
Add these three controls to your form
Select timer1 and press F4 for properties
Set Interval property = 150
Enable = true
Now double click on timer1 to generate its Tick event handler method
Write these two lines within timer1_Tick method

this.Text = this.Text.Substring(1) + this.Text[0];
label1.Text = label1.Text.Substring(1) + label1.Text[0];
 
what m doing is - M juss subtracting 1st character from the text string and appending it to the end of the text string in timer1's Tick event
Thats why the text seems to be scrolling .............
Thats it !
Cheersssssssss......................


Download vs2008 project coding & demo.exe