pupy icon indicating copy to clipboard operation
pupy copied to clipboard

Failing to create a work space with -NC flag

Open reecep55 opened this issue 5 years ago • 4 comments

On a separate VM created last week python create-workspace.py -NC -E docker pupyws could create a workspace with no issue

The following is now outputted when trying to create a workspace on a more recent installation of pupy:

python create-workspace.py -NC -E docker pupyws ... ... Step 8/12 : RUN apt-get remove -y autoconf automake libssl1.0-dev libffi-dev python-dev libtool build-essential && apt-get -y autoremove && rm -rf /root/.cache /build ---> Using cache ---> da63048fb623 Step 9/12 : ADD https://github.com/gentilkiwi/mimikatz/releases/download/2.2.0-20200519/mimikatz_trunk.zip /opt/mimikatz ADD failed: failed to GET https://github.com/gentilkiwi/mimikatz/releases/download/2.2.0-20200519/mimikatz_trunk.zip with status 404 Not Found: Not Found Traceback (most recent call last): File "create-workspace.py", line 653, in main() File "create-workspace.py", line 571, in main args.network, templates, args.squash File "create-workspace.py", line 397, in create_container_env subprocess.check_call(build_command, stderr=subprocess.STDOUT) File "/usr/lib/python2.7/subprocess.py", line 190, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['docker', u'build', u'-t', u'pupy-python2-env', u'-f', u'/home/rp/pupy/pupy/conf/Dockerfile.env', u'/home/rp/pupy/pupy']' returned non-zero exit status 1

Is create workspace failing when the GET request for mimikatz fails?

reecep55 avatar Aug 18 '20 18:08 reecep55

Looks like there was new release of mimikatz, URI was outdated and needs to be updated

alxchk avatar Aug 18 '20 18:08 alxchk

Do you know where that URL is located in the code so I can update it to the newest release? I couldn't find it in create-workspace.py or locate what's being run in that section of the installation.

reecep55 avatar Aug 18 '20 18:08 reecep55

Just pushed updated url

alxchk avatar Aug 19 '20 04:08 alxchk

Awesome, can create a workspace without -NC flag now. Thanks for updating

reecep55 avatar Aug 19 '20 18:08 reecep55