1.1 KiB
1.1 KiB
Wake on LAN (WOL) CLI tool with authentication support
Description
This is a CLI tool that sends a Wake on LAN (WOL) packet to a target device. It supports authentication using a username and password.
Usage
python wol.py -m AA:BB:CC:DD:EE:FF -u admin -p secret
Arguments
-m, --mac: MAC address of the target device (format: XX:XX:XX:XX:XX:XX or XX-XX-XX-XX-XX-XX)-u, --username: Username for authentication-p, --password: Password for authentication-H, --host: Target host address (default: 255.255.255.255 for broadcast)-P, --port: Target UDP port (default: 9999)
Example
python wol.py -m AA:BB:CC:DD:EE:FF -u admin -p secret -H 192.168.1.100 -P 9999
Notes
- The tool sends a Wake on LAN packet to the target device using the UDP protocol.
- The tool supports authentication using a username and password.
- The tool supports broadcasting to the target host address.
- The tool supports specifying the target UDP port.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.