Skip to content

mdennis281/LANscape

Repository files navigation

LANscape

A python based local network scanner.

screenshot

PyPi Stats:

Version Monthly Downloads

Latest release:

Stable Beta Alpha

Health:

pytest packaging pylint

Installation

pip install lanscape
python -m lanscape

Flags

  • --port <port number> port of the flask app (default: automagic)
  • --persistent dont shutdown server when browser tab is closed (default: false)
  • --reloader essentially flask debug mode- good for local development (default: false)
  • --logfile <path> save log output to the given file path
  • --loglevel <level> set the logger's log level (default: INFO)
  • --flask-logging turn on flask logging (default: false)

Examples:

python -m lanscape --reloader
python -m lanscape --port 5002
python -m lanscape --logfile /tmp/lanscape.log --loglevel DEBUG

Troubleshooting

MAC Address / Manufacturer is inaccurate/unknown

The program does an ARP lookup to determine the MAC address. This lookup can sometimes require admin-level permissions to retrieve accurate results. Try elevating your shell before execution.

The accuracy of the devices found is low

I use a combination of ARP, ICMP & port testing to determine if a device is online. Sometimes the scan settings can use some tuning to maximize both speed and accuracy.

Recommendations:

Something else

Feel free to submit a github issue detailing your experience.

About

A python based local network scanner

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •