mablanco / docker-osmedeus

Docker image for Osmedeus, a fully automated offensive security tool for reconnaissance and vulnerability scanning
GNU General Public License v3.0
100 stars 22 forks source link

5000 does not listen #3

Closed AI0TSec closed 5 years ago

AI0TSec commented 5 years ago

I follow the steps to enterdocker run -d --net host --name osmedeus mablanco/osmedeus, but port 5000 does not listen image image image I AM SO SAD.PLEASE HELP.thanks

mohammed-sec2010 commented 5 years ago

also, the port is not working in google cloud Screenshot from 2019-06-16 18-17-36

AI0TSec commented 5 years ago

also, the port is not working in google cloud Screenshot from 2019-06-16 18-17-36

Starting the Docker, I found that the 5000 port is not being monitored. It has nothing to do with Google Cloud? How can I solve this?

mablanco commented 5 years ago

Hi. When you use the --net host parameter (host network mode), the Docker service directly exposes the container ports and therefore publishing them is not needed. That's why port 5000 doesn't appear in docker ps output. It doesn't mean that the port is not being exposed. You can check what ports are open using command netstat -plunt.

Your issue has nothing to do with Docker. It may be related to your local firewall, so check your rules (depends on your distro).

Best regards.

Hax0rG1rl commented 5 years ago

@mablanco

Hi,

I have pulled out the docker image. Scans seem to work okay, port 5000 is listening but no http connection is allowed.

image

Any ideas?

Thanks!

mablanco commented 5 years ago

Hi. As I said previously, check if your local firewall rules block incoming connections to port 5000. It would be helpful if you could get the logs from the container and see what exactly is provoking the connection reset.

Hax0rG1rl commented 5 years ago

Okay, so the trick is simple: https://127.0.0.1:5000 instead of http://127.0.0.1:5000. Thanks anyway.

mablanco commented 5 years ago

Oh yes, you're right, didn't notice you were using plain HTTP. I'll update the README to reflect this. Thx!