I want to develope a new tool like Nmap written in c++ and can be easily downloaded from wwwdotinsecuredotorg. Can any one knows how do i start. I know how to detect ports but how to map them with services.
shaikh_mshariq 2 Junior Poster in Training
Recommended Answers
Jump to PostMost such tools (maybe all) simply have a list of ports and the services they typically belong to.
For example port 80 is standardised for http, port 25 for smtp, 21 for ftp, and so on.Others may try to determine what's running on a port by sending some …
Jump to PostSome services will send version information when requested. This should allow one to determine the OS running on different machines. For instance RFC 2616 for HTTP describes the server response header
The Server response-header field contains information about the software used by the origin server to handle the request. The …
Jump to Postyes, but such information is not specified in any specific format.
It's usually a free format string of some length.
There's also no guarantee that the software sending the information is telling you the truth.
I've made use of that myself to trick firewalls to let information pass by making …
Jump to Postno, the header field is FREE FORMAT.
It MAY contain that information but there's no requirement.And that's only for http, for other protocols there is no such information AT ALL.
Jump to PostSince you obviously have no clue about what you're trying to accomplish using JNI (which you apparently also have no clue about how to use) to call a program written in C or C++ (which you apparently don't know) isn't going to solve anything.
All 23 Replies
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
shaikh_mshariq 2 Junior Poster in Training
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
shaikh_mshariq 2 Junior Poster in Training
jwenting 1,905 duckman Team Colleague
shaikh_mshariq 2 Junior Poster in Training
PoovenM 30 Junior Poster
shaikh_mshariq 2 Junior Poster in Training
Paul.Esson 53 Junior Poster
PoovenM 30 Junior Poster
Paul.Esson 53 Junior Poster
PoovenM commented: Very impressive! +2
jwenting 1,905 duckman Team Colleague
shaikh_mshariq 2 Junior Poster in Training
jwenting 1,905 duckman Team Colleague
shaikh_mshariq 2 Junior Poster in Training
shaikh_mshariq 2 Junior Poster in Training
jwenting 1,905 duckman Team Colleague
shaikh_mshariq 2 Junior Poster in Training
shaikh_mshariq 2 Junior Poster in Training
masijade 1,351 Industrious Poster Team Colleague Featured Poster
shaikh_mshariq 2 Junior Poster in Training
shaikh_mshariq 2 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.