How to Locate an ip and use it?

Posted by: DaMaRiS

How to Locate an ip and use it? - 09/26/02 09:21 PM

Ok hi I have a question. I am sick of going on AIM and asking my friends. Can i have ur ip address? because i still haven't had a chance to use my skills. I enter some ips into Languard and gind lists of open ports but can't do anything. So my question is how to locate an ip using Dos and how to put the ip address i know into action?
Posted by: sinetific

Re: How to Locate an ip and use it? - 09/26/02 11:42 PM

Netstat -n gives you the numerical address of any machine that has a tcp/udp connection to your machine. But you dont connect to each others machines via AIM, you both connect to the AIM server. Your going to need to get them to form some type of direct connection to your computer to get their IP. If you dont even know that I highly doubt that there will be any "skills" going into "action".
Posted by: black^Pimp

Re: How to Locate an ip and use it? - 09/27/02 07:39 AM

Hi DaMaRis, well sinetific explained it, but i'll explain it to you in a more detailed way on how to get the whole work done, you're here to learns o do not use this for illegal activities, or at least don't blame me for tellin you how to hehe.

So listen. If you do not already have an IP address to "work on" then here are a few easy ways to get one. Remember that these are the basic techniques, there are others.

Getting an IP address from MSN Messenger :

If you have MSN Messenger you can get the person you are talking to IP by sending them a file. When you are normally chatting with someone you dont have whats known as a direct connection to their computer. It works like this:

Your PC -----> MSN Server ----> Recipients PC
143.35.78.89 24.67.89.1 67.127.35.9

So if you just tried getting the IP address of you victim while just talking, you would get the IP of the MSN server. I advise against trying to hack that (But if you think you can then do us all a favour). When you send them a file, you establish a direct connection to their computer and not through the MSN server. While the file is being sent, open your command prompt and type 'netstat' without the colons. This very useful command will give you a list of connections your pc has established and is trying to establish/mantain:

C:\> netstat

Active Connections

Proto Local Address Foreign Address State
TCP jester:1047 205.188.7.163:5190 ESTABLISHED
TCP jester:1053 64.12.26.0:5190 ESTABLISHED
TCP jester:1054 64.12.27.67:5190 ESTABLISHED
TCP jester:1056 websys.aol.com:http TIME_WAIT
TCP jester:1089 [email protected] ESTABLISHED

You will see one long one that wont be in the form of an IP address, this is a host address. It will look something like: [email protected]
From here you have to do a NS (Name Server) Lookup. This will translate the host address into an IP address and then you have what you want. Some sites have an online NS lookup but there are also many programs that do it aswell. One program that I recommend you download is Cyberkit. This app contains many useful tools that will help you out greatly, one of those being NS Lookup. You can get Cyberkit from http://www.cyberkit.net.


Getting an IP address from IRC :

Another way of getting an IP address is from IRC (Internet Relay Chat). I wont go into what IRC is exactly and how to enter IRC. All you have to do when you are on the IRC channel is give the command: \whois username. Username is where you put their username. This will give you lots of details about the user and hopefully the IP address, although it may be in host address format. Some IRC's hide your IP address though so this wont always work. Here is an example of the type of output you will get after the whois command:

/whois JoeBlow

JoeBlow is [email protected]
JoeBlow on #wazzap
JoeBlow using Buffalo.NY.US.XWorld.org BikerBabe's Haven
JoeBlow End of /WHOIS list.

From here you would just do a NS lookup on that host address and you'd get the IP address you need. Be careful not to get the IRC server IP/host address though....

Getting an IP address from email headers :

The third simple way of getting an IP address is looking at the headers of an email. Here is an example of an email header:

Received: from 194.117.133.196 by pv1fd.pav1.hotmail.msn.com with HTTP;
Sat, 04 May 2002 09:44:00 GMT
X-Originating-IP: [194.117.133.196]
From: "Joe Blow" <[email protected]>
To: [email protected]
Subject: What are the steps of a common hack?
Date: Sat, 04 May 2002 09:44:00 +0000
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_NextPart_000_5cc6_4c43_171f"

