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

More info about the environment #4

Closed
xerosanyam opened this issue Nov 19, 2019 · 4 comments
Closed

More info about the environment #4

xerosanyam opened this issue Nov 19, 2019 · 4 comments

Comments

@xerosanyam
Copy link

Hello. Would like to know more about the browser environment. Which browser, version.
Also, is there a way to open the inspect window?

@o0101
Copy link
Collaborator

o0101 commented Nov 19, 2019

Hey,

Do you mean as an API to get that information, or
just you want to know which browser version is used?

Version

Actually, there is not specific version, but we do use Chrome.

The browser is updated (manually) via the script (which just downloads the latest Chrome)

./zombie-lord/dlchrome.sh

This project can be configured to use another browser (anyone that supports the Chrome DevTools protocol) but the project uses the latest (Tip of Tree) protocol so any other browsers would need to support that as well.

The browser runs in headless mode.

In terms of the demo, I think the version used was the latest Chrome (78 -- something something).

Inspect Window

There is no UI way within the app to own the inspect window of a remote page, but you can
actually connect a Chrome DevTools view to the targets that are running in the headless chrome while using the application.

I don't know how to do this off the top of my head (but I like your idea!). Does anyone want to step in and relate how to connect a Chrome DevTools UI to the headless browser?

Please note, if you just run it, the headless browser by default runs on port 5002, and I know you can go

curl https://localhost:5002/json to begin to get information about the targets there.

(Obviously in the application external access to those ports is blocked and the browsers do not have access to their own (or other browsers) 5xxx ports, for security).

@o0101
Copy link
Collaborator

o0101 commented Nov 19, 2019

Hey @xerosanyam

@xerosanyam
Copy link
Author

Hi. thanks for the reply, sorry for replying late.

I think, I need to learn more about the project before I can contribute!

Closing the issue as it answers my questions :)

@o0101
Copy link
Collaborator

o0101 commented Dec 6, 2019

👍

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

No branches or pull requests

2 participants