Skip to content

Python 3

Spencer McIntyre edited this page May 24, 2016 · 4 revisions

Upgrading to Python 3

As the new versions of our supported operating systems are coming out shortly, Python 2 will also be phased out. Upgrading to Python 3 is a fairly simple process which can be done by running a few simple commands. But first, make sure King Phisher is up to date and Python 3 is installed. Python 3.4 is the minimum supported version for Python 3.x.

Install Python3 and it's development headers.

# for Debian / Kali / Ubuntu
sudo apt-get install python3 python3-dev
# for Fedora
sudo dnf install python3 python3-devel

Updating King Phisher

git pull origin master

Next, make sure you have all of the requirements updated by running. This assumes that all required system libraries were previously installed by the included tools/install.sh script.

python3 -m pip install requirements.txt

Then all you have to do is run

python3 ./KingPhisher

It's best to set aliases for updating the requirements as well as running King Phisher so you don't have to worry about versioning every time.