How do you compile Masscan on Windows using VS2012?

To compile Masscan on Windows with VS2012, you need to add VS2012 configuration information in `misc/string_s.h` to fix compilation errors. After successful compilation, you must copy `Packet.dll` and `Wpcap.dll` (from a system with WinPcap installed) to the same directory as `masscan.exe`. However, the target system still requires WinPcap to be installed for scanning to work. For more details, see the original article: [Penetration Techniques - Running Masscan and Nmap on Windows Platform](/news/penetration-techniques-running-masscan-and-nmap-on-windows-platform).