On the third line down you have the IP address, simple.

Now, just because you got your IP, your not done yet. Here is an important thing that you must learn about IP addresses. IP addresses come in two forms: Static and Dynamic. You would ideally like a static IP. Why? Because static IP addresses are always stay the same. People with broadband/cable or any other service that leaves you permanently connected will usually have a static IP address. This is good for you because your target will always been there so you can take your time. Dynmamic IP addresses belong to anyone who has dialup connection (probably you) and this means that every time you connect to the internet, you get a different IP address. This can be an annoying problem because if get someones IP and they are on dialup, chances are that it has already changed. However if you get the IP from MSN or IRC, you know they are online so start now! This is why email headers are sometimes misleading. This is why people usually prefer to hack servers; they have static IP addresses.

Those are the basic ways of getting IP addresses but there are many other automated ways. You can get programs that will scan a range of IP's E.g. 213.78.16.0 to 213.78.16.255 and ping them to see if they are active. You can also use ping to see if a host is alive. That is what ping does, sends a packet to the chosen computer asking it to respond. The ping will then usually give you a list of times or host not found which means this IP address is offline/not being used/useless. To ping a host/IP address, open your command prompt and type ping.....

Well I think that will help you out enough, if not than just let me know.

Hope i didn't break any rulez here.
Posted by: DaMaRiS

Re: How to Locate an ip and use it? - 09/27/02 08:32 PM

This is cool but can any of you give me an ip address I can use to try out stuff (i wont delete anything trust me)
Posted by: CyberNerd

Re: How to Locate an ip and use it? - 09/27/02 08:57 PM

they are called wargames, best way to practice look around for some. Only time it will ever be legal for you to hack anything, and if your trying to get into someones computer you'll need a port scanner :-P(if you dont have one). But maybe thats just my own crazy way of doing things
Posted by: black^Pimp

Re: How to Locate an ip and use it? - 09/27/02 09:02 PM

Yeah, Wargames are great stuff, but i think you're still not about that. and yeah, you should get a port scanner, try Superscan
Posted by: CyberNerd

Re: How to Locate an ip and use it? - 09/27/02 09:41 PM

hey, UGN has some scanners too. Look in the File List
Posted by: pergesu

Re: How to Locate an ip and use it? - 09/27/02 10:34 PM

http://www.insecure.org/nmap/ is home to nmap, which is possibly regarded as the best scanner around
Posted by: Infinite

Re: How to Locate an ip and use it? - 09/27/02 10:58 PM

I have an IP that you can play with DaMaRiS. It's 127.0.0.1 feel free to explore all ya like.

sum
Posted by: black^Pimp

Re: How to Locate an ip and use it? - 09/27/02 11:04 PM

sum, hahahahahahah, that' was awesome.

P.S. pergesu, you forgot to add that NMAP is only available in LINUX
Posted by: Infinite

Re: How to Locate an ip and use it? - 09/27/02 11:09 PM

nmap has been ported to windows now.

http://www.insecure.org/nmap/nmap_download.html

sum
Posted by: black^Pimp

Re: How to Locate an ip and use it? - 09/27/02 11:14 PM

wooho that's cool, last time i checked it wasn't, but i saw it there, pretty good they made it for windows too.

thanks sum
Posted by: DaMaRiS

Re: How to Locate an ip and use it? - 10/01/02 09:08 PM

Yea i have this IP tools thing well i'll try it out now. and what is a wargame w/e?
Posted by: BackSlash

Re: How to Locate an ip and use it? - 10/01/02 11:38 PM

umm, i think a wargame is generally you trying to hack a computer that has been set up for the specific purpose of being hacked. it has security and what not, but you can't get in trouble for hacking it... atleast i think
Posted by: DaMaRiS

Re: How to Locate an ip and use it? - 10/02/02 08:04 PM

Ok thanx but give me a wargame and my new question. I found a IP address with Open Ports and I have the program IP Tools. Now how do I explore this persons computer (i have their permission)
Posted by: black^Pimp

Re: How to Locate an ip and use it? - 10/02/02 08:23 PM

DaMaRiS man we can't explain you the same things twice, read my post above, it explains a lot... but if you want, ok than i'll try to help you as much as i know, but man you need to know something, you have to read at least 20.000 books to become a hacker, it's not easy as you think. Coz only if you got access to someone's comp that doesn't mean you're a hacker now... hackers don't do only bad things as most of the people things, there are differetn types of hackers if you didn't know.. white hat, black hat, grey hat...

Listen i suggest you read a very very very good and maybe most important tutorial or how to call it ever released, you can find this file at the UGN kbase i think, if not than try the fbase, i'm sure it's there coz i saw it, you just search for it. the file is called

The Conscience of a Hacker - by The Mentor

oh wait i'll give you the full link to it...

http://www.undergroundnews.com/files/texts/underground/hacking/hack7.htm

so make sure you download it and read it.

P.S. Wargames are already explained to you, well i agree with BS, you CAN'T get in trouble hacking it, because that's just why they're made, to get hacked hehe.

see ya
Posted by: dashocker

Re: How to Locate an ip and use it? - 10/02/02 08:27 PM

hmmm, i cant believe im actually responding to this topic. first off, black^pimp, to get an IP in IRC all u have to do is type /dns (nickname).
second, (Person-asking question) you may want to acutally learn about the basics of computers and the internet and such things, perhaps what "IP" means, before u start trying to "hack" things.
Computers just dont have "hacking ports" u connect to and start deleting things and what not.
Ports are open because of software programs. These programs may have flaws that it is possible to exploit in order to do some "hacking". But you probably dont even know what a port is.
so....i will now bequeath you with the secret to h4ck1ng th3 pl4n3t: Google
Please use it wisely. Try searching for "wargame" if u have any further questions about locating one.

ohh whoops, im supposed to be nice to n00bs...
Posted by: black^Pimp

Re: How to Locate an ip and use it? - 10/02/02 08:33 PM

oh yeah i forgot to add something...

For those who use Wargames here is a great tool.
Now you don't have to change from one letter, to a 3 digit decimal, and then to a 8 digit binary code, you can just go straight from WORDS to BINARY! And Vice-Versa! Great site...

http://www.theinfo.org/programs/binary/

it's called BINARY TRANSLATOR

pretty good thing
Posted by: black^Pimp

Re: How to Locate an ip and use it? - 10/02/02 08:36 PM

of course dash hocker, i agree with you, and i know about the mIRC things, and i can post a lots of other usefull shit, but man, i tried to tell him the same thing as you, newbies need to learn much more basic things before starting with hacking and shit... huh

see ya
Posted by: Cold Sunn

Re: How to Locate an ip and use it? - 10/04/02 11:41 AM

I just want to post to say, black^pimp: even though you are new to this board, you have been conducting yourself in a non-newbish way. I think you posted more than enough information for this dude.

Damaris- black^pimp gave you a great deal of information. I am not a "hacker" but you are greatly annoying. You shouldn't come onto boards saying you want to use your skills when it is obvious you don't have them. When b^p posted all that and then you just asked if anyone could give you an ip, that was disrespectful and annoying. I think "hacking" is something you won't be interested in by next week.
Posted by: Gremelin

Re: How to Locate an ip and use it? - 10/04/02 12:21 PM

Damaris, I honestly have no problem with you, you're just another of many newbies. Its when my elder members start getting ticked that problems arise with me. I believe that your question has been answered so stop bringing this bull ish up.

BP, I value your enthusiasm and news (which you need to work on a bit ) but please, for future referance, answer the newbs then move on.

I call this topic closed, if anyone would like to argue about it, meet me on the irc for your akill.