A Java library for executing, parsing and persisting NMap output.
License
BSD LicenseFollow nmap4j
Other Useful Business Software
Auth0 for AI Agents now in GA
Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Rate This Project
Login To Rate This Project
User Reviews
-
Thanks for Nmap4j, it's the best!
-
very good project, thanks!
-
This is a useful project with good potential, but now it requires some minor fixes: 1) Spawn system process (nmap) often hungs because the consuming of Process object's output was implemented not quite correctly (buffer overflow condition occurs - that's just a Java feature[bug?] when it works with spawned external processes). Need realize the separate threads to consume output from the process output streams. 2) Windows support: wrong executable name and paths. 3) Flag processing (with special cases - e.g. when no spaces needed or '=' char is used as a separator b/w flag & its parameter[s]). I think I've fixed all of that problems and can provide a patch if you needed(want) it.
-
Nmap4j is good! Thanks.
-
Very useful API to parse into Java objects nmap's output. After the parsing, you can iterate over the NMapRun object to extract hosts, MAC-address, IP-address, services, ports, OS, and all other information caught by nmap. There are more way to use this library, the simplest one is to use the Nmap4j object with its methods and you will be able to run nmap and parse its output in 10 minutes.