what are private & public IP Address

Internet Protocol (IP) addresses are usually of two types: Public and Private. If you have ever wondered to know what is the difference between a public and a private IP address, then you are at the right place.

In this post I will try to explain the difference between a public and a private IP address in layman’s terms so that it becomes simple and easy to understand.

What are Public IP Addresses?

A public IP address is assigned to every computer that connects to the Internet where each IP is unique. In this case, there cannot exist two computers with the same public IP address all over the Internet. This addressing scheme makes it possible for the computers to “find each other” online and exchange information. User has no control over the IP address (public) that is assigned to the computer. The public IP address is assigned to the computer by the Internet Service Provider as soon as the computer is connected to the Internet gateway.

A public IP address can be either static or dynamic. A static public IP address does not change and is used primarily for hosting web pages or services on the Internet. On the other hand, a dynamic public IP address is chosen from a pool of available addresses and changes each time one connects to the Internet.

Most Internet users will only have a dynamic IP assigned to their computer which goes off when the computer is disconnected from the Internet. Thus when it is re-connected it gets a new IP.

You can check your public IP address by visiting www.whatismyip.com

What are Private IP Addresses?

An IP address is considered private if the IP number falls within one of the IP address ranges reserved for private networks such as a Local Area Network (LAN). The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private networks (local networks):

 

10.0.0.0 – 10.255.255.255 (Total Addresses: 16,777,216)
172.16.0.0 – 172.31.255.255 (Total Addresses: 1,048,576)
192.168.0.0 – 192.168.255.255 (Total Addresses: 65,536)

 

Private IP addresses are used for numbering the computers in a private network including home, school and business LANs in airports and hotels which makes it possible for the computers in the network to communicate with each other.

Say for example, if a network X consists of 10 computers, each of them can be given an IP starting from192.168.1.1 to 192.168.1.10. Unlike the public IP, the administrator of the private network is free to assign an IP address of his own choice (provided the IP number falls in the private IP address range as mentioned above).

Devices with private IP addresses cannot connect directly to the Internet. Likewise, computers outside the local network cannot connect directly to a device with a private IP. It is possible to interconnect two private networks with the help of a router or a similar device that supports Network Address Translation.

If the private network is connected to the Internet (through an Internet connection via ISP), then each computer will have a private IP as well as a public IP. Private IP is used for communication within the network where as the public IP is used for communication over the Internet. Most Internet users with a DSL/ADSL connection will have both a private as well as a public IP.

You can know your private IP by typing ipconfig command in the command prompt. The number that you see against “IPV4 Address:” is your private IP which in most cases will be 192.168.1.1 or 192.168.1.2. Unlike the public IP, private IP addresses are always static in nature.

Common Myth about Private IP Address:

Most people assume that a private IP is the one used for stealth Internet activities and hence cannot be detected. But this is NOT TRUE!.

Unlike what most people think, a private IP address (unlike the private telephone number) is just like any other IP address that belongs to a private network. In reality, there is no public IP address that is impossible to trace as the protocol itself is designed for transparency.

Hacking Yahoo Messenger

This tutorial will tell you how to hack yahoo messenger while you are engaged in chatting with some person. While you are chatting through yahoo messenger, Yahoo will hide the IP addresses of all the computers that are connected through the yahoo messenger application to the chat room. So it is not possible to directly find out the IP of the person you want to hack. Then how to get the IP address? Yes it is still possible to hack the IP address during the Yahoo messenger chat. The procedure to Hack Yahoo messenger is discussed in detail below.

While you are chatting via yahoo messenger the communication between you and the person you want to hack, takes place indirectly via Yahoo server and not directly. It is not possible to hack Yahoo messenger directly to get the IP address. So to hack his IP, you must establish a direct communication with him. So ,how to do this? It’s easy. Just start chatting with some one via Yahoo messenger. During the process of chatting send him a big file. Now the file transfer takes place directly between your computer and the victim’s computer(via yahoo messenger application). So now, you are ready to go. Here’s the step-by-step process to hack Yahoo messenger and get the IP address of the person .
  • Goto the COMMAND PROMPT (START>>>RUN>>>Type CMD).
  • Here Type “netstat -n” (without quotes).
NOTE: If you are new to “netstat” and other IP related commands refer this tutorial: Windows XP IP Utilities
  • The pic given below shows netstat results of my computer. I was not chatting when i took this pic and hence it looks modified.
  • Here local address is your own IP and the foreign address is the IP address of the recipient with whom you are connected via yahoo messenger (There may be multiple recipients and hence multiple foreign addresses).
  • Now send him the file.
  • Check the output by typing the command “netstat -n” (without quotes).
  • Assume the output is something like this.
TCP 127.0.0.10:5101 124.55.23.11:1246 ESTABLISHED
 
Here 124.55.23.11 is the IP address of the person with whom you are chatting and 1246 is the port number where connection is established. That’s It! You have now hacked Yahoo messenger to get his IP address.
Once you hack Yahoo messenger and get his IP address you can use any of the Remote Administration tools or perform NETBIOS HACKING.
NOTE: Some times there are chances where in the file transfer gets encrypted (takes place via yahoo server itself). So in this case the above hack may fail to work.

Change the Title of Yahoo Messenger

 

Here’s how you change the title text that appears at the top of the Messenger window. By default, this is “Yahoo! Messenger”, followed by your status. Simply edit the ymsgr.ini file, which you will find in the same folder as the Messenger program, in your Program Files folder. Locate the file and open it in Notepad. Then, at the end, add the following:

 
[APP TITLE]
caption=YOUR TEXT
 
Here, “YOUR TEXT” is whatever you want in the title bar. Save the file and close Messenger. When you restart it you will see your text in the title bar.

 

Renaming Win XP Start Menu Button

This guide will show you how to edit/rename the Windows XP start menu button. Are you bored of having the name “start”? If so now you can rename your start menu button to give the name of your choice.
 

STEP 1: BYPASSING WINDOWS FILE PROTECTION

 
1. Launch My Computer, click tools, folder options, then view
 
2. Select show all hidden files and folders option and uncheck the option hide protected operating system files, unckeck hide extention for known file types
 
3. Goto C:\windows\system32\restore, select the file filelist.xml, right click it go to properties and uncheck the option read-only
 
4. Open it (filelist.xml) with notepad
 
5. Add the line <rec>%systemroot%\explorer.exe</rec> as shown below
 
<exclude>
<rec>%systemroot%\explorer.exe</rec>
<rec> %windir%\system.ini</rec>
<rec> %windir%\tasks\desktop.ini</rec>
<rec> %windir%\win.ini</rec>
<rec> *:\AUTOEXEC.BAT </rec>
<rec>*:\CONFIG.MSI</rec>
<rec> *:\CONFIG.SYS </rec>
 
6. Save the file
 
7. Goto C:\windows\system32\dllcache, you will find a backup copy of explorer.exe. Rename it to explorer.bak.
 

STEP 2: CHANGING THE NAME OF START BUTTON

 
1. Using Resource Hacker, open the file explorer.exe located at C:\windows.
 
2. Expand string, expand 37, click on 1033
 
3. On right side raname “start” to anything you want. For ex. “yourname” and press “compile script”
 
4. Repeat the same procedure for string 381033
 
5. Save changes in file menu (if error occurs close explorer.exe and repeat sub-step 3 and 4)
 
6. Restart your computer. After restart you can see the changes. Enjoy!

 

 

Changing Windows XP Product Key without Re-Installation

This trick will show you how to change Windows XP product key without re-installing the operating system. This makes it possible to install a new genuine key without the need to format and re-install your Windows XP.
 
1. Goto start menu, run, type regedit
 
2. In registry editor goto
 
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS NT\CURRENT VERSION\WPA EVENTS
 
3. In the right panel open OOBE Timer
 
4. Edit/Change atleast one entry there, press OK and close registry editor.
 
5. In run type the following command
 
