Setup pyinstaller on Windows 7

These are some quick notes on how I installed pyinstaller on Windows 7.

1. Installed Python 2.7 on Windows 7:

2. Installed the Python 2.7 for Windows Extensions:

3. Installed the Microsoft C++ for Python 2.7.

4. Installed the pip-Win to easily install packages:

5. Then after pip-Win is installed a dialogue box as shown in the below picture is left open. Then you can insert in the command box: "pip install pyinstaller"

6. After the pyinstaller package is successfully installed then from the command-line you can navigate to c:]python2.7\Scripts

7. Here is where you can find the pyinstaller.exe file.  Then you can run it accompanied by any script that has been created.  Below is the screenshot of creating my python reverse shell script located in a previous post into a windows executable.  With the command-line switch of --onefile it creates a single executable with no dependencies.

8. After pyinstaller finishes, the executable will be located in the folder where the script is located under the dist folder.

9.  To test the "server_reverse_tcp.exe" I setup my Kali box to listen, then the server_reverse_tcp.exe ran flawlessly as shown in the screenshot:


Popular posts from this blog

Netflix Streaming Blocked by Sophos UTM

BSides 2016 Hackers Challenge

VBA - Script to Download a file from a URL

IoT Malware Analysis - CnC Server - Part 3

vulnhub - Pandora's Box by c0ne Level 1 - Following walkthrough by strata