A Java library for executing, parsing and persisting NMap output.
License
BSD LicenseFollow nmap4j
You Might Also Like
Red Hat Ansible Automation Platform on Microsoft Azure
Deploy Red Hat Ansible Automation Platform on Microsoft Azure for a strategic automation solution that allows you to orchestrate, govern and operationalize your Azure environment.
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.