Skip to content
Divya edited this page Mar 28, 2021 · 1 revision

Welcome to the python-dependency-confusion-attack wiki!

Installation Instruction

Note: Clone the repository into your tmp directory.

  1. Go to the setup.py and add your burpcolloborator or webhook or requestbin url.
  2. Also changes the version (if you uploading this file again and again make sure you change the version) in the setup.py, also make sure the name in setup.py should be unique, so search the name and check this should not be available at pypi.org
  3. Run the following command, python setup.py sdist
  4. Make sure twine is been install and if you have skip this step and if you don't have run the following below command.

pip install twine

  1. Make sure you have an account on https://pypi.org/ and if you dont have make sure create a new one.
  2. Run the following command,

twine upload dist/*

Note: After running this command this will ask for pypi.org credentials and enter your username and password and your file should be available at your pypi.org 7) install the package which you recently upload in your local computer and check your link which you added in the step 1.

Clone this wiki locally