Rapid7 Vulnerability & Exploit Database

UDP Wake-On-Lan (WOL)

Back to Search

UDP Wake-On-Lan (WOL)



This module will turn on a remote machine with a network card that supports wake-on-lan (or MagicPacket). In order to use this, you must know the machine's MAC address in advance. The current default MAC address is just an example of how your input should look like. The password field is optional. If present, it should be in this hex format: 001122334455, which is translated to "0x001122334455" in binary. Note that this should be either 4 or 6 bytes long.


  • sinn3r <sinn3r@metasploit.com>


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/admin/misc/wol
msf auxiliary(wol) > show actions
msf auxiliary(wol) > set ACTION < action-name >
msf auxiliary(wol) > show options
    ...show and set options...
msf auxiliary(wol) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security