๐
Date: July 10, 2025
๐ป Host OS: Linux Mint
๐งช Guest VM: Parrot OS running in VMware
๐ Project Directory: ~/blackhat-python
๐ Python Version: 3.11.2
๐ฏ Virtual Environment: bhpython-env
๐ Environment Type: Isolated Python dev environment for cybersecurity tools
๐ง Setup Steps
- Created and activated a virtual environment named
bhpython-env. - Confirmed
pipfunctionality and installed key packages. - Saved installed package list to
requirements.txt. - Created a project directory at
~/blackhat-python. - Wrote and tested a basic network scanner script to confirm socket operations.
๐ฆ Key Python Packages Installed
requests,flask,scapy,netifacespwntools,paramiko,pyserial,cryptographycapstone,unicorn,ROPGadget,pyelftools,rpycpsutil,colored-traceback,Werkzeug,intervaltree
All packages were verified and saved for reuse using pip freeze.
๐งช First Test Script: scanner.py
This script checks whether port 22 (SSH) is open on localhost. It uses socket.connect_ex() to determine if the port is reachable and prints the result accordingly.
โ Current Status
- Environment is clean, isolated, and Python 3.11-compatible.
- All required libraries for Black Hat Python projects are installed.
- First script successfully executed and environment validated.
- Ready to begin working through Black Hat Python chapters and hands-on tools.