Previous Thread
Next Thread
Print Thread
Rate Thread
#7300 03/20/04 02:42 PM
Joined: Mar 2004
Posts: 419
S
Spyrios Offline OP
UGN Member
OP Offline
UGN Member
S
Joined: Mar 2004
Posts: 419
ok i have googled and searched but maybe i'm just not that good yet. can some on please tell me how i can see a list of my ports open and otherwise? is it a command line thing or is there a way to see from within windows. i run xp home on my desk and pro on my laptop.


D, world destruction
Over and overture
N, do I need
Apostrophe T, need this torture?-They Might Be Giants
#7301 03/20/04 07:40 PM
Joined: Mar 2002
Posts: 1,041
I
UGN Elite Poster
Offline
UGN Elite Poster
I
Joined: Mar 2002
Posts: 1,041
netstat -an

smile

#7302 03/20/04 08:29 PM
Joined: Mar 2004
Posts: 419
S
Spyrios Offline OP
UGN Member
OP Offline
UGN Member
S
Joined: Mar 2004
Posts: 419
um maybe i googled it wrong but that shows me analog-x website and the utility just shows me how fast my modem is going? can you clarify?


D, world destruction
Over and overture
N, do I need
Apostrophe T, need this torture?-They Might Be Giants
#7303 03/20/04 09:32 PM
Joined: Jun 2003
Posts: 807
Likes: 2
G
UGN Super Poster
Offline
UGN Super Poster
G
Joined: Jun 2003
Posts: 807
Likes: 2
Infinite wants you to type that into the command line, not search for it with google. wink

#7304 03/20/04 10:57 PM
Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
Offline
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
In DOS or cmd line.. Let me back up. Windows NT 4.0, Windows 2000, and Windows XP do not have DOS. They have a command line that looks a hell of a lot like DOS. Windows 95, 98, ME have DOS. For the point of this disscusion DOS and commandline are the same thing.(Even though they really are not)

The netstat DOS help file is shown below

Quote:

Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]

-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. If used with the -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.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press CTRL+C to stop redisplaying
statistics. If omitted, netstat will print the current
configuration information once.
The letters you see are known as switches or attributes. Each one dose something different. You can combine them to spit out even more info.
Play with the switches a bit and you will see al kinds of good info.

I think you might find netstat -s useful

#7305 03/20/04 11:37 PM
Joined: Mar 2004
Posts: 419
S
Spyrios Offline OP
UGN Member
OP Offline
UGN Member
S
Joined: Mar 2004
Posts: 419
outstanding info. For the first time ever since my curiosity in programming a computing was peaked again, i got staright friendly answers that made sense, without the flame. you guys rock. ty. and i gues that's why googling it didn't work. another thing where is the documentation on that sin? so i don't have to ask about comannd line stuff. as for the difference Between the command line and DOS, i'll google it smile


D, world destruction
Over and overture
N, do I need
Apostrophe T, need this torture?-They Might Be Giants
#7306 03/20/04 11:44 PM
Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
Offline
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
just type in

"netstat -h"

in the command line. I do not mind helping you out because you didn't come in here asking stupid questions. I do flame people. But they usally ask stuff like, How do I hack hotmail or can anyone help me get free adult content. You seek knowledge and are willing to work for it. That will get you help in here real fast. That is why most of the long standing members are here.

#7307 03/20/04 11:46 PM
Joined: Jun 2003
Posts: 807
Likes: 2
G
UGN Super Poster
Offline
UGN Super Poster
G
Joined: Jun 2003
Posts: 807
Likes: 2
You can also use "command/?" to display help information:
Code
C:\>netstat/?

Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-e] [-n] [-o] [-s] [-p proto] [-r] [interval]

  -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.
  -o            Displays the owning process ID associated with each connection.
  -p proto      Shows connections for the protocol specified by proto; proto
                may be any of: TCP, UDP, TCPv6, or UDPv6.  If used with the -s
                option to display per-protocol statistics, proto may be any of:
                IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
  -r            Displays the routing table.
  -s            Displays per-protocol statistics.  By default, statistics are
                shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
                the -p option may be used to specify a subset of the default.
  interval      Redisplays selected statistics, pausing interval seconds
                between each display.  Press CTRL+C to stop redisplaying
                statistics.  If omitted, netstat will print the current
                configuration information once.
"command help" also works:
Code
C:\>netstat help

Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-e] [-n] [-o] [-s] [-p proto] [-r] [interval]

  -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.
  -o            Displays the owning process ID associated with each connection.
  -p proto      Shows connections for the protocol specified by proto; proto
                may be any of: TCP, UDP, TCPv6, or UDPv6.  If used with the -s
                option to display per-protocol statistics, proto may be any of:
                IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
  -r            Displays the routing table.
  -s            Displays per-protocol statistics.  By default, statistics are
                shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
                the -p option may be used to specify a subset of the default.
  interval      Redisplays selected statistics, pausing interval seconds
                between each display.  Press CTRL+C to stop redisplaying
                statistics.  If omitted, netstat will print the current
                configuration information once.


C:\>
heh Damn_newb, sintax is one of the most knowledgeable members here. He only flames when someone needs to be flamed. This wasnt a stupid question like he said. Also, about searching google for information on commands, type them in quotes like this:
Code
"netstat -an"
That acctually searches for the command, as well as the -an flag. In google, typing "-an" after something will mean that you dont want to return results that contain "an". Putting it in quotes searches for the exact string of text.

#7308 03/21/04 12:03 AM
Joined: Mar 2004
Posts: 419
S
Spyrios Offline OP
UGN Member
OP Offline
UGN Member
S
Joined: Mar 2004
Posts: 419
well look at that, that was something i half knew, i knew anout the quotes for exact matches but not about the minus thing. and i typed it in and sure enough there it was and even how to read what i pulled up, woot.(oops gamer)


D, world destruction
Over and overture
N, do I need
Apostrophe T, need this torture?-They Might Be Giants
#7309 03/21/04 03:24 AM
Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
Offline
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
Quote:

heh Damn_newb, sintax is one of the most knowledgeable members here.
Not realy. I am a jack of many trades but master of none. There are peeps I look up to in here. JC, Gizzy, Pergesu, tbg... the list goes on and on. I know some webdevelopment and a bit about telco datanetworks. Outside of that I am a n00b in many areas.

#7310 03/21/04 03:34 AM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
You look up to, me? Awwe!


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#7311 03/21/04 10:14 PM
Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
Offline
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
Nah man, there is this dude named Gizzy. You're Gizmo.

*sniker*

#7312 03/21/04 10:43 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
ahh, that [censored].. I hear you can buy him off with a couple fifths of vodka...


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#7313 03/21/04 11:17 PM
Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
Offline
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
Heh, dude you owned me... I kinda have to look up by default. However I do anyway. You have skillz, Plus you saved UGN.

#7314 03/21/04 11:41 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
Wasn't too hard to own you and pull your dox; that plus your board sucked like hell wink ...


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#7315 03/22/04 05:14 AM
Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
Offline
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
yea yea. stupid whois search. I left xnull over a year ago. The same company who makes YABB. I get emails all the time saying we are sorry we were hacked again. They haven't even updated thier mailing list. Thier security blows. Service sucks. Live and learn. Not the peeps I have now rock. I call 24/7 I get a live body and the issue is fixed in 5 minutes. Live and learn

#7316 03/22/04 05:42 AM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
Yeh, your ISP sucked too wink ... Dear god they sucked... Well, you learned that UBB is god if you have the cash for it wink ...


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#7317 05/20/04 07:22 AM
Joined: May 2004
Posts: 1
R
Junior Member
Offline
Junior Member
R
Joined: May 2004
Posts: 1
for future reference if i may, go to :[link removed].
this program will do alot of the work for you.

#7318 05/20/04 03:02 PM
Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
Offline
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
You post was just

SHUT DOWN

heh

#7319 05/20/04 03:15 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
wink ...

If theres one thing that pisses me off more than anything it's when people register just to promote a site in a post...


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#7320 05/20/04 04:06 PM
Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
Offline
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
Yea, Like if I came on her and advertised my site .

#7321 05/21/04 04:30 AM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
yeh but you're differant, we at least like you


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#7322 05/25/04 07:23 PM
Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
Offline
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
Ahhhh. Thanks guys! Oh I will pay you early this month to keep saying stuff like that.

#7323 05/25/04 10:56 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
pay me?


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#7324 05/26/04 04:49 AM
Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
Offline
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
Shhh, friendship dues.

#7325 05/26/04 02:27 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
yey!


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#7326 05/27/04 05:28 AM
Joined: May 2004
Posts: 10
Junior Member
Offline
Junior Member
Joined: May 2004
Posts: 10
..yeah..
netstat -an
......................... :s

-hyperx

#7327 05/27/04 08:55 AM
Joined: Oct 2002
Posts: 616
UGN Super Poster
Offline
UGN Super Poster
Joined: Oct 2002
Posts: 616
um....

http://scan.sygatetech.com/

and

http://www.google.com/search?sourceid=navclient...=UTF-8&q=online+port+scan

hehehe...that's always easier. Or nmap/saint/satan if your a linux user...just thought I'd say. Netstat for me, is getting old, I like it when people reinvent the wheel. As has been done, in revolutions since long before even written glyphs.


"Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
The frumious Bandersnatch!"
#7328 06/09/04 07:33 PM
Joined: Oct 2003
Posts: 209
Member
Offline
Member
Joined: Oct 2003
Posts: 209
On a related note: Anyone have a list of what programs use which ports? And which ports you don't want open? Also how to close them..

EDIT: I heard that port 5000 is a trojan port, and my computer is listening to it. What's it actually for?


Those who say do not know.
Those who know do not say.
#7329 06/09/04 08:16 PM
Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
Offline
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
http://www.iana.org/assignments/port-numbers


Heh, now study the TCP/IP protocols on the ports you have questions about. No port is reserved for a trojan. A trojan may use a specific port but when the brain trust developed TCP/IP protocol suit they did not say lets reserve port XXXX for a trojan

commplex-main 5000/tcp
commplex-main 5000/udp


Looks like port 5000 can be used with TCP or UDP

RFC 739 TCP(TRANSMISSION CONTROL PROTOCOL)
ftp://ftp.rfc-editor.org/in-notes/rfc793.txt


RFC 768 UDP(User Datagram Protocol)
ftp://ftp.rfc-editor.org/in-notes/rfc768.txt

Think of TCP and UDP as similar but different protocols. Also study the OSI modle. Here is a basic TCP/IP protocol stack in relation to the OSI model [Linked Image]

As you can see both UDP and TCP are on the transport layer of the OSI modle. This is because they are both used for transport. Read and understand what I just gave you and you will have better questions to ask.

If you want to learn to network security.. Study the TCP/IP prtocol stack. Everything you do in a network involves at least several protocols. Learn how the work. How networking in general works. What each layer of the OSI modle describes. How the TCP/IP modle stack is laid out *When authentication starts* Oh and here is where number systems come in handy...

#7330 06/09/04 10:32 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
in a nut shell; anything can run on any ports; just some are more common than others.


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#7331 06/10/04 01:45 AM
Joined: Oct 2003
Posts: 209
Member
Offline
Member
Joined: Oct 2003
Posts: 209
Spanky.. I'll look into that.
Gizmo: You make sense :p


Those who say do not know.
Those who know do not say.
#7332 06/10/04 02:57 AM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
I made perfect sense. Any program can open a port, the ports aren't assigned to anything, a program can run on any port it wants; just some ports have more common services running on it than others...

21 is known for FTP because most FTP clients run on it, hence 21 is most commonly used for FTP, however if you don't have an FTP server you can run a program on that same port and accept connections. With FTP servers also you can tell it to listen on any other port, even 25 which is for SMTP...


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#7333 06/10/04 05:34 AM
Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
Offline
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
Just read it. TCP and UDP are the transport protocols for most everything you do on the net. Do you know what level/layer the authentication starts yet?


Link Copied to Clipboard
Member Spotlight
Posts: 43
Joined: November 2002
Forum Statistics
Forums41
Topics33,840
Posts68,858
Average Daily Posts1
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Where and how do you torrent?
by danni75 - 03/01/24 05:58 AM
Animation,
by JohanKaariainen - 08/15/19 01:18 AM
Blackbeard.....
by Gremelin - 10/03/18 07:02 PM
my old account still exists!
by Crime - 08/10/18 02:47 PM
Okay WTF?
by HenryMiring - 09/27/17 01:45 AM
The History Thread...
by Gremelin - 08/11/17 12:11 PM
My friend NEEDS your HELP!
by Lena01 - 07/21/17 12:06 AM
I'm having fun with this guy.
by gabithompson730 - 07/20/17 01:50 AM
I want to upgrade my phone
by gabithompson730 - 07/20/17 01:49 AM
Doom 3
by Cyrez - 09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666 - 08/22/14 09:21 AM
AIM scene 99-03
by lavos - 09/02/13 08:06 AM
Planetside 2
by Crime - 03/04/13 07:10 AM
Beta Testers Wanted
by Crime - 03/04/13 06:55 AM
Hello Everyone
by Gremelin - 02/12/12 06:01 PM
Tracfone ESN Generator
by Zanvin Green - 01/18/12 01:31 PM
Python 3 issue
by Testing - 12/17/11 09:28 PM
tracfone airtime
by Drache86 - 07/30/11 03:37 AM
Backdoors and the Infinite
by ZeroCoolStar - 07/10/11 03:52 AM
HackThisZIne #12 Releaseed!
by Pipat2 - 04/28/11 09:20 PM
gang wars? l33t-wars?
by Gremelin - 04/28/11 05:56 AM
Consolidate Forums
by diggin2deep - 04/21/11 10:02 AM
LAN Hacking Noob
by Gremelin - 03/12/11 12:42 AM
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
unreal 1
Crime 1
Ice 1
Dartur 1
Powered by UBB.threads™ PHP Forum Software 7.7.5