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

Support HTTPS server #18

Open
mpgn opened this issue Jun 30, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@mpgn
Copy link

commented Jun 30, 2019

As you know, you cannot load an external javascript content from an HTTP server to an HTTPS server.

https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content/How_to_fix_website_with_mixed_content

If your website delivers HTTPS pages, all active mixed content delivered via HTTP on this pages will be blocked by default.

Any plan to support HTTPS ?

@Den1al

This comment has been minimized.

Copy link
Owner

commented Jul 1, 2019

Yup, I'm currently working on that feature, I will be presenting this project at Blackhat Arsenal this summer, I hope this feature will be done by then.

@mpgn

This comment has been minimized.

Copy link
Author

commented Jul 1, 2019

On my side I manage to do it using adhoc from flask app.run(ssl_context='adhoc') on the web server https://github.com/Den1al/JSShell/blob/master/web/__init__.py#L31
Then I set the URL in the config.json to https://ip:port ;)

Of course this is self-signed certificate but it was enough for me !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.