Netflix-Skunkworks / sleepy-puppy

Sleepy Puppy XSS Payload Management Framework
Apache License 2.0
1.03k stars 136 forks source link

missing ui assets #1

Closed scottleedavis closed 9 years ago

scottleedavis commented 9 years ago

When using https://github.com/Netflix/sleepy-puppy-docker , sleepy-puppy is missing assets in the UI that make it near unusable.

fails w/404's on:

adding these files (and there are many more on other pages..... mostly in the 'static/admin' location, looks like it fixes the missing static assets.

scriptsrc commented 9 years ago

Are you using boot2docker? I was having similar issues and I am not using boot2docker. Everything was working great for @sbehrens and he was using boot2docker. I don't understand how one way or another would affect the loading of static files, but I'm just curious.

scottleedavis commented 9 years ago

I am not using boot2docker, rather the latest Docker Toolbox / "docker quickstart terminal".... the requirements are for both boot2docker and docker toolbox?

been reading that the latest toolbox replaces boot2docker...

sbehrens commented 9 years ago

I noticed the same thing, I have been using boot2docker but just noticed that is being phased out by docker machine. @monkeysecurity and I will need to test with docker-machine and see if we can reproduce the issue.

sbehrens commented 9 years ago

reproduced issue using docker-machine:

mtparet commented 9 years ago

reproduced under Ubuntu (boot2docker needs to be used only on Mac OS and Windows)

scriptsrc commented 9 years ago

I haven't committed any changes yet, but it appears to be fixed if you remove the following from nginx/sites-available/sleepy_puppy

location /static {
    alias /usr/local/src/sleepy-puppy/sleepypuppy/static;
    autoindex on;
}

I'll test this a bit more and update the repo when I'm ready.

sbehrens commented 9 years ago

Resolved in latest commit.