Please note that client.py
and server.py
reverse shell implementation I took from free chapter of the Ethical Hacking with Python book.
Download any package from mocked PyPi server, unpack, replace setup.py
with content of client.py
, rename folder and increment dependency version. Archive it back and upload to server.
twine upload --repository-url http:// dist/*
PS. You can run client.py
and server.py
locally to get an idea. By default client.py
mapped to localhost.