Introduction
This project is a simple windows port scanner which can be very useful for checking your machine to make sure it is locked down! I am not responsible for misuse of this application so by building it you assume responsibility for its use!
The application creates threads which attempt to connect to the supplied ip address and using the range of port numbers supplied. In this approach the effects of connection timeouts is minimized and the application can process a range of port numbers in a relatively short amount of time.
Screen Shot
Enjoy!
| You must Sign In to use this message board. |
|
| | Msgs 1 to 12 of 12 (Total in Forum: 12) (Refresh) | FirstPrevNext |
|
 |
|
 |
Hi!
Is there any provision that detects remote IP when the remote computer tries to connect to host computer? In other words, I want to know how to code that detects remote computer that tries to open any port on my PC. Provide some idea or code.
Thank you. Abhay
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I don't find include afxwin.h, afxext.h, afxdisp.h, afxdtctl.h, afxcmn.h, afxsock.h !Please help me!!!
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
I've recreated the program "A simple windows port scanner" hopefully for the better.
http://www.codeproject.com/useritems/pcscan2.asp
--ice911 (just small improvements to a good program)
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
the loopback address doesn't seem to work on your port scanner. I'll look around and see what i can find to fix it.
tip - instead of saying "connection accepted" for connections that are open maybe you should say "port is open" or "port is listening".
--ice911 (it is not bad though, i was going to do something like this)
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
It works just use 127.0.0.1 Not all TCP services will listen on the loopback address! I used "Connection accepted" because that is what pscan is doing. I use CSocket::connect() to test the port. If the connection is accepted then the port is "open".
Starting scan 127.0.0.1:135 Connection accepted Finished scan
Rod
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
its just not working for me. I probably have some kind of program up that is stoping it from working correctly. Or can you even scan the loopback? I don't know.
--ice911
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
The end result looks pretty, but I think the article was skimped over a tad. Perhaps this is the first draft?
The code is all very well, but explaining the structure, problems faced and overcome would add alot to this article, and could potentially aid other developers more then the actual code!
I'll reserve voting on it until I see if this article is going to be finished.
Cheers,
Paul
/********************************** Paul Evans, Dorset, UK. Personal Homepage "EnjoySoftware" @ http://www.enjoysoftware.co.uk/ **********************************/
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
 |
http://www.codeproject.com/useritems/DfsmvPorty.asp now thats what we call an article. Rod please take note.
Neville Franks, Author of ED for Windows. Free Trial at www.getsoft.com
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
General
News
Question
Answer
Joke
Rant
Admin