rapid7/metasploit-framework — pull request #3411 by zeroSteiner (2014-05-30 21:02:55+00:00)
Title: Python Meterpreter Support For Python Versions 3.3/3.4

## Summary
This adds support to the Python Meterpreter for Python versions 3.3 and 3.4.

Older versions of Python (3.1/3.2) do not work with the current stagers due to the ```base64.b64decode``` function not tolerating a string type argument like the newer versions will. Ideally systems with Python 3.1 and 3.2 installed will still be using a Python 2.x version by default.

The post/test/meterpreter, post/test/file and post/test/registry checks should all pass on all tested versions unless otherwise noted below.

Tested Python Versions:
- Linux 2.4 (getting ip addresses will fail due to a lack of ctypes)
- Linux 2.7
- Linux 3.3
- Linux 3.4
- OSX 2.7
- OSX 3.4 (Missing SystemConfiguration by default, getting ip addresses will fail)
- Windows XP 2.5
- Windows XP 2.7
- Windows 7 2.7
- Windows 7 3.4

## PR Verification Steps
- [ ] Test Meterpreter with Python 3.3/3.4
- [ ] Test on Linux
- [ ] Test on OSX
- [ ] Test on Windows
- [ ] Ensure Meterpreter still functions and checks pass with Python 2.5+