Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Juice Shop fails to be pulled down on provision #102

Closed
elreydetoda opened this issue Oct 19, 2019 · 1 comment
Closed

Juice Shop fails to be pulled down on provision #102

elreydetoda opened this issue Oct 19, 2019 · 1 comment
Assignees
Labels

Comments

@elreydetoda
Copy link
Member

On build (vagrant up the provisioning step), it appears that Juice shop is failing to get pulled down.
image

Under further investigation it looks like when the following lines get executed:

- name: Create script for finding juice shop version
copy:
dest: /tmp/juice_version.sh
content: |
#!/bin/sh
grep node10_linux_x64.tgz /tmp/juiceshop.latest | grep node10_linux_x64.tgz | grep href | cut -d '"' -f 2
mode: 0744
when: stat_juiceshop_latest.stat.exists == False

It greps out the Juice shop we want, but also grabs the md5 sum along with it. As displayed in the picture below.
image

Adding a | grep -v to the end of this line:
https://github.com/SamuraiWTF/samuraiwtf/blob/master/install/targets/juice-shop/juice-shop-tasks.yml#L17

prevents that from happening. Looks like it could have been introduced ~12 days ago.
Screenshot_2019-10-19 bkimminich juice-shop

@secureideas
Copy link
Member

Fixed in Next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants