Results 1 to 6 of 6
  1. #1
    tej
    tej is offline Member
    Join Date
    Apr 2009
    Posts
    8
    Rep Power
    0

    Default detecting location of ipaddress

    is it possible to detect location of connected system in network who connected to our pc based on ip address. please provide some example code in java.

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    798
    Rep Power
    6

    Default

    Hi,
    InnetAddress class in java.net package is used for getting host info.Please be clear whether what u want in location like city,country etc.If that is the case i think u might not get.

    Method: getHostName()
    Last edited by RamyaSivakanth; 05-07-2009 at 11:44 AM.
    Ramya:cool:

  3. #3
    tej
    tej is offline Member
    Join Date
    Apr 2009
    Posts
    8
    Rep Power
    0

    Default location of hacker

    i want to find the location of a hacker who hacked my pc .is it possible? i know the hackers ipaddress.
    is it possible to find the location using java code?

  4. #4
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    798
    Rep Power
    6

    Default

    Ramya:cool:

  5. #5
    ron87 is offline Member
    Join Date
    Mar 2009
    Posts
    52
    Rep Power
    0

    Default

    if u know the ip address of hacker just launch a complain in police..they will find the details for u....lol

  6. #6
    neilcoffey is offline Senior Member
    Join Date
    Nov 2008
    Posts
    286
    Rep Power
    6

    Default

    Also (although again, it's probably a bit academic), see what whois returns for that IP address. If the IP address belongs to a reputable company in a country with a legal system, then there'll be a place to report abuse, and maaaybe you might be able to get somebody to do something about it. Although then then, if you're not a big company with connections to the government, the sad fact is it's probably going to be difficult to persuade anyone to take it seriously.

    If if belongs to a Nigerian money launderer or an Iranian Internet cafe, then I'd just take a deep breath and spend your time mopping up the damage and securing your system.

    Incidentally, bear in mind that if the attacker had moderate resources, then the IP address may be spoofed anyway.

    A final thought, without wishing to give you any false hopes, you maay want to check out O'Reilly, "Internet Forensics". Good luck...
    Last edited by neilcoffey; 05-08-2009 at 02:45 PM. Reason: added book ref

Similar Threads

  1. ipaddress
    By tej in forum Networking
    Replies: 7
    Last Post: 04-25-2009, 06:07 PM
  2. Detecting software installed in PC
    By Lukalo in forum Advanced Java
    Replies: 3
    Last Post: 02-13-2009, 03:04 AM
  3. IPAddress to Country
    By sandeeprao.techno in forum Advanced Java
    Replies: 2
    Last Post: 12-19-2008, 01:39 AM
  4. IPAddress or HostName
    By abhijeet_152 in forum Networking
    Replies: 1
    Last Post: 11-27-2008, 06:58 PM
  5. How to track client logout time and orignal ipaddress (not gateway) in java
    By psandeep in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 06-13-2008, 12:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •