mdnsscan

command module
v0.0.0-...-e9e1234 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2023 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

mdnsscan

usage

here's how you use mdnsscan:

mdnsscan

it will start looking for mdns service entries and scanning the ports of the devices found. mdnsscan will attempt to identify the service associated with each open port.

note: the current version of the application will scan ports 1 through 65536 on each device found. it may take a while depending on the number of devices and their response times.

example output

here is an example output from mdnsscan:

found entry:
name:  test device
host:  test-device.local
addrv4:  192.168.1.10
addrv6:  ::1
port:  5000
info:  map[device:test device]
-------------------
scanning ports...
scanning port 1/65536...
scanning port 2/65536...
...
scanning port 22/65536...
port 22 is open
service message: ssh-2.0-openssh_7.9
port 22 is likely associated with ssh
...
scanning port 80/65536...
port 80 is open
service message: http/1.1 200 ok
port 80 is likely associated with http
got http response from http://192.168.1.10:80: 200 ok
beginning of response body from http://192.168.1.10:80: <!doctype html>...
...
scanning port 65536/65536...
total devices: 1
total open ports: 2
service ssh found 1 times
service http found 1 times

in this example, mdnsscan found a single device with two open ports: 22 and 80.

license

MIT License 2023 donuts-are-good, for more info see license.md

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址