%systemroot%\system32\oobe\msoobe /a
 
and press enter
 
6. Activation wizard appears
 
7. Select activation by phone and in the next screen select the option CHANGE PRODUCT KEY, enter a valid corporate product key, press OK and close the wizard
 
8. Reboot the computer and type the same command in the Run
 
9. Activation wizard appears again and it shows the message WINDOWS IS ALREADY ACTIVATED.

 

Customize Windows Media Player Title Bar

This hack allows you to change the title bar from Windows Media Player to Windows Media Player provided by <Yourname>. So if you enter the text [realhackingtricks.blogspot.com], it would read: Windows Media Player provided by realhackingtricks.blogspot.com
 
 
1. Goto Start->Run.
 
2. Type “regedit” (without quotes) in the run dialogue box .
 
3. In the registry editor navigate to
HKEY_CURRENT_USER\Software\Policies\Microsoft
 
4. Create the Key [WindowsMediaPlayer].
Modify/Create the Value Name [TitleBar] according to the Value Data listed below.
Data Type: REG_SZ [String Value]
Value Name: TitleBar
Value Data: [Enter the text to be displayed in the title bar]
 
5. Exit the Registry editor and reboot.

How to Change IE Title Bar Text

This hack allows you to change the text on the Internet Explorer title bar. The default text or title is “Windows Internet Explorer”. You can change this title text to your own choice.

 
 
1. Goto Run (Press Win key+R)
 
2. Type “regedit” (without quotes) in the run dialogue box .
 
3. In the registry editor navigate to
HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMain
 
4. Modify/Create the Value Name [Window Title] according to the Value Data listed below.
Data Type: REG_SZ [String Value] // Value Name: Window Title
Value Data: [Enter The Text Desired In Title Bar]
 
5. Exit the Registry and Reboot.

How to Disable Windows Logo Key

At times it becomes necessary to disable the Windows Key on the keyboard. For example when playing games this nasty Windows Logo key keeps annoying, as we often accidently press it and this takes our game out to the desktop. So it becomes necessary to disable it when not needed an re-enable it when needed.
 
The following download consists of two registry scripts (.reg) one to disable windows key and the other to re-enable it. In this download there are two files
 
disable_winlogo_key.reg – Disable Windows Logo Ley
re-enable_winlogo_key.reg – Re-Enable Windows Logo Key

 

how to disable task manager

he following registry hack enables us to disable the Task Manager. Here is a step by step procedure to disable Windows task manager.
 
Step1: Goto start>run and type “regedit” in the run.
 
Step2: In the registry navigate to
HKEY_CURRENT_USER\Software\Microsoft\ Windows\CurrentVersion\Policies\System
 
Step 3: Make the changes according to the following data
Value Name: DisableTaskMgr
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = default, 1 = disable Task Manager)
 
Step 4: Then navigate to
HKEY_LOCAL_MACHINE\Software\Microsoft\ Windows\CurrentVersion\Policies\System
 
Step 5: Make the changes according to the following data
Value Name: DisableTaskMgr
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = default, 1 = disable Task Manager)
 
Step 6. In the Step 3 and 4, if the values are set to 1 then the Task Manager is disabled. Revert back to 0 in order to enable it back
 
WARNING: Please Backup your registry before attemting this hack. Changes to registry may lead to system failure.

Run Programs at Startup without using Startup folder

This tweak allows a program to be launched when the user logs onto the computer. It can be set to run minimized and there is no trace of the executable in the Startup folder on the Start Menu nor in the Documents and Settings folder accessible via Windows Explorer. 

1. Click Start, click Run, and type regedit to run Registry Editor. Navigate to

HKEY_CURRENT_USER\Software\
Microsoft \Windows\CurrentVersion\Run
 

2. Modify/Create the Value Data Type(s) and Value Name(s) as given below:

Data Type: REG_SZ [String Value]
Value Name: [Enter the Name of Program Executable]
Value Data: [Enter the Path to the Program Executable]
 

3. Exit Registry and Reboot.