Coder Social home page Coder Social logo

Comments (7)

assendk avatar assendk commented on June 25, 2024 1

It works now!
Thanks for your time and thanks for the great tool. I obviously lack Dockers' knowledge.
It is tested with the latest version (v3.0.1).
Local run of ousamabenyounes/yellowlabtools, local docker compose WordPress env + local host/virtual domain:port.

from yellowlabtools.

gmetais avatar gmetais commented on June 25, 2024

What happens if you run curl http://mysite.local:90/ ?

from yellowlabtools.

assendk avatar assendk commented on June 25, 2024

The full page is rendered

adk-A5:~$ curl http://cort****.local:90
<!DOCTYPE html>
<html lang="en-GB" class="no-js scheme_dark">
<head>
...

from yellowlabtools.

gmetais avatar gmetais commented on June 25, 2024

Ok, that's a bit strange. YLT is supposed to handle this just the way curl does. I've tried to reproduce with an http website hosted on my machine with a host and it works fine. The only difference is my test website is not hosted in a docker container, but it should be fine.

from yellowlabtools.

kevinfarrugia avatar kevinfarrugia commented on June 25, 2024

@assendk How are you running YLT? Are you running a local instance?

from yellowlabtools.

assendk avatar assendk commented on June 25, 2024

@assendk How are you running YLT? Are you running a local instance?
Yes local instance by using the presented command
docker run --privileged -p 8383:8383 ousamabenyounes/yellowlabtools
I think that the problem is in my WordPress docker/yaml and the internal port mapping because there is no problem with scanning external sites. I can share the yaml if someone is interested

from yellowlabtools.

kevinfarrugia avatar kevinfarrugia commented on June 25, 2024

The Docker image running YLT does not have access to your host network by default. Try running it with the --network=host argument.

- docker run --privileged -p 8383:8383 ousamabenyounes/yellowlabtools 
+ docker run --network host --privileged -p 8383:8383 ousamabenyounes/yellowlabtools 

We also published a new version of the Docker image yesterday, so I suggest pulling the latest version (v3.0.1):

docker pull ousamabenyounes/yellowlabtools

Let me know if that works for you.

from yellowlabtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.