Skip to content

A wrapper around nmap written in Kotlin.

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

christianitis/nmap4k

Repository files navigation

nmap4k: A wrapper around nmap written in Kotlin.

Copyright 2022 Christian Hollinger. See the COPYING and COPYING.LESSER files for licensing details.

Nmap4K (nmap for Kotlin) is a simple wrapper around NMap. It is written in Kotlin for the JVM, meaning it is compatible with all JVM languages (including Java). It works by analyzing the XML output created by nmap -oX and creating objects representing devices on your network from each XML element. Keep in mind that the instances are static and may not accurately represent the state of your network should things change, so you may need to re-construct them periodically to maintain their accuracy.

Example:

Nmap.scan("-p 80,443 192.168.1.0/30") Will return a map of InetAddresses to NmapHosts.

About

A wrapper around nmap written in Kotlin.

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages