hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Full Version: Remote Service Name
nipagini
I want to code an app (in c) which gets the service name of a service running on a specific port.
For example you have an ip and a port, and you want to know which service runs on that port.

Anyone has an idea how to code such an app?

thx
BeNiNuK
there is a program called fport that does that i have attached it
nipagini
fport just gives you the prozesses running on a specific port, and you have to execute it local.

I don't know if it's possible, but i want to get the servicename withouth having access to the remote server. For example if I know port xxx is open, then i want to know which service or which program runs on this port without having access to the remote server.
aapje
you could try SuperScan. Scans the ports that are open and gives the first lines of reaction from the pc on these ports
psykotikpenguin
I'm not positive, but you might be able to do this with fport and services.exe. Using services.exe, you could output all of the services running on a system to a file, then use the "services.exe [servicename] config" option with the services list to get a new list of the process names and corresponding service names. Then it might be possible to compare this list with the output of fport to see if you can find a match for the process in the service name list. You may be able to do this in a batch file, but i'm not positive.

Keep me updated on how this goes.
Feuerstein
fport is well known, but anyone got sourcecode ?
h3llraz0r
opports from holy father is part of hdef rootkit and is open source and a smaller file than fport

htxxp://hxdef.czweb.org/tools/OpPorts12.zip
marcoz
another one is NZPorts but i dunno the url soz sad.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.