You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I own several packages on PyPI. I have set them all up with dummy packages that have pwntools as a requirement.
ctf
exploit
pwn
pwning
hack
Now pip install pwn works to get the latest pwntools:
user@ubuntu:~$ pip install pwn
Downloading/unpacking pwn
Downloading pwn-1.0.tar.gz
Running setup.py (path:/tmp/user/pip_build_user/pwn/setup.py) egg_info for package pwn
Downloading/unpacking pwntools (from pwn)
Downloading pwntools-2.1.3.tar.gz (5.5MB): 5.5MB downloaded
Running setup.py (path:/tmp/user/pip_build_user/pwntools/setup.py) egg_info for package pwntools
Requirement already satisfied (use --upgrade to upgrade): paramiko in ./.pyenv/versions/2.7.8/lib/python2.7/site-packages (from pwntools->pwn)
Requirement already satisfied (use --upgrade to upgrade): argparse in ./.pyenv/versions/2.7.8/lib/python2.7/site-packages (from pwntools->pwn)
Requirement already satisfied (use --upgrade to upgrade): mako in ./.pyenv/versions/2.7.8/lib/python2.7/site-packages (from pwntools->pwn)
Requirement already satisfied (use --upgrade to upgrade): pyelftools in ./.pyenv/versions/2.7.8/lib/python2.7/site-packages (from pwntools->pwn)
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe>=0.9.2 in ./.pyenv/versions/2.7.8/lib/python2.7/site-packages (from mako->pwntools->pwn)
Installing collected packages: pwn, pwntools
Running setup.py install for pwn
Running setup.py install for pwntools
changing mode of build/scripts-2.7/shellcraft from 664 to 775
changing mode of build/scripts-2.7/hex from 664 to 775
changing mode of build/scripts-2.7/constgrep from 664 to 775
changing mode of build/scripts-2.7/unhex from 664 to 775
changing mode of build/scripts-2.7/disasm from 664 to 775
changing mode of build/scripts-2.7/asm from 664 to 775
changing mode of build/scripts-2.7/cyclic from 664 to 775
changing mode of /home/user/.pyenv/versions/2.7.8/bin/shellcraft to 775
changing mode of /home/user/.pyenv/versions/2.7.8/bin/hex to 775
changing mode of /home/user/.pyenv/versions/2.7.8/bin/constgrep to 775
changing mode of /home/user/.pyenv/versions/2.7.8/bin/unhex to 775
changing mode of /home/user/.pyenv/versions/2.7.8/bin/disasm to 775
changing mode of /home/user/.pyenv/versions/2.7.8/bin/asm to 775
changing mode of /home/user/.pyenv/versions/2.7.8/bin/cyclic to 775
Successfully installed pwn pwntools
Cleaning up...
user@ubuntu:~$ unset PYTHONPATH
user@ubuntu:~$ python -c 'from pwn import *; print pwnlib.version.__version__'
2.1.3
Consider I am not a pwntools user, but come across a script.
If I attempt to install the
pwn
package, I get something else*.I now have something different than the latest released version of
pwntools
. The correct package onpypi
ispwntools
.How do we reconcile these?
The text was updated successfully, but these errors were encountered: