RE: Commands for closing tcp session on a window box
From: Thomas F. Szabo (tszabo_at_diamondtech.net)
Date: 04/28/04
- Previous message: tod: "win2k3 resources."
- Maybe in reply to: Tiongster: "Commands for closing tcp session on a window box"
- Next in thread: Rivera Alonso, David: "RE: Commands for closing tcp session on a window box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 27 Apr 2004 23:58:50 -0400 To: "Tiongster" <tiongster84@yahoo.com.sg>, <security-basics@securityfocus.com>
In windows xp, you can run NETSTAT -ano to get a list of active TCP/UDP
and their associated PID. Then you can use kill/taskkill/pskill to
terminate the process behind the session. You probably want to take a
look at FPORT to make it a little easier to hunt down what applications
are using which ports. That way you can stop it from starting up in the
first place.
Tom Szabo
-----Original Message-----
From: Tiongster [mailto:tiongster84@yahoo.com.sg]
Sent: Tuesday, April 27, 2004 3:12 AM
To: security-basics@securityfocus.com
Subject: RE: Commands for closing tcp session on a window box
Sorry, the question I'm asking is quite vague without giving more
details.
Let's say, on command prompt I entered NETSTAT -A -N and it showed a
list of TCP and UDP active connections. A session was established i.e.
TCP 123.183.193.219:1038 64.12.24.151:5190 ESTABLISHED
Question, is it possible to terminate this Session on the command prompt
And what command is use to achieve it or what solutions do you suggest?
Thank you!
---------------------------------------------------------------------------
Ethical Hacking at the InfoSec Institute. Mention this ad and get $545 off
any course! All of our class sizes are guaranteed to be 10 students or less
to facilitate one-on-one interaction with one of our expert instructors.
Attend a course taught by an expert instructor with years of in-the-field
pen testing experience in our state of the art hacking lab. Master the skills
of an Ethical Hacker to better assess the security of your organization.
Visit us at:
http://www.infosecinstitute.com/courses/ethical_hacking_training.html
----------------------------------------------------------------------------
- Previous message: tod: "win2k3 resources."
- Maybe in reply to: Tiongster: "Commands for closing tcp session on a window box"
- Next in thread: Rivera Alonso, David: "RE: Commands for closing tcp session on a window box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|