A Java library for executing, parsing and persisting NMap output.
License
BSD LicenseFollow nmap4j
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
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.