A Java library for executing, parsing and persisting NMap output.
License
BSD LicenseFollow nmap4j
Other Useful Business Software
Comprehensive Cybersecurity to Safeguard Your Organization | SOCRadar
Protect your organization from cyber threats with SOCRadar’s cutting-edge threat intelligence. Gain 360° visibility into your digital assets, monitor the dark web, and stay ahead of hackers with real-time insights. Start for free and transform your cybersecurity today.
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.