Many times you land into a situation where you talk to an unknown person and want to find his/her location without asking them. Though there is no direct method to find IP of a Facebook/WhatsApp user, because there is no direct communication between you and that user. Facebook server works as intermediate entity. That user communicate to Facebook server (for like, share, comment, chat or changing status), and Facebook server replicates those messages to you.
However, here we are listing few workaround methods using which you can know the IP address of a person with whom you are chatting with. With IP address you can know the location of the person easily.
Easiest Way: Creating a Tracking Link
Though there are many ways, I prefer this way as this is the most easiest way and works 100% with simple social engineering skills.
Then, there is an interesting service called InspectLet, which does a lot more than what our requirement is. However, we can easily find out the IP address of a person while chatting on any social networking site with this service.
This service tracks everything when a person visits a webpage where you installed the tracking code.
Then you can check the demo video over there on how to install the script on the site.
Once you have done that, all you have to do is to send a link of a landing page where you installed the script.
Then once the person clicks on the link everything will be recorded including the operating system, browser, IP address and lot many other things with the screen recording of the user navigation.
Use NETSTAT to find IP address of that User
To do so we will be using “netstat” command in windows. If you want to know the IP address of a specific person on facebook or whatsapp or any chat service.
Message or ping him for a chat and while chat is ON open ‘Command Prompt‘ on your PC (Start >Run>cmd)
Note: Before you run the command just make sure that you close all the existing browser to avoid confusion.
When command prompt opens Type the following command and hit Enter.
And you will get all established connections IP addresses there. Note down all the suspicious IP’s
The Next Step is to Trace that user using his IP address.
To do so we will be using IP tracer service. Go to the below address and paste the IP address in the box that says “lookup this ip or website”. It will show you the location of the user.
It will show you all the information about that user along with his ISP and a Location in the MAP. Now in the MAP Just click on “click for big ip address location” in the big picture you can actually zoom in. and try to recognize the area. If any serious matter just note down the ISP details in that page and contact them about the IP. they will respond you.
Other netstat commands: -a Displays all connections and listening ports. -e Displays Ethernet statistics. This may be combined with the -s option. -n Displays addresses and port numbers in numerical form. -p proto Shows connections for the protocol specified by proto; proto may be TCP or UDP. -s option to display per-protocol statistics, proto may be TCP, UDP, or IP. -r Displays the routing table. -s Displays per-protocol statistics. By default, statistics are shown for TCP, UDP and IP; the -p option may be used to specify a subset of the default.