GoHacking.com: Ethical Hacking and Cyber Security
Home » HOW-TO GUIDES, IP ADDRESS, NETWORK HACKS

How to Find the IP Address of a Remote Computer

Submitted by on Thursday, 7 May 200972 Comments

Most of you may be curious to know how to find the IP address of your friend’s computer or the IP of the person with whom you may be chatting. If so, then this post will surely help you out.

In this post I’ll show you how to find the IP address of a remote computer in simple steps.

I have created a PHP script to make it easier for you to capture the IP address of the any computer of your choice. Here is a step-by-step process to find out the IP address:

  1. Download the IP Finder script (IP_Finder.ZIP) that I have created.

  2. Open a new account in X10Hosting (or any other free host that supports PHP).

  3. Extract the IP_Finder.ZIP file and upload the two files ip.php and ip_log.txt into the root folder of your hosting account using the File Manager.

  4. You can rename the ip.php to any name of your choice.

  5. Set the permission to 777 on ip_log.txt.

Now you are all set to find the IP address of your friend or any remote computer of your choice. All you have to do is send the link of ip.php to your friend or the person with whom you’re chatting. Once the person click’s on the link, his/her IP address is recorded in the file ip_log.txt.

For your better understanding let’s take up the following example:

Suppose you open a new account in X10hosting.com with the subdomain as abc, then your IP Finder link would be:

http://abc.x10hosting.com/ip.php

You have to send the above link to you friend via email or while chatting and ask him to visit that link. Once your friend clicks on the link, his IP address will be recorded along with the Date and Time in the ip_log.txt file. After recording the IP address, the script will redirect the person to google.com so as to avoid any suspicion.

To find the recorded IP address, check the logs using the following link:

http://abc.x10hosting.com/ip_log.php

The sample log will be in the following format:

79.92.144.237 Thursday 07th of May 2009 05:31:27 PM
59.45.144.237 Thursday 07th of May 2009 05:31:28 PM
123.92.144.237 Thursday 07th of May 2009 05:31:31 PM<

NOTE: You have to replace abc with your subdomain name.

I hope this helps. Express your opinion and suggestions through comments.


