Fix trailing whitespace in zip files
undo free bsd error handling
Initial commit, works on three OSes, but automatic mode fails.
Oops, don't cache payload_filename.
Tweak whitespace.
Whitespace tweaks and minor bug fix. Wrong payloads still run.
Update description.
Use renegerate_payload(cli, ...).
Add some debug print calls to investigate Auto platform selection.
Add DEBUG option, pass args to .encoded_exe().
Add some comments and clean some things up.
Fix whitespace issues from msftidy.
Fix broken ms12-020 vulnerability detection

The previous version of the script had an off-by-one error that prevented
proper detection of the vulnerability.  Changes made in this revision
include:

 - Correction of the off-by-one error
 - Use of match instead of == to check for valid RDP connection
 - Change of the channel requests to use IDs actually provided by
   the responses from the server
address feedback
Fix target selection probs, and swf path
Extra print_status I don't want
fix range
Fix automatic payload selection
Landing #1857 - MS12-020 off-by-one fix
First, copy-pasta and add a test