72 Comments »

  • Sushant said:

    Hi Srikanth!
    your posts are realy helpful to learn
    can you tell me the html script for sending link by specific name, like “HERE IS THE LINK”

  • jad said:

    helloo im having a problem
    i did wat u said,, but it keep saying

    Warning: Unexpected character in input: ”’ (ASCII=39) state=1 in /home/jjaadd/public_html/jaha.php on line 7

  • raman said:

    i joined x10hosting ..but how carry out this..

    3. Extract the IP_Finder.ZIP file and upload the two files ip.php and ip_log.txt into the root folder of your hosting account using the File Manager.

    4. You can rename the ip.php to any name of your choice.

    5. Set the permission to 777 on ip_log.txt.
    m not able to carry out the steps 3,4,5..pls help

  • Srikanth (author) said:

    @ raman

    Seems like you have no knowledge of how to upload files using the filemanager. For more info, search on google

  • Srikanth (author) said:

    @ jad

    Make sure you have PHP 5 or newer. If you have an older version of PHP try upgrading it…

  • T said:

    Hello,
    I am not the most technology savvy person. Is there any way you could contact me? I would like your assistance with something. Thank you.

  • Eduardo said:

    What about Windows 7?

    Are you working to provide us an activator?

    The windows vista activator you provided later is really working a lot here in my computer.

    Thank You a lot!

  • John said:

    Is there any way to get the IP of a person who has sent me a PMS via forum.

  • Abhishek said:

    i have uploaded file.. but i am not getting the url as u said.. how 2 get it,,pls let me know..

    thanks

  • Srikanth (author) said:

    @ Abhishek

    Plz follow every step carefully and it should work perfectly.

  • swapnil said:

    Hey..
    i dont get any information in txt file.
    but every thing is working properly.
    So can you help me?

  • Srikanth (author) said:

    @ swapnil

    Have you set the permissions to 777 on the txt file?

  • swapnil said:

    ya
    but i dont know where to upload these .txt file
    either in 1.public ftp root
    2.home directory.

  • Srikanth (author) said:

    @ swapnil

    YOu need to upload to home directory.

  • merck said:

    hey please teach us how to use that file manager. i have no idea what is it.. thanks..

  • merck said:

    where can i get file manager? how can i make it appear? i think i know how to use it now. but the problem is i dont kow where is it

  • merck said:

    as i openned the file manager 4 things popped out.. what should i click
    File Manager Directory Selection
    Please select a directory to open:

    * Home Directory
    * Web Root (public_html/www)
    * Public FTP Root (public_ftp)
    * Document Root for:

    Show Hidden Files (dotfiles).
    Skip this question, and always open this directory in the future when opening File Manager.

  • rexter said:

    i’ve a freetzi.com account…
    but can’t set permission to 777…
    how would i do that???
    what is the significance of this permission???

  • rexter said:

    i’ve a x10hosting accout too…
    in account pannel where would i upload my files???

  • mewmewael said:

    how cani set the permission to 777?

  • Srikanth (author) said:

    @ mewmewael

    The permission option should be there. check for that and set it to 777.

  • Srikanth (author) said:

    @ merck

    click on Web Rool (public_html/www)

  • cloud said:

    whats the benefit or any usage of hetting someones’s ip address?
    i mean what can we do using someone else’s ip?

  • Hidayath said:

    Hi shrikanth nice too meet you really u r great man u have good knowledge i want too b like you am hardware Engineer can i learn from you something…? can i have ur e-mail so i can u mail u directly….? if yes plz send me mail this is my id [email protected] i will b waiting for ur reply thanking u…
    Regards
    Hidayath

  • The Black Hat said:

    HI Srikanth,
    I want to know how can I hack using their IP.
    Pls make a tut about it, I’m So keen to learn about it ;) .
    Plss ;)
    Thanks :)

  • Harvinder said:

    can i knw other ip address through remote computer??? then hw it can doo

  • manojshri007 said:

    hi shrikant this is ram want to ask that ,i ve plan UL 750 of broadband in which there is only 32 downloading speed ,i want to increase it how can i done this………………..

  • Shoki said:

    what can someone do by knowing other’s IP? what are the threats if your IP is known to others (Hackres)?

  • sam said:

    hi srikant…thanks for this script…do u have a script that can block the working of any software installed in a computer???

  • Shrikant said:

    Hi
    is it only for linux or for windows as i dont knw how to set full permission 777 in windows

  • sanchit said:

    i did whats given up here …but the link (ip_log.php) says link broken nd does not show yhe recorded ip..pls help .!

  • Srikanth (author) said:

    @ Shrikant

    Setting permission is only for linux.

  • shahzad said:

    please help my personal data(some images) which was leaked from my computer to my cousins. now i want to hack there system to remove the data please help……………its very important

  • aniya said:

    how can you know your domain name?

  • aniya said:

    i mean *subdomain name sorry not domain name

  • Cyril said:

    Hi!!

    Cud you please give me any information about data recovery from a pendrive and HDD???

  • Osman said:

    hey I’ve been reading your stuff fr a while now and i wanted to know i work off a wifi network and am running out of unsecured network’s and wanted to know if you can teach me or tell me how to “hack” into a network i would so very reatfull please get back to me via email [email protected]

  • NEIL said:

    how to gain access to a machine after knowing his IP address without any SPY program

  • knightwing said:

    hi mr.sreekanth,

    i did everything you wrote … i uploded the script & the .txt file at x10hosting & when i click the link…it saying that server not found. i also upload the same at 110mbhosting..but here when i click the link , it redirect me to dreamstroke.com&the ip is not saving at .txt file…..plz help

  • Srikanth (author) said:

    @ knightman

    110mb.com is not good for free hosting since it redirects it’s users. This is a known issue with 110mb.com. You can try some other free php host.

  • anne said:

    i’m surfing internet using my mobile internet explorer. i hack into yahoo mail b4 and i don’t want them to get my ip add because it can be trace. is there’s any software for mobile phone to hide ip add or change it. i’m using latest model htc touch screen which have internet explorer, opera, windows office. i’m using microsoft windows for mobile… can u sugget any website that i can use? thanks

  • Shrikant said:

    Hi Sri !!
    ur tricks r amazing dude !!
    thanx

  • 011rakesh said:

    hi siri u r grate,it work 110% i used it sure u r very genious person,MY salute for 4 u

  • ramanan said:

    hi the things you give is gooooooooooooooooooooooood

  • Mohammed said:

    Shrikant i sign up on x10hosting.com but after i finished the registration i cant find the file manager.Do i need to create a site before i can see the file manager

  • ron said:

    hello srikanth

    in internet cafe some software running for delete data after restarting computer what user saved in comp . how can i stop that software………………………….

    i hope your a post about this

  • sona said:

    Hi..is this realy work? is this for linux or window xp? and where is file manager…plz help…

  • Bill said:

    Srikanth,
    Is ip (Internet protocol) and mac (Machine access code) the same. If not, what is the difference between them ?

  • Syam said:

    Hi Sri,

    This is an excellent site Sri.

    I tried what you have given and yes it is working.
    But, when i execute it from my machine, it is giving an ip address, but that is not the one, when i am giving ipconfig.

    Why it is like this? how can i fix this.

    Please reply or send me a mail.

    Thanks
    Syam

  • Srikanth (author) said:

    @ Syam

    The address shown by “ipconfig” is not your IP address. The IP shown by this script is the real one.

  • kushal said:

    hi srikanth…
    its working…
    can i use x10hosting.com for hacking yahoo account?(phishing)? as u suggested to use 110mb.com…
    please suggest me…

  • sonu said:

    Thanks dude it works pretty well.
    Can u teach me how to gain access on a remote computer hard disk by hacking? the IP address…..Pls. You can Email me.

  • Payal said:

    If we know the ip address of remote computer, then it is possible to see the activity of that computer?

  • leafar said:

    Hi Srikanth,

    I did what u said but where I have to upload the two files ip.php and ip_log.txt ?
    now I open -cPanel-
    then im going to -File Manager-
    then -Web Root (plubic_html/www)

    and now here home
    etc
    mail
    public_ftb
    public_html
    tmp
    www

    where shoud i install the two files? ip.php and ip_log.txt?

    can someone tell me pls! ty take care all

  • Srikanth (author) said:

    @ leafar

    You shd install it in “public_html”

  • leafar said:

    WOW I DID IT MAN,great it works lol was hard for me but finnaly i did ur amayzing man great site! ty vm ur number 1! thx again take care cya around!

  • swagnik said:

    thanx…its working!!

  • Soundarya said:

    The IP Address that is shows is the ip address of the Router or the Modem. Is that what u get?

  • genie said:

    where can i get file manager? how can i make it appear? i think i know how to use it now. but the problem is i dont kow where is it

  • Nanda said:

    Hi Sri, I checked the tricks, please send me the trick to hack the hard disk using the remote ip address..
    regards
    Nanda

  • MANISH said:

    HI SIR….!!!
    U R SO TALANTED PERSON……..
    U DO ALL UR PROGRAM IN C LANGUAGE……AS U SAID..
    IT MEANS U R SO TALANTED IN C ALSO…..
    SO CAN U TEACH ME…….C PLZZZZZZZZ
    BECAUSE I WANNA A SYSTEM PROGRAMMER…
    REPLAY MUST…..

  • mack said:

    man cool tricks keep the good work going

  • Simpson said:

    Hi,

    What can you do with the ip-address of the router?

    Grs
    Bart

  • nikky arora said:
  • sameer said:

    how 2 upload those files 2 filemanager…
    plz giv descriptn plz

  • yash said:

    -+-WORKING-+-

  • Ghost said:

    I know that this was asked a long time ago, but I’m going to answer it anyway. Maybe someone will read it and stop themselves from asking the same question.

    In all honesty, the things that you can do with someone’s IP address are nearly endless. You can remotely shutdown the computer, install keyloggers, gain access to hard disk files, Trace where that person lives right down to the block, access printers. There is just so much that you can do with a simple IP address, and the right skills/information. I hope that answers a few questions.

  • Srikanth (author) said:

    @ sameer

    Plz follow the steps carefully. For more help use Google to find tutorials on how to upload files through filemanager.

  • valdon said:

    It works..thank u so much for this possting!!

  • Shehzaad said:

    hey bro… thanx… works perfectly…. ;)

  • JOE said:

    hey dude good job da…i’m a good fan of u…..thanx for those tips

  • Pradeep said:

    Bravo…!!! Good work done…i was seeking this since a long time !!! Works perfectly without any problem and very easy !!

    Keep up !!